java.lang.Object | ||
↳ | ASTFactory | |
↳ | org.hibernate.hql.ast.SqlASTFactory |
Custom AST factory the intermediate tree that causes ANTLR to create specialized AST nodes, given the AST node type (from HqlSqlTokenTypes). HqlSqlWalker registers this factory with itself when it is initialized.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create factory with a specific mapping from token type
to Java AST node type.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the class for a given token type (a.k.a.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Actually instantiate the AST node.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create factory with a specific mapping from token type to Java AST node type. Your subclasses of ASTFactory can override and reuse the map stuff.
Returns the class for a given token type (a.k.a. AST node type).
tokenType | The token type. |
---|
Actually instantiate the AST node.
c | The class to instantiate. |
---|