Top Description Fields Constructors Methods
org.hibernate.hql.internal.ast

public Class HqlASTFactory

extends ASTFactory
Class Inheritance
Imports
org.hibernate.hql.internal.ast.tree.Node, antlr.ASTFactory

User: Joshua Davis
Date: Sep 23, 2005
Time: 12:30:01 PM

Field Summary

Inherited from antlr.ASTFactory:
theASTNodeTypetheASTNodeTypeClasstokenTypeToASTClassMap

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Class<T>

Returns:

Class - The AST node class to instantiate.
getASTNodeType
(int
The token type.
tokenType
)

Overrides antlr.ASTFactory.getASTNodeType.

Returns the class for a given token type (a.k.a. AST node type).
Inherited from antlr.ASTFactory:
addASTChildcreatecreatecreatecreatecreatecreatecreatecreatecreatecreateUsingCtordupdupListdupTreeerrorgetTokenTypeToASTClassMapmakemakemakeASTRootsetASTNodeClasssetASTNodeClasssetASTNodeTypesetTokenTypeASTNodeTypesetTokenTypeToASTClassMap

Constructor Detail

HqlASTFactoryback to summary
public HqlASTFactory()

Method Detail

getASTNodeTypeback to summary
public Class<T> getASTNodeType(int tokenType)

Overrides antlr.ASTFactory.getASTNodeType.

Returns the class for a given token type (a.k.a. AST node type).

Parameters
tokenType:int

The token type.

Returns:Class<T>

Class - The AST node class to instantiate.