| Modifier and Type | Field and Description |
|---|---|
| private HqlSqlWalker |
| Access | Constructor and Description |
|---|---|
| public | SqlASTFactory(HqlSqlWalker walker)
Create factory with a specific mapping from token type to Java AST node type. |
| Modifier and Type | Method and Description |
|---|---|
| protected AST | Returns: The instantiated and initialized node.The class to instantiate. c)Overrides antlr. |
| protected AST | |
| public Class | Returns: Class - The AST node class to instantiate.The token type. tokenType)Overrides antlr. |
| private void |
| walker | back to summary |
|---|---|
| private HqlSqlWalker walker | |
| SqlASTFactory | back to summary |
|---|---|
| public SqlASTFactory(HqlSqlWalker walker) 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. | |
| create | back to summary |
|---|---|
| protected AST create(Class<T> c) Overrides antlr. Actually instantiate the AST node. | |
| createUsingCtor | back to summary |
|---|---|
| protected AST createUsingCtor(Token token, String className) Overrides antlr. | |
| getASTNodeType | back to summary |
|---|---|
| public Class Overrides antlr. Returns the class for a given token type (a.k.a. AST node type).
| |
| initializeSqlNode | back to summary |
|---|---|
| private void initializeSqlNode(AST t) | |