Closed furesoft closed 5 years ago
how xan i implement the visitor pattern on your loyc tree?
Make a class derived from LNodeVisitor and then call n.Call(visitor) on an instance of that class, where n is an LNode.
LNodeVisitor
n.Call(visitor)
n
LNode
how xan i implement the visitor pattern on your loyc tree?