| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | log
A logger for this class. |
| private ParseErrorHandler | |
| private ASTPrinter | |
| private final boolean | |
| private int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private AST | |
| private AST | |
| private static ASTPrinter | |
| public static HqlParser | |
| public ParseErrorHandler | |
| public void | handleDotIdent()
Overrides org. |
| public AST | Returns: AST - The new AST.The token. token, RecognitionException The recognition exception. ex)Overrides org. |
| private void | |
| public AST | Returns: AST - The equivalent sub-tree.The sub tree to transform, the parent is assumed to be NOT. x)Overrides org. (NOT (GT a b) ) => (LE a b) |
| public static void | |
| public AST | Returns: AST - The clean sub-tree.The equality expression. x)Overrides org. |
| private AST | |
| public void | processMemberOf(Token n, AST p, ASTPair currentAST)
Overrides org. |
| public void | reportError(RecognitionException e)
Overrides antlr. |
| public void | reportError(String s)
Overrides antlr. |
| public void | reportWarning(String s)
Overrides antlr. |
| public void | |
| private void | |
| public void | |
| public void | |
| public void |
| log | back to summary |
|---|---|
| private static final Logger log A logger for this class. | |
| parseErrorHandler | back to summary |
|---|---|
| private ParseErrorHandler parseErrorHandler | |
| printer | back to summary |
|---|---|
| private ASTPrinter printer | |
| trace | back to summary |
|---|---|
| private final boolean trace | |
| traceDepth | back to summary |
|---|---|
| private int traceDepth Hides antlr. | |
| HqlParser | back to summary |
|---|---|
| private HqlParser(TokenStream lexer) | |
| createIsNullParent | back to summary |
|---|---|
| private AST createIsNullParent(AST node, boolean negated) | |
| createSubquery | back to summary |
|---|---|
| private AST createSubquery(AST node) | |
| getASTPrinter | back to summary |
|---|---|
| private static ASTPrinter getASTPrinter() | |
| getInstance | back to summary |
|---|---|
| public static HqlParser getInstance(String hql) | |
| getParseErrorHandler | back to summary |
|---|---|
| public ParseErrorHandler getParseErrorHandler() | |
| handleDotIdent | back to summary |
|---|---|
| public void handleDotIdent() throws TokenStreamException Overrides org. Doc from org. This method looks ahead and converts . | |
| handleIdentifierError | back to summary |
|---|---|
| public AST handleIdentifierError(Token token, RecognitionException ex) throws RecognitionException, TokenStreamException Overrides org. Overrides the base behavior to retry keywords as identifiers.
| |
| initialize | back to summary |
|---|---|
| private void initialize() | |
| negateNode | back to summary |
|---|---|
| public AST negateNode(AST x) Overrides org. Returns an equivalent tree for (NOT (a relop b) ), for example: (NOT (GT a b) ) => (LE a b) | |
| panic | back to summary |
|---|---|
| public static void panic() Hides antlr. | |
| processEqualityExpression | back to summary |
|---|---|
| public AST processEqualityExpression(AST x) Overrides org. Post process equality expressions, clean up the subtree. | |
| processIsEmpty | back to summary |
|---|---|
| private AST processIsEmpty(AST node, boolean negated) | |
| processMemberOf | back to summary |
|---|---|
| public void processMemberOf(Token n, AST p, ASTPair currentAST) Overrides org. | |
| reportError | back to summary |
|---|---|
| public void reportError(RecognitionException e) Overrides antlr. Doc from antlr. Parser error-reporting function can be overridden in subclass | |
| reportError | back to summary |
|---|---|
| public void reportError(String s) Overrides antlr. Doc from antlr. Parser error-reporting function can be overridden in subclass | |
| reportWarning | back to summary |
|---|---|
| public void reportWarning(String s) Overrides antlr. Doc from antlr. Parser warning-reporting function can be overridden in subclass | |
| showAst | back to summary |
|---|---|
| public void showAst(AST ast, PrintStream out) | |
| showAst | back to summary |
|---|---|
| private void showAst(AST ast, PrintWriter pw) | |
| traceIn | back to summary |
|---|---|
| public void traceIn(String ruleName) Overrides antlr. | |
| traceOut | back to summary |
|---|---|
| public void traceOut(String ruleName) Overrides antlr. | |
| weakKeywords | back to summary |
|---|---|
| public void weakKeywords() throws TokenStreamException Overrides org. | |