Class SyntaxTreeWalker<TagT extends java.lang.Enum<TagT>>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void start()
      Starts traversal (depth-first exploration).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SyntaxTreeWalker

        public SyntaxTreeWalker​(SyntaxNode<TagT> root,
                                SyntaxNodeVisitor<TagT> visitor)
        Constructs a tree walker.
        Parameters:
        root - the root of the tree to be traversed.
        visitor - the user-defined visitor of tree nodes.
    • Method Detail

      • start

        public final void start()
        Starts traversal (depth-first exploration).