stevedlawrence commented on a change in pull request #262: Unordered sequences
URL: https://github.com/apache/incubator-daffodil/pull/262#discussion_r318168845
 
 

 ##########
 File path: 
daffodil-runtime1/src/main/scala/org/apache/daffodil/processors/parsers/SeparatedSequenceParsers.scala
 ##########
 @@ -123,3 +123,14 @@ final class OrderedSeparatedSequenceParser(
 
   override lazy val childProcessors = (sep +: 
childrenArg.asInstanceOf[Seq[Parser]]).toVector
 }
+
+final class UnorderedSeparatedSequenceParser(
+  rd: SequenceRuntimeData,
+  spos: SeparatorPosition,
+  sep: Parser,
+  choiceParser: ChoiceParser,
+  childrenArg: Vector[Parser])
+  extends UnorderedSequenceParserBase(rd, choiceParser, childrenArg) {
+
+  override lazy val childProcessors = (sep +: 
childrenArg.asInstanceOf[Seq[Parser]]).toVector
 
 Review comment:
   Does this also need to include the choiceParser?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to