Class LuaParser
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
- org.antlr.v4.runtime.Parser
-
- net.sourceforge.pmd.lang.lua.antlr4.LuaParser
-
public class LuaParser extends org.antlr.v4.runtime.Parser
-
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN
_ATN
protected static org.antlr.v4.runtime.dfa.DFA[]
_decisionToDFA
static String
_serializedATN
protected static org.antlr.v4.runtime.atn.PredictionContextCache
_sharedContextCache
static int
ASSIGNMENT
static int
BOOLEAN
static int
CLOSE_BRACE
static int
CLOSE_BRACKET
static int
CLOSE_PARENS
static int
COMMA
static int
COMMENT
static int
FLOAT
static int
HEX
static int
HEX_FLOAT
static int
INT
static int
INTERPOLATED_STRING
static int
LINE_COMMENT
static int
LOCAL
static int
LONG_STRING
static int
NAME
static int
NIL
static int
NL
static int
NORMAL_STRING
static int
OPEN_BRACE
static int
OPEN_BRACKET
static int
OPEN_PARENS
static int
REQUIRE
static int
RULE_args
static int
RULE_asexp
static int
RULE_attnamelist
static int
RULE_attrib
static int
RULE_binding
static int
RULE_bindinglist
static int
RULE_binop
static int
RULE_block
static int
RULE_chunk
static int
RULE_compoundop
static int
RULE_exp
static int
RULE_explist
static int
RULE_field
static int
RULE_fieldlist
static int
RULE_fieldsep
static int
RULE_funcbody
static int
RULE_funcname
static int
RULE_functioncall
static int
RULE_functiondef
static int
RULE_functionType
static int
RULE_genericTypePack
static int
RULE_genericTypePackParameter
static int
RULE_genericTypeParameterList
static int
RULE_ifelseexp
static int
RULE_label
static int
RULE_laststat
static int
RULE_nameAndArgs
static int
RULE_namelist
static int
RULE_number
static int
RULE_operatorAddSub
static int
RULE_operatorAnd
static int
RULE_operatorBitwise
static int
RULE_operatorComparison
static int
RULE_operatorMulDivMod
static int
RULE_operatorOr
static int
RULE_operatorPower
static int
RULE_operatorStrcat
static int
RULE_operatorUnary
static int
RULE_parlist
static int
RULE_prefixexp
static int
RULE_propList
static int
RULE_returnType
static int
RULE_simpleexp
static int
RULE_simpleType
static int
RULE_singletonType
static int
RULE_stat
static int
RULE_string
static int
RULE_tableconstructor
static int
RULE_tableIndexer
static int
RULE_tableProp
static int
RULE_tablePropOrIndexer
static int
RULE_tableType
static int
RULE_type
static int
RULE_typeList
static int
RULE_typePack
static int
RULE_typeParams
static int
RULE_var
static int
RULE_variadicTypePack
static int
RULE_varlist
static int
RULE_varOrExp
static int
RULE_varSuffix
static String[]
ruleNames
static int
SHEBANG
static int
T__0
static int
T__1
static int
T__10
static int
T__11
static int
T__12
static int
T__13
static int
T__14
static int
T__15
static int
T__16
static int
T__17
static int
T__18
static int
T__19
static int
T__2
static int
T__20
static int
T__21
static int
T__22
static int
T__23
static int
T__24
static int
T__25
static int
T__26
static int
T__27
static int
T__28
static int
T__29
static int
T__3
static int
T__30
static int
T__31
static int
T__32
static int
T__33
static int
T__34
static int
T__35
static int
T__36
static int
T__37
static int
T__38
static int
T__39
static int
T__4
static int
T__40
static int
T__41
static int
T__42
static int
T__43
static int
T__44
static int
T__45
static int
T__46
static int
T__47
static int
T__48
static int
T__49
static int
T__5
static int
T__50
static int
T__51
static int
T__52
static int
T__53
static int
T__54
static int
T__55
static int
T__6
static int
T__7
static int
T__8
static int
T__9
static String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static org.antlr.v4.runtime.Vocabulary
VOCABULARY
static int
WS
-
Constructor Summary
Constructors Constructor Description LuaParser(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
-
T__0
public static final int T__0
- See Also:
- Constant Field Values
-
T__1
public static final int T__1
- See Also:
- Constant Field Values
-
T__2
public static final int T__2
- See Also:
- Constant Field Values
-
T__3
public static final int T__3
- See Also:
- Constant Field Values
-
T__4
public static final int T__4
- See Also:
- Constant Field Values
-
T__5
public static final int T__5
- See Also:
- Constant Field Values
-
T__6
public static final int T__6
- See Also:
- Constant Field Values
-
T__7
public static final int T__7
- See Also:
- Constant Field Values
-
T__8
public static final int T__8
- See Also:
- Constant Field Values
-
T__9
public static final int T__9
- See Also:
- Constant Field Values
-
T__10
public static final int T__10
- See Also:
- Constant Field Values
-
T__11
public static final int T__11
- See Also:
- Constant Field Values
-
T__12
public static final int T__12
- See Also:
- Constant Field Values
-
T__13
public static final int T__13
- See Also:
- Constant Field Values
-
T__14
public static final int T__14
- See Also:
- Constant Field Values
-
T__15
public static final int T__15
- See Also:
- Constant Field Values
-
T__16
public static final int T__16
- See Also:
- Constant Field Values
-
T__17
public static final int T__17
- See Also:
- Constant Field Values
-
T__18
public static final int T__18
- See Also:
- Constant Field Values
-
T__19
public static final int T__19
- See Also:
- Constant Field Values
-
T__20
public static final int T__20
- See Also:
- Constant Field Values
-
T__21
public static final int T__21
- See Also:
- Constant Field Values
-
T__22
public static final int T__22
- See Also:
- Constant Field Values
-
T__23
public static final int T__23
- See Also:
- Constant Field Values
-
T__24
public static final int T__24
- See Also:
- Constant Field Values
-
T__25
public static final int T__25
- See Also:
- Constant Field Values
-
T__26
public static final int T__26
- See Also:
- Constant Field Values
-
T__27
public static final int T__27
- See Also:
- Constant Field Values
-
T__28
public static final int T__28
- See Also:
- Constant Field Values
-
T__29
public static final int T__29
- See Also:
- Constant Field Values
-
T__30
public static final int T__30
- See Also:
- Constant Field Values
-
T__31
public static final int T__31
- See Also:
- Constant Field Values
-
T__32
public static final int T__32
- See Also:
- Constant Field Values
-
T__33
public static final int T__33
- See Also:
- Constant Field Values
-
T__34
public static final int T__34
- See Also:
- Constant Field Values
-
T__35
public static final int T__35
- See Also:
- Constant Field Values
-
T__36
public static final int T__36
- See Also:
- Constant Field Values
-
T__37
public static final int T__37
- See Also:
- Constant Field Values
-
T__38
public static final int T__38
- See Also:
- Constant Field Values
-
T__39
public static final int T__39
- See Also:
- Constant Field Values
-
T__40
public static final int T__40
- See Also:
- Constant Field Values
-
T__41
public static final int T__41
- See Also:
- Constant Field Values
-
T__42
public static final int T__42
- See Also:
- Constant Field Values
-
T__43
public static final int T__43
- See Also:
- Constant Field Values
-
T__44
public static final int T__44
- See Also:
- Constant Field Values
-
T__45
public static final int T__45
- See Also:
- Constant Field Values
-
T__46
public static final int T__46
- See Also:
- Constant Field Values
-
T__47
public static final int T__47
- See Also:
- Constant Field Values
-
T__48
public static final int T__48
- See Also:
- Constant Field Values
-
T__49
public static final int T__49
- See Also:
- Constant Field Values
-
T__50
public static final int T__50
- See Also:
- Constant Field Values
-
T__51
public static final int T__51
- See Also:
- Constant Field Values
-
T__52
public static final int T__52
- See Also:
- Constant Field Values
-
T__53
public static final int T__53
- See Also:
- Constant Field Values
-
T__54
public static final int T__54
- See Also:
- Constant Field Values
-
T__55
public static final int T__55
- See Also:
- Constant Field Values
-
ASSIGNMENT
public static final int ASSIGNMENT
- See Also:
- Constant Field Values
-
LOCAL
public static final int LOCAL
- See Also:
- Constant Field Values
-
REQUIRE
public static final int REQUIRE
- See Also:
- Constant Field Values
-
NIL
public static final int NIL
- See Also:
- Constant Field Values
-
BOOLEAN
public static final int BOOLEAN
- See Also:
- Constant Field Values
-
NAME
public static final int NAME
- See Also:
- Constant Field Values
-
NORMAL_STRING
public static final int NORMAL_STRING
- See Also:
- Constant Field Values
-
INTERPOLATED_STRING
public static final int INTERPOLATED_STRING
- See Also:
- Constant Field Values
-
LONG_STRING
public static final int LONG_STRING
- See Also:
- Constant Field Values
-
INT
public static final int INT
- See Also:
- Constant Field Values
-
HEX
public static final int HEX
- See Also:
- Constant Field Values
-
FLOAT
public static final int FLOAT
- See Also:
- Constant Field Values
-
HEX_FLOAT
public static final int HEX_FLOAT
- See Also:
- Constant Field Values
-
OPEN_BRACE
public static final int OPEN_BRACE
- See Also:
- Constant Field Values
-
CLOSE_BRACE
public static final int CLOSE_BRACE
- See Also:
- Constant Field Values
-
OPEN_BRACKET
public static final int OPEN_BRACKET
- See Also:
- Constant Field Values
-
CLOSE_BRACKET
public static final int CLOSE_BRACKET
- See Also:
- Constant Field Values
-
OPEN_PARENS
public static final int OPEN_PARENS
- See Also:
- Constant Field Values
-
CLOSE_PARENS
public static final int CLOSE_PARENS
- See Also:
- Constant Field Values
-
NL
public static final int NL
- See Also:
- Constant Field Values
-
COMMA
public static final int COMMA
- See Also:
- Constant Field Values
-
COMMENT
public static final int COMMENT
- See Also:
- Constant Field Values
-
LINE_COMMENT
public static final int LINE_COMMENT
- See Also:
- Constant Field Values
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
SHEBANG
public static final int SHEBANG
- See Also:
- Constant Field Values
-
RULE_chunk
public static final int RULE_chunk
- See Also:
- Constant Field Values
-
RULE_block
public static final int RULE_block
- See Also:
- Constant Field Values
-
RULE_stat
public static final int RULE_stat
- See Also:
- Constant Field Values
-
RULE_attnamelist
public static final int RULE_attnamelist
- See Also:
- Constant Field Values
-
RULE_attrib
public static final int RULE_attrib
- See Also:
- Constant Field Values
-
RULE_label
public static final int RULE_label
- See Also:
- Constant Field Values
-
RULE_laststat
public static final int RULE_laststat
- See Also:
- Constant Field Values
-
RULE_funcname
public static final int RULE_funcname
- See Also:
- Constant Field Values
-
RULE_funcbody
public static final int RULE_funcbody
- See Also:
- Constant Field Values
-
RULE_parlist
public static final int RULE_parlist
- See Also:
- Constant Field Values
-
RULE_explist
public static final int RULE_explist
- See Also:
- Constant Field Values
-
RULE_namelist
public static final int RULE_namelist
- See Also:
- Constant Field Values
-
RULE_binding
public static final int RULE_binding
- See Also:
- Constant Field Values
-
RULE_bindinglist
public static final int RULE_bindinglist
- See Also:
- Constant Field Values
-
RULE_var
public static final int RULE_var
- See Also:
- Constant Field Values
-
RULE_varlist
public static final int RULE_varlist
- See Also:
- Constant Field Values
-
RULE_prefixexp
public static final int RULE_prefixexp
- See Also:
- Constant Field Values
-
RULE_functioncall
public static final int RULE_functioncall
- See Also:
- Constant Field Values
-
RULE_exp
public static final int RULE_exp
- See Also:
- Constant Field Values
-
RULE_ifelseexp
public static final int RULE_ifelseexp
- See Also:
- Constant Field Values
-
RULE_asexp
public static final int RULE_asexp
- See Also:
- Constant Field Values
-
RULE_simpleexp
public static final int RULE_simpleexp
- See Also:
- Constant Field Values
-
RULE_varOrExp
public static final int RULE_varOrExp
- See Also:
- Constant Field Values
-
RULE_varSuffix
public static final int RULE_varSuffix
- See Also:
- Constant Field Values
-
RULE_nameAndArgs
public static final int RULE_nameAndArgs
- See Also:
- Constant Field Values
-
RULE_args
public static final int RULE_args
- See Also:
- Constant Field Values
-
RULE_functiondef
public static final int RULE_functiondef
- See Also:
- Constant Field Values
-
RULE_tableconstructor
public static final int RULE_tableconstructor
- See Also:
- Constant Field Values
-
RULE_fieldlist
public static final int RULE_fieldlist
- See Also:
- Constant Field Values
-
RULE_field
public static final int RULE_field
- See Also:
- Constant Field Values
-
RULE_fieldsep
public static final int RULE_fieldsep
- See Also:
- Constant Field Values
-
RULE_compoundop
public static final int RULE_compoundop
- See Also:
- Constant Field Values
-
RULE_binop
public static final int RULE_binop
- See Also:
- Constant Field Values
-
RULE_operatorOr
public static final int RULE_operatorOr
- See Also:
- Constant Field Values
-
RULE_operatorAnd
public static final int RULE_operatorAnd
- See Also:
- Constant Field Values
-
RULE_operatorComparison
public static final int RULE_operatorComparison
- See Also:
- Constant Field Values
-
RULE_operatorStrcat
public static final int RULE_operatorStrcat
- See Also:
- Constant Field Values
-
RULE_operatorAddSub
public static final int RULE_operatorAddSub
- See Also:
- Constant Field Values
-
RULE_operatorMulDivMod
public static final int RULE_operatorMulDivMod
- See Also:
- Constant Field Values
-
RULE_operatorBitwise
public static final int RULE_operatorBitwise
- See Also:
- Constant Field Values
-
RULE_operatorUnary
public static final int RULE_operatorUnary
- See Also:
- Constant Field Values
-
RULE_operatorPower
public static final int RULE_operatorPower
- See Also:
- Constant Field Values
-
RULE_number
public static final int RULE_number
- See Also:
- Constant Field Values
-
RULE_string
public static final int RULE_string
- See Also:
- Constant Field Values
-
RULE_simpleType
public static final int RULE_simpleType
- See Also:
- Constant Field Values
-
RULE_singletonType
public static final int RULE_singletonType
- See Also:
- Constant Field Values
-
RULE_type
public static final int RULE_type
- See Also:
- Constant Field Values
-
RULE_genericTypePackParameter
public static final int RULE_genericTypePackParameter
- See Also:
- Constant Field Values
-
RULE_genericTypeParameterList
public static final int RULE_genericTypeParameterList
- See Also:
- Constant Field Values
-
RULE_typeList
public static final int RULE_typeList
- See Also:
- Constant Field Values
-
RULE_typeParams
public static final int RULE_typeParams
- See Also:
- Constant Field Values
-
RULE_typePack
public static final int RULE_typePack
- See Also:
- Constant Field Values
-
RULE_genericTypePack
public static final int RULE_genericTypePack
- See Also:
- Constant Field Values
-
RULE_variadicTypePack
public static final int RULE_variadicTypePack
- See Also:
- Constant Field Values
-
RULE_returnType
public static final int RULE_returnType
- See Also:
- Constant Field Values
-
RULE_tableIndexer
public static final int RULE_tableIndexer
- See Also:
- Constant Field Values
-
RULE_tableProp
public static final int RULE_tableProp
- See Also:
- Constant Field Values
-
RULE_tablePropOrIndexer
public static final int RULE_tablePropOrIndexer
- See Also:
- Constant Field Values
-
RULE_propList
public static final int RULE_propList
- See Also:
- Constant Field Values
-
RULE_tableType
public static final int RULE_tableType
- See Also:
- Constant Field Values
-
RULE_functionType
public static final int RULE_functionType
- 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.UseVOCABULARY
instead.
-
_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:
getTokenNames
in 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:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
public String getGrammarFileName()
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
public String[] getRuleNames()
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
public String getSerializedATN()
- Overrides:
getSerializedATN
in 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:
getATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
chunk
public final LuaParser.ChunkContext chunk() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
block
public final LuaParser.BlockContext block() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
stat
public final LuaParser.StatContext stat() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
attnamelist
public final LuaParser.AttnamelistContext attnamelist() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
attrib
public final LuaParser.AttribContext attrib() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
label
public final LuaParser.LabelContext label() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
laststat
public final LuaParser.LaststatContext laststat() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
funcname
public final LuaParser.FuncnameContext funcname() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
funcbody
public final LuaParser.FuncbodyContext funcbody() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
parlist
public final LuaParser.ParlistContext parlist() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
explist
public final LuaParser.ExplistContext explist() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
namelist
public final LuaParser.NamelistContext namelist() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
binding
public final LuaParser.BindingContext binding() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
bindinglist
public final LuaParser.BindinglistContext bindinglist() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
var
public final LuaParser.VarContext var() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
varlist
public final LuaParser.VarlistContext varlist() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
prefixexp
public final LuaParser.PrefixexpContext prefixexp() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
functioncall
public final LuaParser.FunctioncallContext functioncall() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
exp
public final LuaParser.ExpContext exp() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
ifelseexp
public final LuaParser.IfelseexpContext ifelseexp() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
asexp
public final LuaParser.AsexpContext asexp() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
simpleexp
public final LuaParser.SimpleexpContext simpleexp() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
varOrExp
public final LuaParser.VarOrExpContext varOrExp() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
varSuffix
public final LuaParser.VarSuffixContext varSuffix() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
nameAndArgs
public final LuaParser.NameAndArgsContext nameAndArgs() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
args
public final LuaParser.ArgsContext args() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
functiondef
public final LuaParser.FunctiondefContext functiondef() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
tableconstructor
public final LuaParser.TableconstructorContext tableconstructor() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
fieldlist
public final LuaParser.FieldlistContext fieldlist() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
field
public final LuaParser.FieldContext field() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
fieldsep
public final LuaParser.FieldsepContext fieldsep() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
compoundop
public final LuaParser.CompoundopContext compoundop() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
binop
public final LuaParser.BinopContext binop() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
operatorOr
public final LuaParser.OperatorOrContext operatorOr() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
operatorAnd
public final LuaParser.OperatorAndContext operatorAnd() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
operatorComparison
public final LuaParser.OperatorComparisonContext operatorComparison() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
operatorStrcat
public final LuaParser.OperatorStrcatContext operatorStrcat() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
operatorAddSub
public final LuaParser.OperatorAddSubContext operatorAddSub() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
operatorMulDivMod
public final LuaParser.OperatorMulDivModContext operatorMulDivMod() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
operatorBitwise
public final LuaParser.OperatorBitwiseContext operatorBitwise() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
operatorUnary
public final LuaParser.OperatorUnaryContext operatorUnary() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
operatorPower
public final LuaParser.OperatorPowerContext operatorPower() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
number
public final LuaParser.NumberContext number() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
string
public final LuaParser.StringContext string() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
simpleType
public final LuaParser.SimpleTypeContext simpleType() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
singletonType
public final LuaParser.SingletonTypeContext singletonType() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
type
public final LuaParser.TypeContext type() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
genericTypePackParameter
public final LuaParser.GenericTypePackParameterContext genericTypePackParameter() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
genericTypeParameterList
public final LuaParser.GenericTypeParameterListContext genericTypeParameterList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeList
public final LuaParser.TypeListContext typeList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeParams
public final LuaParser.TypeParamsContext typeParams() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typePack
public final LuaParser.TypePackContext typePack() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
genericTypePack
public final LuaParser.GenericTypePackContext genericTypePack() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
variadicTypePack
public final LuaParser.VariadicTypePackContext variadicTypePack() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
returnType
public final LuaParser.ReturnTypeContext returnType() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
tableIndexer
public final LuaParser.TableIndexerContext tableIndexer() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
tableProp
public final LuaParser.TablePropContext tableProp() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
tablePropOrIndexer
public final LuaParser.TablePropOrIndexerContext tablePropOrIndexer() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
propList
public final LuaParser.PropListContext propList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
tableType
public final LuaParser.TableTypeContext tableType() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
functionType
public final LuaParser.FunctionTypeContext functionType() 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:
sempred
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
-