com.ph.pr.apps.jaspcleaner
Class TNodeFactory

java.lang.Object
  extended by antlr.ASTFactory
      extended by com.ph.pr.apps.jaspcleaner.TNodeFactory

public class TNodeFactory
extends antlr.ASTFactory

This class extends ASTFactory to build instances of class TNode

Author:
Phil Schwarz

Field Summary
 
Fields inherited from class antlr.ASTFactory
theASTNodeType, theASTNodeTypeClass, tokenTypeToASTClassMap
 
Constructor Summary
TNodeFactory()
           
 
Method Summary
 antlr.collections.AST create()
          Create a new ampty AST node
 antlr.collections.AST create(antlr.collections.AST ast)
          Create a new AST node from an existing AST node
 antlr.collections.AST create(int ttype, java.lang.String text)
          Create a new AST node from type and text
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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,
                                    java.lang.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