public class TinyTemplateParser
extends org.antlr.v4.runtime.Parser
Constructor and Description |
---|
TinyTemplateParser(org.antlr.v4.runtime.TokenStream input) |
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, setInterpreter, setState
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
public static final int DIRECTIVE_END
public static final int OP_SIMPLE_CONDITION_TERNARY
public static final int DIRECTIVE_OPEN_MACRO_INVOKE
public static final int VALUE_OPEN
public static final int OP_ASSIGNMENT
public static final int OP_RELATIONAL_LT
public static final int OP_CONDITIONAL_NOT
public static final int OP_MATH_MINUS
public static final int WHITESPACE
public static final int KEYWORD_NULL
public static final int TEXT_SINGLE_CHAR
public static final int IN
public static final int DIRECTIVE_END_OF_LINE
public static final int LEFT_BRACKET
public static final int DIRECTIVE_OPEN_MACRO
public static final int DIRECTIVE_OPEN_FOR
public static final int DIRECTIVE_CONTINUE
public static final int OP_BITWISE_SHR_2
public static final int AT
public static final int DIRECTIVE_FOR
public static final int DIRECTIVE_OPEN_INCLUDE
public static final int KEYWORD_FALSE
public static final int OP_CONDITIONAL_OR
public static final int TEXT_PLAIN
public static final int DIRECTIVE_STOP
public static final int DIRECTIVE_PAGECONTENT
public static final int OP_MATH_MULTIPLICATION
public static final int OP_BITWISE_OR
public static final int DIRECTIVE_BLANK
public static final int SEMI
public static final int DIRECTIVE_CALL
public static final int TEXT_ESCAPED_CHAR
public static final int PARA_SPLITER
public static final int OP_BITWISE_NOT
public static final int OP_MATH_DECREMENT
public static final int OP_BITWISE_AND
public static final int INTEGER_OCT
public static final int INTEGER_HEX
public static final int COMMA
public static final int OP_BITWISE_SHR
public static final int DIRECTIVE_RETURN
public static final int KEYWORD_TRUE
public static final int DIRECTIVE_MACRO_INVOKE
public static final int DIRECTIVE_IF
public static final int DIRECTIVE_ELSE
public static final int OP_CONDITIONAL_TERNARY
public static final int DIRECTIVE_OPEN_LAYOUT
public static final int DIRECTIVE_TABS_INDENT
public static final int VALUE_ESCAPED_OPEN
public static final int OP_EQUALITY_NE
public static final int OP_MATH_INCREMENT
public static final int OP_BITWISE_SHL
public static final int OP_EQUALITY_EQ
public static final int DIRECTIVE_OPEN_STOP
public static final int OP_RELATIONAL_LE
public static final int DIRECTIVE_ELSEIF
public static final int DIRECTIVE_BODYCONTENT
public static final int STRING_DOUBLE
public static final int DIRECTIVE_OPEN_RETURN
public static final int OP_MATH_PLUS
public static final int DIRECTIVE_IMPORT
public static final int DIRECTIVE_OPEN_CONTINUE
public static final int DIRECTIVE_OPEN_CALL
public static final int OP_MATH_REMAINDER
public static final int LEFT_BRACE
public static final int OP_DOT_INVOCATION_SAFE
public static final int DIRECTIVE_SET
public static final int DIRECTIVE_MACRO
public static final int INTEGER
public static final int DIRECTIVE_BREAK
public static final int DIRECTIVE_TABS
public static final int DIRECTIVE_TABS_DENT
public static final int DIRECTIVE_INCLUDE
public static final int TEXT_CDATA
public static final int DIRECTIVE_OPEN_SET
public static final int LEFT_PARENTHESE
public static final int STRING_SINGLE
public static final int DIRECTIVE_OPEN_BREAK
public static final int COMMENT_LINE
public static final int I18N_OPEN
public static final int OP_MATH_DIVISION
public static final int DIRECTIVE_OPEN_LAYOUT_IMPL
public static final int OP_RELATIONAL_GE
public static final int IDENTIFIER
public static final int DIRECTIVE_OPEN_WHILE
public static final int OP_BITWISE_XOR
public static final int FLOATING_POINT
public static final int RIGHT_BRACE
public static final int DIRECTIVE_OPEN_IF
public static final int OP_RELATIONAL_GT
public static final int TEXT_DIRECTIVE_LIKE
public static final int COLON
public static final int OP_DOT_DOT
public static final int RIGHT_BRACKET
public static final int RIGHT_PARENTHESE
public static final int OP_CONDITIONAL_AND
public static final int COMMENT_BLOCK2
public static final int COMMENT_BLOCK1
public static final int DIRECTIVE_OPEN_ELSEIF
public static final int OP_DOT_INVOCATION
public static final String[] tokenNames
public static final int RULE_template
public static final int RULE_block
public static final int RULE_text
public static final int RULE_comment
public static final int RULE_value
public static final int RULE_directive
public static final int RULE_identify_list
public static final int RULE_define_expression_list
public static final int RULE_para_expression_list
public static final int RULE_para_expression
public static final int RULE_define_expression
public static final int RULE_set_directive
public static final int RULE_set_expression
public static final int RULE_endofline_directive
public static final int RULE_tabs_directive
public static final int RULE_blank_directive
public static final int RULE_indent_directive
public static final int RULE_dent_directive
public static final int RULE_if_directive
public static final int RULE_elseif_directive
public static final int RULE_else_directive
public static final int RULE_for_directive
public static final int RULE_for_expression
public static final int RULE_while_directive
public static final int RULE_break_directive
public static final int RULE_import_directive
public static final int RULE_continue_directive
public static final int RULE_stop_directive
public static final int RULE_return_directive
public static final int RULE_include_directive
public static final int RULE_macro_directive
public static final int RULE_layout_directive
public static final int RULE_call_block_directive
public static final int RULE_layout_impl_directive
public static final int RULE_call_directive
public static final int RULE_call_macro_block_directive
public static final int RULE_bodycontent_directive
public static final int RULE_pagecontent_directive
public static final int RULE_call_macro_directive
public static final int RULE_invalid_directive
public static final int RULE_expression
public static final int RULE_constant
public static final int RULE_expression_list
public static final int RULE_hash_map_entry_list
public static final int RULE_expression_range
public static final String[] ruleNames
public static final String _serializedATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
public TinyTemplateParser(org.antlr.v4.runtime.TokenStream input)
public String getGrammarFileName()
getGrammarFileName
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public String[] getTokenNames()
getTokenNames
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public String[] getRuleNames()
getRuleNames
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public String getSerializedATN()
getSerializedATN
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public org.antlr.v4.runtime.atn.ATN getATN()
getATN
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public final TinyTemplateParser.TemplateContext template() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.BlockContext block() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.TextContext text() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.CommentContext comment() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.ValueContext value() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.DirectiveContext directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Identify_listContext identify_list() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Define_expression_listContext define_expression_list() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Para_expression_listContext para_expression_list() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Para_expressionContext para_expression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Define_expressionContext define_expression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Set_directiveContext set_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Set_expressionContext set_expression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Endofline_directiveContext endofline_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Tabs_directiveContext tabs_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Blank_directiveContext blank_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Indent_directiveContext indent_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Dent_directiveContext dent_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.If_directiveContext if_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Elseif_directiveContext elseif_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Else_directiveContext else_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.For_directiveContext for_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.For_expressionContext for_expression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.While_directiveContext while_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Break_directiveContext break_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Import_directiveContext import_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Continue_directiveContext continue_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Stop_directiveContext stop_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Return_directiveContext return_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Include_directiveContext include_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Macro_directiveContext macro_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Layout_directiveContext layout_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Call_block_directiveContext call_block_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Layout_impl_directiveContext layout_impl_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Call_directiveContext call_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Call_macro_block_directiveContext call_macro_block_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Bodycontent_directiveContext bodycontent_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Pagecontent_directiveContext pagecontent_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Call_macro_directiveContext call_macro_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Invalid_directiveContext invalid_directive() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.ExpressionContext expression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.ConstantContext constant() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Expression_listContext expression_list() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Hash_map_entry_listContext hash_map_entry_list() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final TinyTemplateParser.Expression_rangeContext expression_range() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)
sempred
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
Copyright © 2006–2018 TinyGroup. All rights reserved.