Package one.gfw.antlr4.sql.freemarker
Class FreemarkerParser
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
- org.antlr.v4.runtime.Parser
-
- one.gfw.antlr4.sql.freemarker.FreemarkerParser
-
public class FreemarkerParser extends org.antlr.v4.runtime.Parser
-
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FreemarkerParser(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, 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, 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
-
COMMENT
public static final int COMMENT
- See Also:
- Constant Field Values
-
START_DIRECTIVE_TAG
public static final int START_DIRECTIVE_TAG
- See Also:
- Constant Field Values
-
END_DIRECTIVE_TAG
public static final int END_DIRECTIVE_TAG
- See Also:
- Constant Field Values
-
START_USER_DIR_TAG
public static final int START_USER_DIR_TAG
- See Also:
- Constant Field Values
-
END_USER_DIR_TAG
public static final int END_USER_DIR_TAG
- See Also:
- Constant Field Values
-
INLINE_EXPR_START
public static final int INLINE_EXPR_START
- See Also:
- Constant Field Values
-
CONTENT
public static final int CONTENT
- See Also:
- Constant Field Values
-
DQS_EXIT
public static final int DQS_EXIT
- See Also:
- Constant Field Values
-
DQS_ESCAPE
public static final int DQS_ESCAPE
- See Also:
- Constant Field Values
-
DQS_ENTER_EXPR
public static final int DQS_ENTER_EXPR
- See Also:
- Constant Field Values
-
DQS_CONTENT
public static final int DQS_CONTENT
- See Also:
- Constant Field Values
-
SQS_EXIT
public static final int SQS_EXIT
- See Also:
- Constant Field Values
-
SQS_ESCAPE
public static final int SQS_ESCAPE
- See Also:
- Constant Field Values
-
SQS_ENTER_EXPR
public static final int SQS_ENTER_EXPR
- See Also:
- Constant Field Values
-
SQS_CONTENT
public static final int SQS_CONTENT
- See Also:
- Constant Field Values
-
EXPR_IF
public static final int EXPR_IF
- See Also:
- Constant Field Values
-
EXPR_ELSE
public static final int EXPR_ELSE
- See Also:
- Constant Field Values
-
EXPR_ELSEIF
public static final int EXPR_ELSEIF
- See Also:
- Constant Field Values
-
EXPR_ASSIGN
public static final int EXPR_ASSIGN
- See Also:
- Constant Field Values
-
EXPR_AS
public static final int EXPR_AS
- See Also:
- Constant Field Values
-
EXPR_LIST
public static final int EXPR_LIST
- See Also:
- Constant Field Values
-
EXPR_TRUE
public static final int EXPR_TRUE
- See Also:
- Constant Field Values
-
EXPR_FALSE
public static final int EXPR_FALSE
- See Also:
- Constant Field Values
-
EXPR_INCLUDE
public static final int EXPR_INCLUDE
- See Also:
- Constant Field Values
-
EXPR_IMPORT
public static final int EXPR_IMPORT
- See Also:
- Constant Field Values
-
EXPR_MACRO
public static final int EXPR_MACRO
- See Also:
- Constant Field Values
-
EXPR_NESTED
public static final int EXPR_NESTED
- See Also:
- Constant Field Values
-
EXPR_RETURN
public static final int EXPR_RETURN
- See Also:
- Constant Field Values
-
EXPR_LT_SYM
public static final int EXPR_LT_SYM
- See Also:
- Constant Field Values
-
EXPR_LT_STR
public static final int EXPR_LT_STR
- See Also:
- Constant Field Values
-
EXPR_LTE_SYM
public static final int EXPR_LTE_SYM
- See Also:
- Constant Field Values
-
EXPR_LTE_STR
public static final int EXPR_LTE_STR
- See Also:
- Constant Field Values
-
EXPR_GT_STR
public static final int EXPR_GT_STR
- See Also:
- Constant Field Values
-
EXPR_GTE_SYM
public static final int EXPR_GTE_SYM
- See Also:
- Constant Field Values
-
EXPR_GTE_STR
public static final int EXPR_GTE_STR
- See Also:
- Constant Field Values
-
EXPR_NUM
public static final int EXPR_NUM
- See Also:
- Constant Field Values
-
EXPR_EXIT_R_BRACE
public static final int EXPR_EXIT_R_BRACE
- See Also:
- Constant Field Values
-
EXPR_EXIT_GT
public static final int EXPR_EXIT_GT
- See Also:
- Constant Field Values
-
EXPR_EXIT_DIV_GT
public static final int EXPR_EXIT_DIV_GT
- See Also:
- Constant Field Values
-
EXPR_WS
public static final int EXPR_WS
- See Also:
- Constant Field Values
-
EXPR_COMENT
public static final int EXPR_COMENT
- See Also:
- Constant Field Values
-
EXPR_STRUCT
public static final int EXPR_STRUCT
- See Also:
- Constant Field Values
-
EXPR_DOUBLE_STR_START
public static final int EXPR_DOUBLE_STR_START
- See Also:
- Constant Field Values
-
EXPR_SINGLE_STR_START
public static final int EXPR_SINGLE_STR_START
- See Also:
- Constant Field Values
-
EXPR_AT
public static final int EXPR_AT
- See Also:
- Constant Field Values
-
EXPR_DBL_QUESTION
public static final int EXPR_DBL_QUESTION
- See Also:
- Constant Field Values
-
EXPR_QUESTION
public static final int EXPR_QUESTION
- See Also:
- Constant Field Values
-
EXPR_BANG
public static final int EXPR_BANG
- See Also:
- Constant Field Values
-
EXPR_ADD
public static final int EXPR_ADD
- See Also:
- Constant Field Values
-
EXPR_SUB
public static final int EXPR_SUB
- See Also:
- Constant Field Values
-
EXPR_MUL
public static final int EXPR_MUL
- See Also:
- Constant Field Values
-
EXPR_DIV
public static final int EXPR_DIV
- See Also:
- Constant Field Values
-
EXPR_MOD
public static final int EXPR_MOD
- See Also:
- Constant Field Values
-
EXPR_L_PAREN
public static final int EXPR_L_PAREN
- See Also:
- Constant Field Values
-
EXPR_R_PAREN
public static final int EXPR_R_PAREN
- See Also:
- Constant Field Values
-
EXPR_L_SQ_PAREN
public static final int EXPR_L_SQ_PAREN
- See Also:
- Constant Field Values
-
EXPR_R_SQ_PAREN
public static final int EXPR_R_SQ_PAREN
- See Also:
- Constant Field Values
-
EXPR_COMPARE_EQ
public static final int EXPR_COMPARE_EQ
- See Also:
- Constant Field Values
-
EXPR_EQ
public static final int EXPR_EQ
- See Also:
- Constant Field Values
-
EXPR_COMPARE_NEQ
public static final int EXPR_COMPARE_NEQ
- See Also:
- Constant Field Values
-
EXPR_LOGICAL_AND
public static final int EXPR_LOGICAL_AND
- See Also:
- Constant Field Values
-
EXPR_LOGICAL_OR
public static final int EXPR_LOGICAL_OR
- See Also:
- Constant Field Values
-
EXPR_DOT
public static final int EXPR_DOT
- See Also:
- Constant Field Values
-
EXPR_COMMA
public static final int EXPR_COMMA
- See Also:
- Constant Field Values
-
EXPR_COLON
public static final int EXPR_COLON
- See Also:
- Constant Field Values
-
EXPR_SEMICOLON
public static final int EXPR_SEMICOLON
- See Also:
- Constant Field Values
-
EXPR_SYMBOL
public static final int EXPR_SYMBOL
- See Also:
- Constant Field Values
-
RULE_template
public static final int RULE_template
- See Also:
- Constant Field Values
-
RULE_elements
public static final int RULE_elements
- See Also:
- Constant Field Values
-
RULE_element
public static final int RULE_element
- See Also:
- Constant Field Values
-
RULE_rawText
public static final int RULE_rawText
- See Also:
- Constant Field Values
-
RULE_directive
public static final int RULE_directive
- See Also:
- Constant Field Values
-
RULE_directiveIf
public static final int RULE_directiveIf
- See Also:
- Constant Field Values
-
RULE_directiveIfTrueElements
public static final int RULE_directiveIfTrueElements
- See Also:
- Constant Field Values
-
RULE_directiveIfElseIfElements
public static final int RULE_directiveIfElseIfElements
- See Also:
- Constant Field Values
-
RULE_directiveIfElseElements
public static final int RULE_directiveIfElseElements
- See Also:
- Constant Field Values
-
RULE_tagExprElseIfs
public static final int RULE_tagExprElseIfs
- See Also:
- Constant Field Values
-
RULE_directiveAssign
public static final int RULE_directiveAssign
- See Also:
- Constant Field Values
-
RULE_directiveList
public static final int RULE_directiveList
- See Also:
- Constant Field Values
-
RULE_directiveListBodyElements
public static final int RULE_directiveListBodyElements
- See Also:
- Constant Field Values
-
RULE_directiveListElseElements
public static final int RULE_directiveListElseElements
- See Also:
- Constant Field Values
-
RULE_directiveInclude
public static final int RULE_directiveInclude
- See Also:
- Constant Field Values
-
RULE_directiveImport
public static final int RULE_directiveImport
- See Also:
- Constant Field Values
-
RULE_directiveMacro
public static final int RULE_directiveMacro
- See Also:
- Constant Field Values
-
RULE_directiveNested
public static final int RULE_directiveNested
- See Also:
- Constant Field Values
-
RULE_directiveReturn
public static final int RULE_directiveReturn
- See Also:
- Constant Field Values
-
RULE_directiveUser
public static final int RULE_directiveUser
- See Also:
- Constant Field Values
-
RULE_directiveUserId
public static final int RULE_directiveUserId
- See Also:
- Constant Field Values
-
RULE_directiveUserParams
public static final int RULE_directiveUserParams
- See Also:
- Constant Field Values
-
RULE_directiveUserLoopParams
public static final int RULE_directiveUserLoopParams
- See Also:
- Constant Field Values
-
RULE_tagExpr
public static final int RULE_tagExpr
- See Also:
- Constant Field Values
-
RULE_inlineExpr
public static final int RULE_inlineExpr
- See Also:
- Constant Field Values
-
RULE_string
public static final int RULE_string
- See Also:
- Constant Field Values
-
RULE_expr
public static final int RULE_expr
- See Also:
- Constant Field Values
-
RULE_functionParams
public static final int RULE_functionParams
- See Also:
- Constant Field Values
-
RULE_booleanRelationalOperator
public static final int RULE_booleanRelationalOperator
- See Also:
- Constant Field Values
-
RULE_struct
public static final int RULE_struct
- See Also:
- Constant Field Values
-
RULE_struct_pair
public static final int RULE_struct_pair
- See Also:
- Constant Field Values
-
RULE_single_quote_string
public static final int RULE_single_quote_string
- See Also:
- Constant Field Values
-
RULE_double_quote_string
public static final int RULE_double_quote_string
- See Also:
- Constant Field Values
-
ruleNames
public static final String[] ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final String[] tokenNames
Deprecated.
-
_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
@Deprecated public 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>
-
template
public final FreemarkerParser.TemplateContext template() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
elements
public final FreemarkerParser.ElementsContext elements() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
element
public final FreemarkerParser.ElementContext element() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
rawText
public final FreemarkerParser.RawTextContext rawText() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directive
public final FreemarkerParser.DirectiveContext directive() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveIf
public final FreemarkerParser.DirectiveIfContext directiveIf() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveIfTrueElements
public final FreemarkerParser.DirectiveIfTrueElementsContext directiveIfTrueElements() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveIfElseIfElements
public final FreemarkerParser.DirectiveIfElseIfElementsContext directiveIfElseIfElements() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveIfElseElements
public final FreemarkerParser.DirectiveIfElseElementsContext directiveIfElseElements() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
tagExprElseIfs
public final FreemarkerParser.TagExprElseIfsContext tagExprElseIfs() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveAssign
public final FreemarkerParser.DirectiveAssignContext directiveAssign() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveList
public final FreemarkerParser.DirectiveListContext directiveList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveListBodyElements
public final FreemarkerParser.DirectiveListBodyElementsContext directiveListBodyElements() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveListElseElements
public final FreemarkerParser.DirectiveListElseElementsContext directiveListElseElements() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveInclude
public final FreemarkerParser.DirectiveIncludeContext directiveInclude() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveImport
public final FreemarkerParser.DirectiveImportContext directiveImport() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveMacro
public final FreemarkerParser.DirectiveMacroContext directiveMacro() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveNested
public final FreemarkerParser.DirectiveNestedContext directiveNested() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveReturn
public final FreemarkerParser.DirectiveReturnContext directiveReturn() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveUser
public final FreemarkerParser.DirectiveUserContext directiveUser() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveUserId
public final FreemarkerParser.DirectiveUserIdContext directiveUserId() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveUserParams
public final FreemarkerParser.DirectiveUserParamsContext directiveUserParams() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
directiveUserLoopParams
public final FreemarkerParser.DirectiveUserLoopParamsContext directiveUserLoopParams() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
tagExpr
public final FreemarkerParser.TagExprContext tagExpr() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
inlineExpr
public final FreemarkerParser.InlineExprContext inlineExpr() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
string
public final FreemarkerParser.StringContext string() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
expr
public final FreemarkerParser.ExprContext expr() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
functionParams
public final FreemarkerParser.FunctionParamsContext functionParams() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
booleanRelationalOperator
public final FreemarkerParser.BooleanRelationalOperatorContext booleanRelationalOperator() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
struct
public final FreemarkerParser.StructContext struct() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
struct_pair
public final FreemarkerParser.Struct_pairContext struct_pair() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
single_quote_string
public final FreemarkerParser.Single_quote_stringContext single_quote_string() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
double_quote_string
public final FreemarkerParser.Double_quote_stringContext double_quote_string() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
sempred
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)- Overrides:
sempredin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
-