mbeckerle commented on a change in pull request #645:
URL: https://github.com/apache/daffodil/pull/645#discussion_r717892744
##########
File path:
daffodil-runtime1/src/main/scala/org/apache/daffodil/processors/unparsers/UState.scala
##########
@@ -74,6 +76,21 @@ abstract class UState(
extends ParseOrUnparseState(vbox, diagnosticsArg, dataProcArg, tunable)
with Cursor[InfosetAccessor] with ThrowsSDE with SavesErrorsAndWarnings {
+ final override def setVariable(vrd: VariableRuntimeData, newValue:
DataValuePrimitive, referringContext: ThrowsSDE) =
+ vbox.vmap.setVariable(vrd, newValue, referringContext, this)
Review comment:
Missed a spot.
SetVariableSuspendableExpression is directly using the variableMap.
I am going to make the variableMap private in PState/UState, but let the
debugger grab it via a variableMapForDebugger method but everything else will
have to access it only via the PState/UState methods.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]