Jalopy 1.5b1

de.hunsicker.jalopy.language
Class NodeFactory

java.lang.Object
  extended by antlr.ASTFactory
      extended by de.hunsicker.jalopy.language.NodeFactory

public class NodeFactory
extends antlr.ASTFactory

Central facility to create extended nodes.

Version:
$Revision: 1.2.2.1 $
Author:
Marco Hunsicker

Field Summary
protected static java.lang.String EMPTY_STRING
          The empty string constant.
 
Fields inherited from class antlr.ASTFactory
theASTNodeType, theASTNodeTypeClass, tokenTypeToASTClassMap
 
Constructor Summary
NodeFactory()
          Creates a new NodeFactory object.
 
Method Summary
 antlr.collections.AST create()
          Creates a new empty Node node.
 antlr.collections.AST create(antlr.collections.AST node)
          Creates a new empty Node node.
 antlr.collections.AST create(int type)
          Creates a new empty Node node.
 antlr.collections.AST create(int type, java.lang.String text)
          Creates a new empty Node node.
 antlr.collections.AST create(antlr.Token tok)
          Creates a new empty Node node.
 
Methods inherited from class antlr.ASTFactory
addASTChild, 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
 

Field Detail

EMPTY_STRING

protected static final java.lang.String EMPTY_STRING
The empty string constant.

Constructor Detail

NodeFactory

public NodeFactory()
Creates a new NodeFactory object.

Method Detail

create

public antlr.collections.AST create()
Creates a new empty Node node.

Overrides:
create in class antlr.ASTFactory
Returns:
newly created Node.

create

public antlr.collections.AST create(int type)
Creates a new empty Node node.

Overrides:
create in class antlr.ASTFactory
Parameters:
type - information to setup the node with.
Returns:
newly created Node.

create

public antlr.collections.AST create(int type,
                                    java.lang.String text)
Creates a new empty Node node.

Overrides:
create in class antlr.ASTFactory
Parameters:
type - type information to setup the node with.
text - text to setup the node with.
Returns:
newly created Node.

create

public antlr.collections.AST create(antlr.collections.AST node)
Creates a new empty Node node.

Overrides:
create in class antlr.ASTFactory
Parameters:
node - node to setup the new node with.
Returns:
newly created Node.

create

public antlr.collections.AST create(antlr.Token tok)
Creates a new empty Node node.

Overrides:
create in class antlr.ASTFactory
Parameters:
tok - token to setup the new node with.
Returns:
newly created Node.

Jalopy 1.5b1

Submit a bug or feature.

For further information and documentation, visit the official Jalopy website.
This page generated: September 3 2011