Node.Accept method

Walks through all descendant nodes(including the current node) and call the visitor with the node. Visitor can break the walk-through by returning false

public bool Accept(NodeVisitor visitor)
Parameter Type Description
visitor NodeVisitor Visitor callback to visit the node

Return Value

true means visitor has broke the walk through.

See Also