org.apache.jdo.impl.jdoql.jdoqlc
Class JDOQLASTFactory

java.lang.Object
  extended byantlr.ASTFactory
      extended byorg.apache.jdo.impl.jdoql.jdoqlc.JDOQLASTFactory

public class JDOQLASTFactory
extends antlr.ASTFactory

Factory to create and connect JDOQLAST nodes.

Author:
Michael Bouschen

Field Summary
private static JDOQLASTFactory factory
          The singleton JDOQLASTFactory instance.
private static I18NHelper msg
          I18N support.
 
Fields inherited from class antlr.ASTFactory
theASTNodeType, theASTNodeTypeClass, tokenTypeToASTClassMap
 
Constructor Summary
protected JDOQLASTFactory()
           
 
Method Summary
 antlr.collections.AST create()
           
 antlr.collections.AST create(antlr.collections.AST tr)
           
 JDOQLAST create(JDOQLAST tr)
           
static JDOQLASTFactory getInstance()
          Get an instance of JDOQLASTFactory.
 
Methods inherited from class antlr.ASTFactory
addASTChild, create, 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
 

Field Detail

factory

private static JDOQLASTFactory factory
The singleton JDOQLASTFactory instance.


msg

private static final I18NHelper msg
I18N support.

Constructor Detail

JDOQLASTFactory

protected JDOQLASTFactory()
Method Detail

getInstance

public static JDOQLASTFactory getInstance()
Get an instance of JDOQLASTFactory.

Returns:
an instance of JDOQLASTFactory

create

public antlr.collections.AST create()

create

public antlr.collections.AST create(antlr.collections.AST tr)

create

public JDOQLAST create(JDOQLAST tr)