Class TNodeFactory


  • public class TNodeFactory
    extends ASTFactory
    This class extends ASTFactory to build instances of class TNode
    • Constructor Detail

      • TNodeFactory

        public TNodeFactory()
    • Method Detail

      • create

        public AST create()
        Create a new ampty AST node
      • create

        public AST create​(int ttype,
                          String text)
        Create a new AST node from type and text
      • create

        public AST create​(AST ast)
        Create a new AST node from an existing AST node