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

 ##########
 File path: 
daffodil-core/src/main/scala/org/apache/daffodil/grammar/AlignedMixin.scala
 ##########
 @@ -47,12 +47,14 @@ case class LengthMultipleOf(nBits: Long) extends 
LengthApprox
 
 trait AlignedMixin extends GrammarMixin { self: Term =>
 
+  val isInUnorderedSequence: Boolean = nearestEnclosingSequence.isDefined && 
!nearestEnclosingSequence.get.isOrdered
+
 
 Review comment:
   Will do, kind of surprised I didn't already have duplicate calls for 
something like this.

----------------------------------------------------------------
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