Class EJBQLASTFactory


  • public class EJBQLASTFactory
    extends antlr.ASTFactory
    Factory to create and connect EJBQLAST nodes.
    Author:
    Michael Bouschen
    • Field Summary

      • Fields inherited from class antlr.ASTFactory

        theASTNodeType, theASTNodeTypeClass, tokenTypeToASTClassMap
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected EJBQLASTFactory()
      Constructor.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      antlr.collections.AST create()
      Overwrites superclass method to create the correct AST instance.
      antlr.collections.AST create​(antlr.collections.AST tr)
      Overwrites superclass method to create the correct AST instance.
      EJBQLAST create​(EJBQLAST tr)
      Creates a clone of the specified EJBQLAST instance.
      static EJBQLASTFactory getInstance()
      Get an instance of EJBQLASTFactory.
      • 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
    • Constructor Detail

      • EJBQLASTFactory

        protected EJBQLASTFactory()
        Constructor. EJBQLASTFactory is a singleton, please use getInstance() to get the factory instance.
    • Method Detail

      • getInstance

        public static EJBQLASTFactory getInstance()
        Get an instance of EJBQLASTFactory.
        Returns:
        an instance of EJBQLASTFactory
      • create

        public antlr.collections.AST create()
        Overwrites superclass method to create the correct AST instance.
        Overrides:
        create in class antlr.ASTFactory
      • create

        public antlr.collections.AST create​(antlr.collections.AST tr)
        Overwrites superclass method to create the correct AST instance.
        Overrides:
        create in class antlr.ASTFactory
      • create

        public EJBQLAST create​(EJBQLAST tr)
        Creates a clone of the specified EJBQLAST instance.