|
Jalopy 1.0b10 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.hunsicker.antlr.ASTFactory | +--de.hunsicker.jalopy.language.NodeFactory
Central facility to create extended nodes.
Field Summary | |
protected static java.lang.String |
EMPTY_STRING
The empty string constant. |
Fields inherited from class de.hunsicker.antlr.ASTFactory |
theASTNodeType, theASTNodeTypeClass |
Constructor Summary | |
NodeFactory()
Creates a new NodeFactory object. |
Method Summary | |
de.hunsicker.antlr.collections.AST |
create()
Creates a new empty Node node. |
de.hunsicker.antlr.collections.AST |
create(de.hunsicker.antlr.collections.AST node)
Creates a new empty Node node. |
de.hunsicker.antlr.collections.AST |
create(int type)
Creates a new empty Node node. |
de.hunsicker.antlr.collections.AST |
create(int type,
java.lang.String text)
Creates a new empty Node node. |
de.hunsicker.antlr.collections.AST |
create(de.hunsicker.antlr.Token tok)
Creates a new empty Node node. |
Methods inherited from class de.hunsicker.antlr.ASTFactory |
addASTChild, dup, dupList, dupTree, error, make, make, makeASTRoot, setASTNodeType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final java.lang.String EMPTY_STRING
Constructor Detail |
public NodeFactory()
Method Detail |
public de.hunsicker.antlr.collections.AST create()
create
in class de.hunsicker.antlr.ASTFactory
public de.hunsicker.antlr.collections.AST create(int type)
create
in class de.hunsicker.antlr.ASTFactory
type
- information to setup the node with.
public de.hunsicker.antlr.collections.AST create(int type, java.lang.String text)
create
in class de.hunsicker.antlr.ASTFactory
type
- type information to setup the node with.text
- text to setup the node with.
public de.hunsicker.antlr.collections.AST create(de.hunsicker.antlr.collections.AST node)
create
in class de.hunsicker.antlr.ASTFactory
node
- node to setup the new node with.
public de.hunsicker.antlr.collections.AST create(de.hunsicker.antlr.Token tok)
create
in class de.hunsicker.antlr.ASTFactory
tok
- token to setup the new node with.
|
Jalopy 1.0b10 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |