Class LuaParser.ExpContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- net.sourceforge.pmd.lang.lua.antlr4.LuaParser.ExpContext
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTree,org.antlr.v4.runtime.tree.RuleNode,org.antlr.v4.runtime.tree.SyntaxTree,org.antlr.v4.runtime.tree.Tree
- Enclosing class:
- LuaParser
public static class LuaParser.ExpContext extends org.antlr.v4.runtime.ParserRuleContext
-
-
Constructor Summary
Constructors Constructor Description ExpContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)voidexitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)List<LuaParser.ExpContext>exp()LuaParser.ExpContextexp(int i)LuaParser.FunctiondefContextfunctiondef()intgetRuleIndex()LuaParser.NumberContextnumber()LuaParser.OperatorAddSubContextoperatorAddSub()LuaParser.OperatorAndContextoperatorAnd()LuaParser.OperatorBitwiseContextoperatorBitwise()LuaParser.OperatorComparisonContextoperatorComparison()LuaParser.OperatorMulDivModContextoperatorMulDivMod()LuaParser.OperatorOrContextoperatorOr()LuaParser.OperatorPowerContextoperatorPower()LuaParser.OperatorStrcatContextoperatorStrcat()LuaParser.OperatorUnaryContextoperatorUnary()LuaParser.PrefixexpContextprefixexp()LuaParser.StringContextstring()LuaParser.TableconstructorContexttableconstructor()-
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
-
-
-
-
Method Detail
-
number
public LuaParser.NumberContext number()
-
string
public LuaParser.StringContext string()
-
functiondef
public LuaParser.FunctiondefContext functiondef()
-
prefixexp
public LuaParser.PrefixexpContext prefixexp()
-
tableconstructor
public LuaParser.TableconstructorContext tableconstructor()
-
operatorUnary
public LuaParser.OperatorUnaryContext operatorUnary()
-
exp
public List<LuaParser.ExpContext> exp()
-
exp
public LuaParser.ExpContext exp(int i)
-
operatorPower
public LuaParser.OperatorPowerContext operatorPower()
-
operatorMulDivMod
public LuaParser.OperatorMulDivModContext operatorMulDivMod()
-
operatorAddSub
public LuaParser.OperatorAddSubContext operatorAddSub()
-
operatorStrcat
public LuaParser.OperatorStrcatContext operatorStrcat()
-
operatorComparison
public LuaParser.OperatorComparisonContext operatorComparison()
-
operatorAnd
public LuaParser.OperatorAndContext operatorAnd()
-
operatorOr
public LuaParser.OperatorOrContext operatorOr()
-
operatorBitwise
public LuaParser.OperatorBitwiseContext operatorBitwise()
-
getRuleIndex
public int getRuleIndex()
- Overrides:
getRuleIndexin classorg.antlr.v4.runtime.RuleContext
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRulein classorg.antlr.v4.runtime.ParserRuleContext
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRulein classorg.antlr.v4.runtime.ParserRuleContext
-
-