Class TNodeFactory


  • public class TNodeFactory
    extends antlr.ASTFactory
    This class extends ASTFactory to build instances of class TNode
    • Field Summary

      • Fields inherited from class antlr.ASTFactory

        theASTNodeType, theASTNodeTypeClass, tokenTypeToASTClassMap
    • Constructor Summary

      Constructors 
      Constructor Description
      TNodeFactory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      antlr.collections.AST create()
      Create a new ampty AST node
      antlr.collections.AST create​(int ttype, String text)
      Create a new AST node from type and text
      antlr.collections.AST create​(antlr.collections.AST ast)
      Create a new AST node from an existing AST node
      • Methods inherited from class antlr.ASTFactory

        addASTChild, create, create, create, create, create, create, createUsingCtor, dup, dupList, dupTree, error, getASTNodeType, getTokenTypeToASTClassMap, make, make, makeASTRoot, setASTNodeClass, setASTNodeClass, setASTNodeType, setTokenTypeASTNodeType, setTokenTypeToASTClassMap
    • Constructor Detail

      • TNodeFactory

        public TNodeFactory()
    • Method Detail

      • create

        public antlr.collections.AST create()
        Create a new ampty AST node
        Overrides:
        create in class antlr.ASTFactory
      • create

        public antlr.collections.AST create​(int ttype,
                                            String text)
        Create a new AST node from type and text
        Overrides:
        create in class antlr.ASTFactory
      • create

        public antlr.collections.AST create​(antlr.collections.AST ast)
        Create a new AST node from an existing AST node
        Overrides:
        create in class antlr.ASTFactory