Click or drag to resize

TreeWizardVisit Method

Overload List
  NameDescription
Public methodVisit(Object, Int32, TreeWizardIContextVisitor)
Visit every ttype node in t, invoking the visitor. This is a quicker version of the general visit(t, pattern) method. The labels arg of the visitor action method is never set (it's null) since using a token type rather than a pattern doesn't let us set a label.
Public methodVisit(Object, Int32, ActionObject)
Public methodVisit(Object, String, TreeWizardIContextVisitor)
For all subtrees that match the pattern, execute the visit action. The implementation uses the root node of the pattern in combination with visit(t, ttype, visitor) so nil-rooted patterns are not allowed. Patterns with wildcard roots are also not allowed.
Top
See Also