Package org.hibernate.grammars.ordering
Class OrderingParser
- java.lang.Object
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
- org.antlr.v4.runtime.Parser
- org.hibernate.grammars.ordering.OrderingParser
public classOrderingParserextends org.antlr.v4.runtime.Parser
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrderingParser.CollationSpecificationContextstatic classOrderingParser.DirectionContextstatic classOrderingParser.DotIdentifierContextstatic classOrderingParser.DotIdentifierExpressionContextstatic classOrderingParser.ExpressionContextstatic classOrderingParser.FunctionArgumentContextstatic classOrderingParser.FunctionArgumentsContextstatic classOrderingParser.FunctionContextstatic classOrderingParser.FunctionExpressionContextstatic classOrderingParser.IdentifierContextstatic classOrderingParser.IdentifierExpressionContextstatic classOrderingParser.LiteralContextstatic classOrderingParser.NullsPrecedenceContextstatic classOrderingParser.OrderByFragmentContextstatic classOrderingParser.PackagedFunctionContextstatic classOrderingParser.SimpleFunctionContextstatic classOrderingParser.SortSpecificationContext
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN_ATNprotected static org.antlr.v4.runtime.dfa.DFA[]_decisionToDFAstaticString_serializedATNprotected static org.antlr.v4.runtime.atn.PredictionContextCache_sharedContextCachestatic intASCstatic intBIG_DECIMAL_LITERALstatic intBIG_INTEGER_LITERALstatic intCHARACTER_LITERALstatic intCLOSE_PARENstatic intCOLLATEstatic intCOMMAstatic intDESCstatic intDIVIDEstatic intDOTstatic intDOUBLE_LITERALstatic intFIRSTstatic intFLOAT_LITERALstatic intHEX_LITERALstatic intIDENTIFIERstatic intINTEGER_LITERALstatic intLASTstatic intLONG_LITERALstatic intMINUSstatic intMODULOstatic intMULTIPLYstatic intNULLSstatic intOCTAL_LITERALstatic intOPEN_PARENstatic intPLUSstatic intQUOTED_IDENTIFIERstatic intRULE_collationSpecificationstatic intRULE_directionstatic intRULE_dotIdentifierstatic intRULE_expressionstatic intRULE_functionstatic intRULE_functionArgumentstatic intRULE_functionArgumentsstatic intRULE_identifierstatic intRULE_literalstatic intRULE_nullsPrecedencestatic intRULE_orderByFragmentstatic intRULE_packagedFunctionstatic intRULE_simpleFunctionstatic intRULE_sortSpecificationstaticString[]ruleNamesstatic intSTRING_LITERALstaticString[]tokenNamesDeprecated.UseVOCABULARYinstead.static org.antlr.v4.runtime.VocabularyVOCABULARYstatic intWS
Constructor Summary
Constructors Constructor Description OrderingParser(org.antlr.v4.runtime.TokenStream input)
Method Summary
Methods inherited from class org.antlr.v4.runtime.Parser
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
Field Detail
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
_sharedContextCache
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
WS
public static final int WS
- See Also:
- Constant Field Values
INTEGER_LITERAL
public static final int INTEGER_LITERAL
- See Also:
- Constant Field Values
LONG_LITERAL
public static final int LONG_LITERAL
- See Also:
- Constant Field Values
BIG_INTEGER_LITERAL
public static final int BIG_INTEGER_LITERAL
- See Also:
- Constant Field Values
HEX_LITERAL
public static final int HEX_LITERAL
- See Also:
- Constant Field Values
OCTAL_LITERAL
public static final int OCTAL_LITERAL
- See Also:
- Constant Field Values
FLOAT_LITERAL
public static final int FLOAT_LITERAL
- See Also:
- Constant Field Values
DOUBLE_LITERAL
public static final int DOUBLE_LITERAL
- See Also:
- Constant Field Values
BIG_DECIMAL_LITERAL
public static final int BIG_DECIMAL_LITERAL
- See Also:
- Constant Field Values
CHARACTER_LITERAL
public static final int CHARACTER_LITERAL
- See Also:
- Constant Field Values
STRING_LITERAL
public static final int STRING_LITERAL
- See Also:
- Constant Field Values
COLLATE
public static final int COLLATE
- See Also:
- Constant Field Values
NULLS
public static final int NULLS
- See Also:
- Constant Field Values
FIRST
public static final int FIRST
- See Also:
- Constant Field Values
LAST
public static final int LAST
- See Also:
- Constant Field Values
ASC
public static final int ASC
- See Also:
- Constant Field Values
DESC
public static final int DESC
- See Also:
- Constant Field Values
IDENTIFIER
public static final int IDENTIFIER
- See Also:
- Constant Field Values
QUOTED_IDENTIFIER
public static final int QUOTED_IDENTIFIER
- See Also:
- Constant Field Values
OPEN_PAREN
public static final int OPEN_PAREN
- See Also:
- Constant Field Values
CLOSE_PAREN
public static final int CLOSE_PAREN
- See Also:
- Constant Field Values
COMMA
public static final int COMMA
- See Also:
- Constant Field Values
DOT
public static final int DOT
- See Also:
- Constant Field Values
PLUS
public static final int PLUS
- See Also:
- Constant Field Values
MINUS
public static final int MINUS
- See Also:
- Constant Field Values
MULTIPLY
public static final int MULTIPLY
- See Also:
- Constant Field Values
DIVIDE
public static final int DIVIDE
- See Also:
- Constant Field Values
MODULO
public static final int MODULO
- See Also:
- Constant Field Values
RULE_orderByFragment
public static final int RULE_orderByFragment
- See Also:
- Constant Field Values
RULE_sortSpecification
public static final int RULE_sortSpecification
- See Also:
- Constant Field Values
RULE_expression
public static final int RULE_expression
- See Also:
- Constant Field Values
RULE_function
public static final int RULE_function
- See Also:
- Constant Field Values
RULE_simpleFunction
public static final int RULE_simpleFunction
- See Also:
- Constant Field Values
RULE_packagedFunction
public static final int RULE_packagedFunction
- See Also:
- Constant Field Values
RULE_functionArguments
public static final int RULE_functionArguments
- See Also:
- Constant Field Values
RULE_functionArgument
public static final int RULE_functionArgument
- See Also:
- Constant Field Values
RULE_literal
public static final int RULE_literal
- See Also:
- Constant Field Values
RULE_collationSpecification
public static final int RULE_collationSpecification
- See Also:
- Constant Field Values
RULE_direction
public static final int RULE_direction
- See Also:
- Constant Field Values
RULE_nullsPrecedence
public static final int RULE_nullsPrecedence
- See Also:
- Constant Field Values
RULE_identifier
public static final int RULE_identifier
- See Also:
- Constant Field Values
RULE_dotIdentifier
public static final int RULE_dotIdentifier
- See Also:
- Constant Field Values
ruleNames
public static final String[] ruleNames
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
tokenNames
@Deprecatedpublic static final String[] tokenNames
Deprecated.UseVOCABULARYinstead.
_serializedATN
public static final String _serializedATN
- See Also:
- Constant Field Values
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
Method Detail
getTokenNames
@Deprecatedpublic String[] getTokenNames()
Deprecated.- Specified by:
getTokenNamesin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabularyin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
getGrammarFileName
public String getGrammarFileName()
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
getRuleNames
public String[] getRuleNames()
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
getSerializedATN
public String getSerializedATN()
- Overrides:
getSerializedATNin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATNin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
orderByFragment
public final OrderingParser.OrderByFragmentContext orderByFragment() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
sortSpecification
public final OrderingParser.SortSpecificationContext sortSpecification() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
expression
public final OrderingParser.ExpressionContext expression() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
function
public final OrderingParser.FunctionContext function() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
simpleFunction
public final OrderingParser.SimpleFunctionContext simpleFunction() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
packagedFunction
public final OrderingParser.PackagedFunctionContext packagedFunction() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
functionArguments
public final OrderingParser.FunctionArgumentsContext functionArguments() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
functionArgument
public final OrderingParser.FunctionArgumentContext functionArgument() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
literal
public final OrderingParser.LiteralContext literal() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
collationSpecification
public final OrderingParser.CollationSpecificationContext collationSpecification() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
direction
public final OrderingParser.DirectionContext direction() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
nullsPrecedence
public final OrderingParser.NullsPrecedenceContext nullsPrecedence() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
identifier
public final OrderingParser.IdentifierContext identifier() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
dotIdentifier
public final OrderingParser.DotIdentifierContext dotIdentifier() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException