stevedlawrence commented on code in PR #1676:
URL: https://github.com/apache/daffodil/pull/1676#discussion_r3325462289
##########
daffodil-core/src/main/scala/org/apache/daffodil/runtime1/infoset/InfosetImpl.scala:
##########
@@ -193,6 +196,24 @@ sealed trait DINode {
* Array or Complex exception.
*/
def requireFinal(): Unit
+
+ def walk(outputter: api.infoset.InfosetOutputter): Unit
Review Comment:
Can we add a comment that documents that this is an alternative to using the
InfosetWalker and that the two are not compatible. A single parse must either
call InfosetWalker.walk or DINode.walk, but never combined since the two
methods are incompatible.
--
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]