Class FlatNodeListTraversal

  • All Implemented Interfaces:
    AntlrASTProcessor

    public class FlatNodeListTraversal
    extends TraversalHelper
    A simple iterator over an ordered (flat) List of the nodes of the AST.
    • Constructor Detail

      • FlatNodeListTraversal

        public FlatNodeListTraversal​(Visitor visitor)
    • Method Detail

      • process

        public antlr.collections.AST process​(antlr.collections.AST t)
        Description copied from interface: AntlrASTProcessor
        performs some processing on the supplied AST node.
        Specified by:
        process in interface AntlrASTProcessor
        Overrides:
        process in class TraversalHelper
        Parameters:
        t - the AST node to process.
        Returns:
        possibly returns the AST modified or null, depends on the implementation.