mbeckerle commented on a change in pull request #207: Added support for 
enumerations and TypeValueCalc
URL: https://github.com/apache/incubator-daffodil/pull/207#discussion_r275129376
 
 

 ##########
 File path: 
daffodil-runtime1/src/main/scala/org/apache/daffodil/dpath/DState.scala
 ##########
 @@ -95,13 +95,24 @@ case object UnparserNonBlocking extends EvalMode
  * if used in a forward referencing expression the expression can block until 
the information
  * becomes available.
  */
-case class DState() {
+case class DState(val maybeSsrd:Maybe[SchemaSetRuntimeData]) {
   import org.apache.daffodil.util.Numbers._
 
   var isCompile = false
 
   var opIndex: Int = 0
 
+  /*
+   * Used by TypeValueCalc to pass the logical or representation value to the 
DPath runtime.
+   * In principle, TypeValueCalc can be used recursivly, so these data 
structures are realy a stack.
 
 Review comment:
   spelling: recursively, really

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