parser

package
v1.3.5-alpha-0814 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LuaLexerFunction     = 1
	LuaLexerNil          = 2
	LuaLexerFalse        = 3
	LuaLexerTrue         = 4
	LuaLexerReturn       = 5
	LuaLexerBreak        = 6
	LuaLexerContinue     = 7
	LuaLexerGoto         = 8
	LuaLexerRepeat       = 9
	LuaLexerUntil        = 10
	LuaLexerWhile        = 11
	LuaLexerDo           = 12
	LuaLexerEnd          = 13
	LuaLexerIf           = 14
	LuaLexerThen         = 15
	LuaLexerElse         = 16
	LuaLexerElseIf       = 17
	LuaLexerFor          = 18
	LuaLexerIn           = 19
	LuaLexerLocal        = 20
	LuaLexerNot          = 21
	LuaLexerOr           = 22
	LuaLexerAnd          = 23
	LuaLexerMul          = 24
	LuaLexerDiv          = 25
	LuaLexerIntegralDiv  = 26
	LuaLexerMod          = 27
	LuaLexerAmp          = 28
	LuaLexerXand         = 29
	LuaLexerLtLt         = 30
	LuaLexerGtGt         = 31
	LuaLexerPlus         = 32
	LuaLexerSub          = 33
	LuaLexerPower        = 34
	LuaLexerLt           = 35
	LuaLexerGt           = 36
	LuaLexerEq           = 37
	LuaLexerLtEq         = 38
	LuaLexerGtEq         = 39
	LuaLexerNeq          = 40
	LuaLexerColon        = 41
	LuaLexerDoubleColon  = 42
	LuaLexerLBracket     = 43
	LuaLexerRBracket     = 44
	LuaLexerLParen       = 45
	LuaLexerRParen       = 46
	LuaLexerLBrace       = 47
	LuaLexerRBrace       = 48
	LuaLexerComma        = 49
	LuaLexerPound        = 50
	LuaLexerAssignEq     = 51
	LuaLexerPlusPlus     = 52
	LuaLexerSubSub       = 53
	LuaLexerPlusEq       = 54
	LuaLexerMinusEq      = 55
	LuaLexerMulEq        = 56
	LuaLexerDivEq        = 57
	LuaLexerModEq        = 58
	LuaLexerSemiColon    = 59
	LuaLexerEllipsis     = 60
	LuaLexerNotSymbol    = 61
	LuaLexerDot          = 62
	LuaLexerStrcat       = 63
	LuaLexerNAME         = 64
	LuaLexerNORMALSTRING = 65
	LuaLexerCHARSTRING   = 66
	LuaLexerLONGSTRING   = 67
	LuaLexerINT          = 68
	LuaLexerHEX          = 69
	LuaLexerFLOAT        = 70
	LuaLexerHEX_FLOAT    = 71
	LuaLexerCOMMENT      = 72
	LuaLexerLINE_COMMENT = 73
	LuaLexerWS           = 74
	LuaLexerSHEBANG      = 75
)

LuaLexer tokens.

View Source
const (
	LuaParserEOF          = antlr.TokenEOF
	LuaParserFunction     = 1
	LuaParserNil          = 2
	LuaParserFalse        = 3
	LuaParserTrue         = 4
	LuaParserReturn       = 5
	LuaParserBreak        = 6
	LuaParserContinue     = 7
	LuaParserGoto         = 8
	LuaParserRepeat       = 9
	LuaParserUntil        = 10
	LuaParserWhile        = 11
	LuaParserDo           = 12
	LuaParserEnd          = 13
	LuaParserIf           = 14
	LuaParserThen         = 15
	LuaParserElse         = 16
	LuaParserElseIf       = 17
	LuaParserFor          = 18
	LuaParserIn           = 19
	LuaParserLocal        = 20
	LuaParserNot          = 21
	LuaParserOr           = 22
	LuaParserAnd          = 23
	LuaParserMul          = 24
	LuaParserDiv          = 25
	LuaParserIntegralDiv  = 26
	LuaParserMod          = 27
	LuaParserAmp          = 28
	LuaParserXand         = 29
	LuaParserLtLt         = 30
	LuaParserGtGt         = 31
	LuaParserPlus         = 32
	LuaParserSub          = 33
	LuaParserPower        = 34
	LuaParserLt           = 35
	LuaParserGt           = 36
	LuaParserEq           = 37
	LuaParserLtEq         = 38
	LuaParserGtEq         = 39
	LuaParserNeq          = 40
	LuaParserColon        = 41
	LuaParserDoubleColon  = 42
	LuaParserLBracket     = 43
	LuaParserRBracket     = 44
	LuaParserLParen       = 45
	LuaParserRParen       = 46
	LuaParserLBrace       = 47
	LuaParserRBrace       = 48
	LuaParserComma        = 49
	LuaParserPound        = 50
	LuaParserAssignEq     = 51
	LuaParserPlusPlus     = 52
	LuaParserSubSub       = 53
	LuaParserPlusEq       = 54
	LuaParserMinusEq      = 55
	LuaParserMulEq        = 56
	LuaParserDivEq        = 57
	LuaParserModEq        = 58
	LuaParserSemiColon    = 59
	LuaParserEllipsis     = 60
	LuaParserNotSymbol    = 61
	LuaParserDot          = 62
	LuaParserStrcat       = 63
	LuaParserNAME         = 64
	LuaParserNORMALSTRING = 65
	LuaParserCHARSTRING   = 66
	LuaParserLONGSTRING   = 67
	LuaParserINT          = 68
	LuaParserHEX          = 69
	LuaParserFLOAT        = 70
	LuaParserHEX_FLOAT    = 71
	LuaParserCOMMENT      = 72
	LuaParserLINE_COMMENT = 73
	LuaParserWS           = 74
	LuaParserSHEBANG      = 75
)

LuaParser tokens.

View Source
const (
	LuaParserRULE_chunk              = 0
	LuaParserRULE_block              = 1
	LuaParserRULE_stat               = 2
	LuaParserRULE_attnamelist        = 3
	LuaParserRULE_attrib             = 4
	LuaParserRULE_laststat           = 5
	LuaParserRULE_label              = 6
	LuaParserRULE_funcname           = 7
	LuaParserRULE_varlist            = 8
	LuaParserRULE_namelist           = 9
	LuaParserRULE_explist            = 10
	LuaParserRULE_exp                = 11
	LuaParserRULE_prefixexp          = 12
	LuaParserRULE_functioncall       = 13
	LuaParserRULE_varOrExp           = 14
	LuaParserRULE_var                = 15
	LuaParserRULE_varSuffix          = 16
	LuaParserRULE_nameAndArgs        = 17
	LuaParserRULE_args               = 18
	LuaParserRULE_functiondef        = 19
	LuaParserRULE_funcbody           = 20
	LuaParserRULE_parlist            = 21
	LuaParserRULE_tableconstructor   = 22
	LuaParserRULE_fieldlist          = 23
	LuaParserRULE_field              = 24
	LuaParserRULE_fieldsep           = 25
	LuaParserRULE_operatorOr         = 26
	LuaParserRULE_operatorAnd        = 27
	LuaParserRULE_operatorComparison = 28
	LuaParserRULE_operatorStrcat     = 29
	LuaParserRULE_operatorAddSub     = 30
	LuaParserRULE_operatorMulDivMod  = 31
	LuaParserRULE_operatorBitwise    = 32
	LuaParserRULE_operatorUnary      = 33
	LuaParserRULE_operatorPower      = 34
	LuaParserRULE_number             = 35
	LuaParserRULE_string             = 36
)

LuaParser rules.

Variables

This section is empty.

Functions

func LuaLexerInit

func LuaLexerInit()

LuaLexerInit initializes any static state used to implement LuaLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewLuaLexer(). You can call this function if you wish to initialize the static state ahead of time.

func LuaParserInit

func LuaParserInit()

LuaParserInit initializes any static state used to implement LuaParser. By default the static state used to implement the parser is lazily initialized during the first call to NewLuaParser(). You can call this function if you wish to initialize the static state ahead of time.

Types

type ArgsContext

type ArgsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewArgsContext

func NewArgsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgsContext

func NewEmptyArgsContext

func NewEmptyArgsContext() *ArgsContext

func (*ArgsContext) Accept

func (s *ArgsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ArgsContext) Explist

func (s *ArgsContext) Explist() IExplistContext

func (*ArgsContext) GetParser

func (s *ArgsContext) GetParser() antlr.Parser

func (*ArgsContext) GetRuleContext

func (s *ArgsContext) GetRuleContext() antlr.RuleContext

func (*ArgsContext) IsArgsContext

func (*ArgsContext) IsArgsContext()

func (*ArgsContext) LParen

func (s *ArgsContext) LParen() antlr.TerminalNode

func (*ArgsContext) RParen

func (s *ArgsContext) RParen() antlr.TerminalNode

func (*ArgsContext) String_

func (s *ArgsContext) String_() IStringContext

func (*ArgsContext) Tableconstructor

func (s *ArgsContext) Tableconstructor() ITableconstructorContext

func (*ArgsContext) ToStringTree

func (s *ArgsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type AttnamelistContext

type AttnamelistContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAttnamelistContext

func NewAttnamelistContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttnamelistContext

func NewEmptyAttnamelistContext

func NewEmptyAttnamelistContext() *AttnamelistContext

func (*AttnamelistContext) Accept

func (s *AttnamelistContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*AttnamelistContext) AllAttrib

func (s *AttnamelistContext) AllAttrib() []IAttribContext

func (*AttnamelistContext) AllComma

func (s *AttnamelistContext) AllComma() []antlr.TerminalNode

func (*AttnamelistContext) AllNAME

func (s *AttnamelistContext) AllNAME() []antlr.TerminalNode

func (*AttnamelistContext) Attrib

func (s *AttnamelistContext) Attrib(i int) IAttribContext

func (*AttnamelistContext) Comma

func (s *AttnamelistContext) Comma(i int) antlr.TerminalNode

func (*AttnamelistContext) GetParser

func (s *AttnamelistContext) GetParser() antlr.Parser

func (*AttnamelistContext) GetRuleContext

func (s *AttnamelistContext) GetRuleContext() antlr.RuleContext

func (*AttnamelistContext) IsAttnamelistContext

func (*AttnamelistContext) IsAttnamelistContext()

func (*AttnamelistContext) NAME

func (s *AttnamelistContext) NAME(i int) antlr.TerminalNode

func (*AttnamelistContext) ToStringTree

func (s *AttnamelistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type AttribContext

type AttribContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAttribContext

func NewAttribContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttribContext

func NewEmptyAttribContext

func NewEmptyAttribContext() *AttribContext

func (*AttribContext) Accept

func (s *AttribContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*AttribContext) GetParser

func (s *AttribContext) GetParser() antlr.Parser

func (*AttribContext) GetRuleContext

func (s *AttribContext) GetRuleContext() antlr.RuleContext

func (*AttribContext) Gt

func (s *AttribContext) Gt() antlr.TerminalNode

func (*AttribContext) IsAttribContext

func (*AttribContext) IsAttribContext()

func (*AttribContext) Lt

func (s *AttribContext) Lt() antlr.TerminalNode

func (*AttribContext) NAME

func (s *AttribContext) NAME() antlr.TerminalNode

func (*AttribContext) ToStringTree

func (s *AttribContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type BaseLuaParserVisitor

type BaseLuaParserVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseLuaParserVisitor) VisitArgs

func (v *BaseLuaParserVisitor) VisitArgs(ctx *ArgsContext) interface{}

func (*BaseLuaParserVisitor) VisitAttnamelist

func (v *BaseLuaParserVisitor) VisitAttnamelist(ctx *AttnamelistContext) interface{}

func (*BaseLuaParserVisitor) VisitAttrib

func (v *BaseLuaParserVisitor) VisitAttrib(ctx *AttribContext) interface{}

func (*BaseLuaParserVisitor) VisitBlock

func (v *BaseLuaParserVisitor) VisitBlock(ctx *BlockContext) interface{}

func (*BaseLuaParserVisitor) VisitChunk

func (v *BaseLuaParserVisitor) VisitChunk(ctx *ChunkContext) interface{}

func (*BaseLuaParserVisitor) VisitExp

func (v *BaseLuaParserVisitor) VisitExp(ctx *ExpContext) interface{}

func (*BaseLuaParserVisitor) VisitExplist

func (v *BaseLuaParserVisitor) VisitExplist(ctx *ExplistContext) interface{}

func (*BaseLuaParserVisitor) VisitField

func (v *BaseLuaParserVisitor) VisitField(ctx *FieldContext) interface{}

func (*BaseLuaParserVisitor) VisitFieldlist

func (v *BaseLuaParserVisitor) VisitFieldlist(ctx *FieldlistContext) interface{}

func (*BaseLuaParserVisitor) VisitFieldsep

func (v *BaseLuaParserVisitor) VisitFieldsep(ctx *FieldsepContext) interface{}

func (*BaseLuaParserVisitor) VisitFuncbody

func (v *BaseLuaParserVisitor) VisitFuncbody(ctx *FuncbodyContext) interface{}

func (*BaseLuaParserVisitor) VisitFuncname

func (v *BaseLuaParserVisitor) VisitFuncname(ctx *FuncnameContext) interface{}

func (*BaseLuaParserVisitor) VisitFunctioncall

func (v *BaseLuaParserVisitor) VisitFunctioncall(ctx *FunctioncallContext) interface{}

func (*BaseLuaParserVisitor) VisitFunctiondef

func (v *BaseLuaParserVisitor) VisitFunctiondef(ctx *FunctiondefContext) interface{}

func (*BaseLuaParserVisitor) VisitLabel

func (v *BaseLuaParserVisitor) VisitLabel(ctx *LabelContext) interface{}

func (*BaseLuaParserVisitor) VisitLaststat

func (v *BaseLuaParserVisitor) VisitLaststat(ctx *LaststatContext) interface{}

func (*BaseLuaParserVisitor) VisitNameAndArgs

func (v *BaseLuaParserVisitor) VisitNameAndArgs(ctx *NameAndArgsContext) interface{}

func (*BaseLuaParserVisitor) VisitNamelist

func (v *BaseLuaParserVisitor) VisitNamelist(ctx *NamelistContext) interface{}

func (*BaseLuaParserVisitor) VisitNumber

func (v *BaseLuaParserVisitor) VisitNumber(ctx *NumberContext) interface{}

func (*BaseLuaParserVisitor) VisitOperatorAddSub

func (v *BaseLuaParserVisitor) VisitOperatorAddSub(ctx *OperatorAddSubContext) interface{}

func (*BaseLuaParserVisitor) VisitOperatorAnd

func (v *BaseLuaParserVisitor) VisitOperatorAnd(ctx *OperatorAndContext) interface{}

func (*BaseLuaParserVisitor) VisitOperatorBitwise

func (v *BaseLuaParserVisitor) VisitOperatorBitwise(ctx *OperatorBitwiseContext) interface{}

func (*BaseLuaParserVisitor) VisitOperatorComparison

func (v *BaseLuaParserVisitor) VisitOperatorComparison(ctx *OperatorComparisonContext) interface{}

func (*BaseLuaParserVisitor) VisitOperatorMulDivMod

func (v *BaseLuaParserVisitor) VisitOperatorMulDivMod(ctx *OperatorMulDivModContext) interface{}

func (*BaseLuaParserVisitor) VisitOperatorOr

func (v *BaseLuaParserVisitor) VisitOperatorOr(ctx *OperatorOrContext) interface{}

func (*BaseLuaParserVisitor) VisitOperatorPower

func (v *BaseLuaParserVisitor) VisitOperatorPower(ctx *OperatorPowerContext) interface{}

func (*BaseLuaParserVisitor) VisitOperatorStrcat

func (v *BaseLuaParserVisitor) VisitOperatorStrcat(ctx *OperatorStrcatContext) interface{}

func (*BaseLuaParserVisitor) VisitOperatorUnary

func (v *BaseLuaParserVisitor) VisitOperatorUnary(ctx *OperatorUnaryContext) interface{}

func (*BaseLuaParserVisitor) VisitParlist

func (v *BaseLuaParserVisitor) VisitParlist(ctx *ParlistContext) interface{}

func (*BaseLuaParserVisitor) VisitPrefixexp

func (v *BaseLuaParserVisitor) VisitPrefixexp(ctx *PrefixexpContext) interface{}

func (*BaseLuaParserVisitor) VisitStat

func (v *BaseLuaParserVisitor) VisitStat(ctx *StatContext) interface{}

func (*BaseLuaParserVisitor) VisitString

func (v *BaseLuaParserVisitor) VisitString(ctx *StringContext) interface{}

func (*BaseLuaParserVisitor) VisitTableconstructor

func (v *BaseLuaParserVisitor) VisitTableconstructor(ctx *TableconstructorContext) interface{}

func (*BaseLuaParserVisitor) VisitVar

func (v *BaseLuaParserVisitor) VisitVar(ctx *VarContext) interface{}

func (*BaseLuaParserVisitor) VisitVarOrExp

func (v *BaseLuaParserVisitor) VisitVarOrExp(ctx *VarOrExpContext) interface{}

func (*BaseLuaParserVisitor) VisitVarSuffix

func (v *BaseLuaParserVisitor) VisitVarSuffix(ctx *VarSuffixContext) interface{}

func (*BaseLuaParserVisitor) VisitVarlist

func (v *BaseLuaParserVisitor) VisitVarlist(ctx *VarlistContext) interface{}

type BlockContext

type BlockContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewBlockContext

func NewBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BlockContext

func NewEmptyBlockContext

func NewEmptyBlockContext() *BlockContext

func (*BlockContext) Accept

func (s *BlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*BlockContext) AllStat

func (s *BlockContext) AllStat() []IStatContext

func (*BlockContext) GetParser

func (s *BlockContext) GetParser() antlr.Parser

func (*BlockContext) GetRuleContext

func (s *BlockContext) GetRuleContext() antlr.RuleContext

func (*BlockContext) IsBlockContext

func (*BlockContext) IsBlockContext()

func (*BlockContext) Laststat

func (s *BlockContext) Laststat() ILaststatContext

func (*BlockContext) Stat

func (s *BlockContext) Stat(i int) IStatContext

func (*BlockContext) ToStringTree

func (s *BlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ChunkContext

type ChunkContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewChunkContext

func NewChunkContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ChunkContext

func NewEmptyChunkContext

func NewEmptyChunkContext() *ChunkContext

func (*ChunkContext) Accept

func (s *ChunkContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ChunkContext) Block

func (s *ChunkContext) Block() IBlockContext

func (*ChunkContext) EOF

func (s *ChunkContext) EOF() antlr.TerminalNode

func (*ChunkContext) GetParser

func (s *ChunkContext) GetParser() antlr.Parser

func (*ChunkContext) GetRuleContext

func (s *ChunkContext) GetRuleContext() antlr.RuleContext

func (*ChunkContext) IsChunkContext

func (*ChunkContext) IsChunkContext()

func (*ChunkContext) ToStringTree

func (s *ChunkContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ExpContext

type ExpContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExpContext

func NewEmptyExpContext() *ExpContext

func NewExpContext

func NewExpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpContext

func (*ExpContext) Accept

func (s *ExpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ExpContext) AllExp

func (s *ExpContext) AllExp() []IExpContext

func (*ExpContext) Ellipsis

func (s *ExpContext) Ellipsis() antlr.TerminalNode

func (*ExpContext) Exp

func (s *ExpContext) Exp(i int) IExpContext

func (*ExpContext) False

func (s *ExpContext) False() antlr.TerminalNode

func (*ExpContext) Functiondef

func (s *ExpContext) Functiondef() IFunctiondefContext

func (*ExpContext) GetParser

func (s *ExpContext) GetParser() antlr.Parser

func (*ExpContext) GetRuleContext

func (s *ExpContext) GetRuleContext() antlr.RuleContext

func (*ExpContext) IsExpContext

func (*ExpContext) IsExpContext()

func (*ExpContext) Nil

func (s *ExpContext) Nil() antlr.TerminalNode

func (*ExpContext) Number

func (s *ExpContext) Number() INumberContext

func (*ExpContext) OperatorAddSub

func (s *ExpContext) OperatorAddSub() IOperatorAddSubContext

func (*ExpContext) OperatorAnd

func (s *ExpContext) OperatorAnd() IOperatorAndContext

func (*ExpContext) OperatorBitwise

func (s *ExpContext) OperatorBitwise() IOperatorBitwiseContext

func (*ExpContext) OperatorComparison

func (s *ExpContext) OperatorComparison() IOperatorComparisonContext

func (*ExpContext) OperatorMulDivMod

func (s *ExpContext) OperatorMulDivMod() IOperatorMulDivModContext

func (*ExpContext) OperatorOr

func (s *ExpContext) OperatorOr() IOperatorOrContext

func (*ExpContext) OperatorPower

func (s *ExpContext) OperatorPower() IOperatorPowerContext

func (*ExpContext) OperatorStrcat

func (s *ExpContext) OperatorStrcat() IOperatorStrcatContext

func (*ExpContext) OperatorUnary

func (s *ExpContext) OperatorUnary() IOperatorUnaryContext

func (*ExpContext) Prefixexp

func (s *ExpContext) Prefixexp() IPrefixexpContext

func (*ExpContext) String_

func (s *ExpContext) String_() IStringContext

func (*ExpContext) Tableconstructor

func (s *ExpContext) Tableconstructor() ITableconstructorContext

func (*ExpContext) ToStringTree

func (s *ExpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ExpContext) True

func (s *ExpContext) True() antlr.TerminalNode

type ExplistContext

type ExplistContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExplistContext

func NewEmptyExplistContext() *ExplistContext

func NewExplistContext

func NewExplistContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExplistContext

func (*ExplistContext) Accept

func (s *ExplistContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ExplistContext) AllComma

func (s *ExplistContext) AllComma() []antlr.TerminalNode

func (*ExplistContext) AllExp

func (s *ExplistContext) AllExp() []IExpContext

func (*ExplistContext) Comma

func (s *ExplistContext) Comma(i int) antlr.TerminalNode

func (*ExplistContext) Exp

func (s *ExplistContext) Exp(i int) IExpContext

func (*ExplistContext) GetParser

func (s *ExplistContext) GetParser() antlr.Parser

func (*ExplistContext) GetRuleContext

func (s *ExplistContext) GetRuleContext() antlr.RuleContext

func (*ExplistContext) IsExplistContext

func (*ExplistContext) IsExplistContext()

func (*ExplistContext) ToStringTree

func (s *ExplistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FieldContext

type FieldContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFieldContext

func NewEmptyFieldContext() *FieldContext

func NewFieldContext

func NewFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldContext

func (*FieldContext) Accept

func (s *FieldContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FieldContext) AllExp

func (s *FieldContext) AllExp() []IExpContext

func (*FieldContext) AssignEq

func (s *FieldContext) AssignEq() antlr.TerminalNode

func (*FieldContext) Exp

func (s *FieldContext) Exp(i int) IExpContext

func (*FieldContext) GetParser

func (s *FieldContext) GetParser() antlr.Parser

func (*FieldContext) GetRuleContext

func (s *FieldContext) GetRuleContext() antlr.RuleContext

func (*FieldContext) IsFieldContext

func (*FieldContext) IsFieldContext()

func (*FieldContext) LBracket

func (s *FieldContext) LBracket() antlr.TerminalNode

func (*FieldContext) NAME

func (s *FieldContext) NAME() antlr.TerminalNode

func (*FieldContext) RBracket

func (s *FieldContext) RBracket() antlr.TerminalNode

func (*FieldContext) ToStringTree

func (s *FieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FieldlistContext

type FieldlistContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFieldlistContext

func NewEmptyFieldlistContext() *FieldlistContext

func NewFieldlistContext

func NewFieldlistContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldlistContext

func (*FieldlistContext) Accept

func (s *FieldlistContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FieldlistContext) AllField

func (s *FieldlistContext) AllField() []IFieldContext

func (*FieldlistContext) AllFieldsep

func (s *FieldlistContext) AllFieldsep() []IFieldsepContext

func (*FieldlistContext) Field

func (s *FieldlistContext) Field(i int) IFieldContext

func (*FieldlistContext) Fieldsep

func (s *FieldlistContext) Fieldsep(i int) IFieldsepContext

func (*FieldlistContext) GetParser

func (s *FieldlistContext) GetParser() antlr.Parser

func (*FieldlistContext) GetRuleContext

func (s *FieldlistContext) GetRuleContext() antlr.RuleContext

func (*FieldlistContext) IsFieldlistContext

func (*FieldlistContext) IsFieldlistContext()

func (*FieldlistContext) ToStringTree

func (s *FieldlistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FieldsepContext

type FieldsepContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFieldsepContext

func NewEmptyFieldsepContext() *FieldsepContext

func NewFieldsepContext

func NewFieldsepContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldsepContext

func (*FieldsepContext) Accept

func (s *FieldsepContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FieldsepContext) Comma

func (s *FieldsepContext) Comma() antlr.TerminalNode

func (*FieldsepContext) GetParser

func (s *FieldsepContext) GetParser() antlr.Parser

func (*FieldsepContext) GetRuleContext

func (s *FieldsepContext) GetRuleContext() antlr.RuleContext

func (*FieldsepContext) IsFieldsepContext

func (*FieldsepContext) IsFieldsepContext()

func (*FieldsepContext) SemiColon

func (s *FieldsepContext) SemiColon() antlr.TerminalNode

func (*FieldsepContext) ToStringTree

func (s *FieldsepContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FuncbodyContext

type FuncbodyContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFuncbodyContext

func NewEmptyFuncbodyContext() *FuncbodyContext

func NewFuncbodyContext

func NewFuncbodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncbodyContext

func (*FuncbodyContext) Accept

func (s *FuncbodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FuncbodyContext) Block

func (s *FuncbodyContext) Block() IBlockContext

func (*FuncbodyContext) End

func (s *FuncbodyContext) End() antlr.TerminalNode

func (*FuncbodyContext) GetParser

func (s *FuncbodyContext) GetParser() antlr.Parser

func (*FuncbodyContext) GetRuleContext

func (s *FuncbodyContext) GetRuleContext() antlr.RuleContext

func (*FuncbodyContext) IsFuncbodyContext

func (*FuncbodyContext) IsFuncbodyContext()

func (*FuncbodyContext) LParen

func (s *FuncbodyContext) LParen() antlr.TerminalNode

func (*FuncbodyContext) Parlist

func (s *FuncbodyContext) Parlist() IParlistContext

func (*FuncbodyContext) RParen

func (s *FuncbodyContext) RParen() antlr.TerminalNode

func (*FuncbodyContext) ToStringTree

func (s *FuncbodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FuncnameContext

type FuncnameContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFuncnameContext

func NewEmptyFuncnameContext() *FuncnameContext

func NewFuncnameContext

func NewFuncnameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncnameContext

func (*FuncnameContext) Accept

func (s *FuncnameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FuncnameContext) AllDot

func (s *FuncnameContext) AllDot() []antlr.TerminalNode

func (*FuncnameContext) AllNAME

func (s *FuncnameContext) AllNAME() []antlr.TerminalNode

func (*FuncnameContext) Colon

func (s *FuncnameContext) Colon() antlr.TerminalNode

func (*FuncnameContext) Dot

func (s *FuncnameContext) Dot(i int) antlr.TerminalNode

func (*FuncnameContext) GetParser

func (s *FuncnameContext) GetParser() antlr.Parser

func (*FuncnameContext) GetRuleContext

func (s *FuncnameContext) GetRuleContext() antlr.RuleContext

func (*FuncnameContext) IsFuncnameContext

func (*FuncnameContext) IsFuncnameContext()

func (*FuncnameContext) NAME

func (s *FuncnameContext) NAME(i int) antlr.TerminalNode

func (*FuncnameContext) ToStringTree

func (s *FuncnameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FunctioncallContext

type FunctioncallContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFunctioncallContext

func NewEmptyFunctioncallContext() *FunctioncallContext

func NewFunctioncallContext

func NewFunctioncallContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctioncallContext

func (*FunctioncallContext) Accept

func (s *FunctioncallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FunctioncallContext) AllNameAndArgs

func (s *FunctioncallContext) AllNameAndArgs() []INameAndArgsContext

func (*FunctioncallContext) GetParser

func (s *FunctioncallContext) GetParser() antlr.Parser

func (*FunctioncallContext) GetRuleContext

func (s *FunctioncallContext) GetRuleContext() antlr.RuleContext

func (*FunctioncallContext) IsFunctioncallContext

func (*FunctioncallContext) IsFunctioncallContext()

func (*FunctioncallContext) NameAndArgs

func (s *FunctioncallContext) NameAndArgs(i int) INameAndArgsContext

func (*FunctioncallContext) ToStringTree

func (s *FunctioncallContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*FunctioncallContext) VarOrExp

func (s *FunctioncallContext) VarOrExp() IVarOrExpContext

type FunctiondefContext

type FunctiondefContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFunctiondefContext

func NewEmptyFunctiondefContext() *FunctiondefContext

func NewFunctiondefContext

func NewFunctiondefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctiondefContext

func (*FunctiondefContext) Accept

func (s *FunctiondefContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FunctiondefContext) Funcbody

func (s *FunctiondefContext) Funcbody() IFuncbodyContext

func (*FunctiondefContext) Function

func (s *FunctiondefContext) Function() antlr.TerminalNode

func (*FunctiondefContext) GetParser

func (s *FunctiondefContext) GetParser() antlr.Parser

func (*FunctiondefContext) GetRuleContext

func (s *FunctiondefContext) GetRuleContext() antlr.RuleContext

func (*FunctiondefContext) IsFunctiondefContext

func (*FunctiondefContext) IsFunctiondefContext()

func (*FunctiondefContext) ToStringTree

func (s *FunctiondefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IArgsContext

type IArgsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsArgsContext differentiates from other interfaces.
	IsArgsContext()
}

IArgsContext is an interface to support dynamic dispatch.

type IAttnamelistContext

type IAttnamelistContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsAttnamelistContext differentiates from other interfaces.
	IsAttnamelistContext()
}

IAttnamelistContext is an interface to support dynamic dispatch.

type IAttribContext

type IAttribContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsAttribContext differentiates from other interfaces.
	IsAttribContext()
}

IAttribContext is an interface to support dynamic dispatch.

type IBlockContext

type IBlockContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsBlockContext differentiates from other interfaces.
	IsBlockContext()
}

IBlockContext is an interface to support dynamic dispatch.

type IChunkContext

type IChunkContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsChunkContext differentiates from other interfaces.
	IsChunkContext()
}

IChunkContext is an interface to support dynamic dispatch.

type IExpContext

type IExpContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExpContext differentiates from other interfaces.
	IsExpContext()
}

IExpContext is an interface to support dynamic dispatch.

type IExplistContext

type IExplistContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExplistContext differentiates from other interfaces.
	IsExplistContext()
}

IExplistContext is an interface to support dynamic dispatch.

type IFieldContext

type IFieldContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFieldContext differentiates from other interfaces.
	IsFieldContext()
}

IFieldContext is an interface to support dynamic dispatch.

type IFieldlistContext

type IFieldlistContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFieldlistContext differentiates from other interfaces.
	IsFieldlistContext()
}

IFieldlistContext is an interface to support dynamic dispatch.

type IFieldsepContext

type IFieldsepContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFieldsepContext differentiates from other interfaces.
	IsFieldsepContext()
}

IFieldsepContext is an interface to support dynamic dispatch.

type IFuncbodyContext

type IFuncbodyContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFuncbodyContext differentiates from other interfaces.
	IsFuncbodyContext()
}

IFuncbodyContext is an interface to support dynamic dispatch.

type IFuncnameContext

type IFuncnameContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFuncnameContext differentiates from other interfaces.
	IsFuncnameContext()
}

IFuncnameContext is an interface to support dynamic dispatch.

type IFunctioncallContext

type IFunctioncallContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFunctioncallContext differentiates from other interfaces.
	IsFunctioncallContext()
}

IFunctioncallContext is an interface to support dynamic dispatch.

type IFunctiondefContext

type IFunctiondefContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFunctiondefContext differentiates from other interfaces.
	IsFunctiondefContext()
}

IFunctiondefContext is an interface to support dynamic dispatch.

type ILabelContext

type ILabelContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsLabelContext differentiates from other interfaces.
	IsLabelContext()
}

ILabelContext is an interface to support dynamic dispatch.

type ILaststatContext

type ILaststatContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsLaststatContext differentiates from other interfaces.
	IsLaststatContext()
}

ILaststatContext is an interface to support dynamic dispatch.

type INameAndArgsContext

type INameAndArgsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsNameAndArgsContext differentiates from other interfaces.
	IsNameAndArgsContext()
}

INameAndArgsContext is an interface to support dynamic dispatch.

type INamelistContext

type INamelistContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsNamelistContext differentiates from other interfaces.
	IsNamelistContext()
}

INamelistContext is an interface to support dynamic dispatch.

type INumberContext

type INumberContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsNumberContext differentiates from other interfaces.
	IsNumberContext()
}

INumberContext is an interface to support dynamic dispatch.

type IOperatorAddSubContext

type IOperatorAddSubContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOperatorAddSubContext differentiates from other interfaces.
	IsOperatorAddSubContext()
}

IOperatorAddSubContext is an interface to support dynamic dispatch.

type IOperatorAndContext

type IOperatorAndContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOperatorAndContext differentiates from other interfaces.
	IsOperatorAndContext()
}

IOperatorAndContext is an interface to support dynamic dispatch.

type IOperatorBitwiseContext

type IOperatorBitwiseContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOperatorBitwiseContext differentiates from other interfaces.
	IsOperatorBitwiseContext()
}

IOperatorBitwiseContext is an interface to support dynamic dispatch.

type IOperatorComparisonContext

type IOperatorComparisonContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOperatorComparisonContext differentiates from other interfaces.
	IsOperatorComparisonContext()
}

IOperatorComparisonContext is an interface to support dynamic dispatch.

type IOperatorMulDivModContext

type IOperatorMulDivModContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOperatorMulDivModContext differentiates from other interfaces.
	IsOperatorMulDivModContext()
}

IOperatorMulDivModContext is an interface to support dynamic dispatch.

type IOperatorOrContext

type IOperatorOrContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOperatorOrContext differentiates from other interfaces.
	IsOperatorOrContext()
}

IOperatorOrContext is an interface to support dynamic dispatch.

type IOperatorPowerContext

type IOperatorPowerContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOperatorPowerContext differentiates from other interfaces.
	IsOperatorPowerContext()
}

IOperatorPowerContext is an interface to support dynamic dispatch.

type IOperatorStrcatContext

type IOperatorStrcatContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOperatorStrcatContext differentiates from other interfaces.
	IsOperatorStrcatContext()
}

IOperatorStrcatContext is an interface to support dynamic dispatch.

type IOperatorUnaryContext

type IOperatorUnaryContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOperatorUnaryContext differentiates from other interfaces.
	IsOperatorUnaryContext()
}

IOperatorUnaryContext is an interface to support dynamic dispatch.

type IParlistContext

type IParlistContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsParlistContext differentiates from other interfaces.
	IsParlistContext()
}

IParlistContext is an interface to support dynamic dispatch.

type IPrefixexpContext

type IPrefixexpContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsPrefixexpContext differentiates from other interfaces.
	IsPrefixexpContext()
}

IPrefixexpContext is an interface to support dynamic dispatch.

type IStatContext

type IStatContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsStatContext differentiates from other interfaces.
	IsStatContext()
}

IStatContext is an interface to support dynamic dispatch.

type IStringContext

type IStringContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsStringContext differentiates from other interfaces.
	IsStringContext()
}

IStringContext is an interface to support dynamic dispatch.

type ITableconstructorContext

type ITableconstructorContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTableconstructorContext differentiates from other interfaces.
	IsTableconstructorContext()
}

ITableconstructorContext is an interface to support dynamic dispatch.

type IVarContext

type IVarContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsVarContext differentiates from other interfaces.
	IsVarContext()
}

IVarContext is an interface to support dynamic dispatch.

type IVarOrExpContext

type IVarOrExpContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsVarOrExpContext differentiates from other interfaces.
	IsVarOrExpContext()
}

IVarOrExpContext is an interface to support dynamic dispatch.

type IVarSuffixContext

type IVarSuffixContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsVarSuffixContext differentiates from other interfaces.
	IsVarSuffixContext()
}

IVarSuffixContext is an interface to support dynamic dispatch.

type IVarlistContext

type IVarlistContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsVarlistContext differentiates from other interfaces.
	IsVarlistContext()
}

IVarlistContext is an interface to support dynamic dispatch.

type LabelContext

type LabelContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyLabelContext

func NewEmptyLabelContext() *LabelContext

func NewLabelContext

func NewLabelContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LabelContext

func (*LabelContext) Accept

func (s *LabelContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*LabelContext) AllDoubleColon

func (s *LabelContext) AllDoubleColon() []antlr.TerminalNode

func (*LabelContext) DoubleColon

func (s *LabelContext) DoubleColon(i int) antlr.TerminalNode

func (*LabelContext) GetParser

func (s *LabelContext) GetParser() antlr.Parser

func (*LabelContext) GetRuleContext

func (s *LabelContext) GetRuleContext() antlr.RuleContext

func (*LabelContext) IsLabelContext

func (*LabelContext) IsLabelContext()

func (*LabelContext) NAME

func (s *LabelContext) NAME() antlr.TerminalNode

func (*LabelContext) ToStringTree

func (s *LabelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LaststatContext

type LaststatContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyLaststatContext

func NewEmptyLaststatContext() *LaststatContext

func NewLaststatContext

func NewLaststatContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LaststatContext

func (*LaststatContext) Accept

func (s *LaststatContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*LaststatContext) Break

func (s *LaststatContext) Break() antlr.TerminalNode

func (*LaststatContext) Continue

func (s *LaststatContext) Continue() antlr.TerminalNode

func (*LaststatContext) Explist

func (s *LaststatContext) Explist() IExplistContext

func (*LaststatContext) GetParser

func (s *LaststatContext) GetParser() antlr.Parser

func (*LaststatContext) GetRuleContext

func (s *LaststatContext) GetRuleContext() antlr.RuleContext

func (*LaststatContext) IsLaststatContext

func (*LaststatContext) IsLaststatContext()

func (*LaststatContext) Return

func (s *LaststatContext) Return() antlr.TerminalNode

func (*LaststatContext) SemiColon

func (s *LaststatContext) SemiColon() antlr.TerminalNode

func (*LaststatContext) ToStringTree

func (s *LaststatContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LuaLexer

type LuaLexer struct {
	*antlr.BaseLexer
	// contains filtered or unexported fields
}

func NewLuaLexer

func NewLuaLexer(input antlr.CharStream) *LuaLexer

NewLuaLexer produces a new lexer instance for the optional input antlr.CharStream.

type LuaParser

type LuaParser struct {
	*antlr.BaseParser
}

func NewLuaParser

func NewLuaParser(input antlr.TokenStream) *LuaParser

NewLuaParser produces a new parser instance for the optional input antlr.TokenStream.

func (*LuaParser) Args

func (p *LuaParser) Args() (localctx IArgsContext)

func (*LuaParser) Attnamelist

func (p *LuaParser) Attnamelist() (localctx IAttnamelistContext)

func (*LuaParser) Attrib

func (p *LuaParser) Attrib() (localctx IAttribContext)

func (*LuaParser) Block

func (p *LuaParser) Block() (localctx IBlockContext)

func (*LuaParser) Chunk

func (p *LuaParser) Chunk() (localctx IChunkContext)

func (*LuaParser) Exp

func (p *LuaParser) Exp() (localctx IExpContext)

func (*LuaParser) Exp_Sempred

func (p *LuaParser) Exp_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*LuaParser) Explist

func (p *LuaParser) Explist() (localctx IExplistContext)

func (*LuaParser) Field

func (p *LuaParser) Field() (localctx IFieldContext)

func (*LuaParser) Fieldlist

func (p *LuaParser) Fieldlist() (localctx IFieldlistContext)

func (*LuaParser) Fieldsep

func (p *LuaParser) Fieldsep() (localctx IFieldsepContext)

func (*LuaParser) Funcbody

func (p *LuaParser) Funcbody() (localctx IFuncbodyContext)

func (*LuaParser) Funcname

func (p *LuaParser) Funcname() (localctx IFuncnameContext)

func (*LuaParser) Functioncall

func (p *LuaParser) Functioncall() (localctx IFunctioncallContext)

func (*LuaParser) Functiondef

func (p *LuaParser) Functiondef() (localctx IFunctiondefContext)

func (*LuaParser) Label

func (p *LuaParser) Label() (localctx ILabelContext)

func (*LuaParser) Laststat

func (p *LuaParser) Laststat() (localctx ILaststatContext)

func (*LuaParser) NameAndArgs

func (p *LuaParser) NameAndArgs() (localctx INameAndArgsContext)

func (*LuaParser) Namelist

func (p *LuaParser) Namelist() (localctx INamelistContext)

func (*LuaParser) Number

func (p *LuaParser) Number() (localctx INumberContext)

func (*LuaParser) OperatorAddSub

func (p *LuaParser) OperatorAddSub() (localctx IOperatorAddSubContext)

func (*LuaParser) OperatorAnd

func (p *LuaParser) OperatorAnd() (localctx IOperatorAndContext)

func (*LuaParser) OperatorBitwise

func (p *LuaParser) OperatorBitwise() (localctx IOperatorBitwiseContext)

func (*LuaParser) OperatorComparison

func (p *LuaParser) OperatorComparison() (localctx IOperatorComparisonContext)

func (*LuaParser) OperatorMulDivMod

func (p *LuaParser) OperatorMulDivMod() (localctx IOperatorMulDivModContext)

func (*LuaParser) OperatorOr

func (p *LuaParser) OperatorOr() (localctx IOperatorOrContext)

func (*LuaParser) OperatorPower

func (p *LuaParser) OperatorPower() (localctx IOperatorPowerContext)

func (*LuaParser) OperatorStrcat

func (p *LuaParser) OperatorStrcat() (localctx IOperatorStrcatContext)

func (*LuaParser) OperatorUnary

func (p *LuaParser) OperatorUnary() (localctx IOperatorUnaryContext)

func (*LuaParser) Parlist

func (p *LuaParser) Parlist() (localctx IParlistContext)

func (*LuaParser) Prefixexp

func (p *LuaParser) Prefixexp() (localctx IPrefixexpContext)

func (*LuaParser) Sempred

func (p *LuaParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool

func (*LuaParser) Stat

func (p *LuaParser) Stat() (localctx IStatContext)

func (*LuaParser) String_

func (p *LuaParser) String_() (localctx IStringContext)

func (*LuaParser) Tableconstructor

func (p *LuaParser) Tableconstructor() (localctx ITableconstructorContext)

func (*LuaParser) VarOrExp

func (p *LuaParser) VarOrExp() (localctx IVarOrExpContext)

func (*LuaParser) VarSuffix

func (p *LuaParser) VarSuffix() (localctx IVarSuffixContext)

func (*LuaParser) Var_

func (p *LuaParser) Var_() (localctx IVarContext)

func (*LuaParser) Varlist

func (p *LuaParser) Varlist() (localctx IVarlistContext)

type LuaParserVisitor

type LuaParserVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by LuaParser#chunk.
	VisitChunk(ctx *ChunkContext) interface{}

	// Visit a parse tree produced by LuaParser#block.
	VisitBlock(ctx *BlockContext) interface{}

	// Visit a parse tree produced by LuaParser#stat.
	VisitStat(ctx *StatContext) interface{}

	// Visit a parse tree produced by LuaParser#attnamelist.
	VisitAttnamelist(ctx *AttnamelistContext) interface{}

	// Visit a parse tree produced by LuaParser#attrib.
	VisitAttrib(ctx *AttribContext) interface{}

	// Visit a parse tree produced by LuaParser#laststat.
	VisitLaststat(ctx *LaststatContext) interface{}

	// Visit a parse tree produced by LuaParser#label.
	VisitLabel(ctx *LabelContext) interface{}

	// Visit a parse tree produced by LuaParser#funcname.
	VisitFuncname(ctx *FuncnameContext) interface{}

	// Visit a parse tree produced by LuaParser#varlist.
	VisitVarlist(ctx *VarlistContext) interface{}

	// Visit a parse tree produced by LuaParser#namelist.
	VisitNamelist(ctx *NamelistContext) interface{}

	// Visit a parse tree produced by LuaParser#explist.
	VisitExplist(ctx *ExplistContext) interface{}

	// Visit a parse tree produced by LuaParser#exp.
	VisitExp(ctx *ExpContext) interface{}

	// Visit a parse tree produced by LuaParser#prefixexp.
	VisitPrefixexp(ctx *PrefixexpContext) interface{}

	// Visit a parse tree produced by LuaParser#functioncall.
	VisitFunctioncall(ctx *FunctioncallContext) interface{}

	// Visit a parse tree produced by LuaParser#varOrExp.
	VisitVarOrExp(ctx *VarOrExpContext) interface{}

	// Visit a parse tree produced by LuaParser#var.
	VisitVar(ctx *VarContext) interface{}

	// Visit a parse tree produced by LuaParser#varSuffix.
	VisitVarSuffix(ctx *VarSuffixContext) interface{}

	// Visit a parse tree produced by LuaParser#nameAndArgs.
	VisitNameAndArgs(ctx *NameAndArgsContext) interface{}

	// Visit a parse tree produced by LuaParser#args.
	VisitArgs(ctx *ArgsContext) interface{}

	// Visit a parse tree produced by LuaParser#functiondef.
	VisitFunctiondef(ctx *FunctiondefContext) interface{}

	// Visit a parse tree produced by LuaParser#funcbody.
	VisitFuncbody(ctx *FuncbodyContext) interface{}

	// Visit a parse tree produced by LuaParser#parlist.
	VisitParlist(ctx *ParlistContext) interface{}

	// Visit a parse tree produced by LuaParser#tableconstructor.
	VisitTableconstructor(ctx *TableconstructorContext) interface{}

	// Visit a parse tree produced by LuaParser#fieldlist.
	VisitFieldlist(ctx *FieldlistContext) interface{}

	// Visit a parse tree produced by LuaParser#field.
	VisitField(ctx *FieldContext) interface{}

	// Visit a parse tree produced by LuaParser#fieldsep.
	VisitFieldsep(ctx *FieldsepContext) interface{}

	// Visit a parse tree produced by LuaParser#operatorOr.
	VisitOperatorOr(ctx *OperatorOrContext) interface{}

	// Visit a parse tree produced by LuaParser#operatorAnd.
	VisitOperatorAnd(ctx *OperatorAndContext) interface{}

	// Visit a parse tree produced by LuaParser#operatorComparison.
	VisitOperatorComparison(ctx *OperatorComparisonContext) interface{}

	// Visit a parse tree produced by LuaParser#operatorStrcat.
	VisitOperatorStrcat(ctx *OperatorStrcatContext) interface{}

	// Visit a parse tree produced by LuaParser#operatorAddSub.
	VisitOperatorAddSub(ctx *OperatorAddSubContext) interface{}

	// Visit a parse tree produced by LuaParser#operatorMulDivMod.
	VisitOperatorMulDivMod(ctx *OperatorMulDivModContext) interface{}

	// Visit a parse tree produced by LuaParser#operatorBitwise.
	VisitOperatorBitwise(ctx *OperatorBitwiseContext) interface{}

	// Visit a parse tree produced by LuaParser#operatorUnary.
	VisitOperatorUnary(ctx *OperatorUnaryContext) interface{}

	// Visit a parse tree produced by LuaParser#operatorPower.
	VisitOperatorPower(ctx *OperatorPowerContext) interface{}

	// Visit a parse tree produced by LuaParser#number.
	VisitNumber(ctx *NumberContext) interface{}

	// Visit a parse tree produced by LuaParser#string.
	VisitString(ctx *StringContext) interface{}
}

A complete Visitor for a parse tree produced by LuaParser.

type NameAndArgsContext

type NameAndArgsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNameAndArgsContext

func NewEmptyNameAndArgsContext() *NameAndArgsContext

func NewNameAndArgsContext

func NewNameAndArgsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NameAndArgsContext

func (*NameAndArgsContext) Accept

func (s *NameAndArgsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*NameAndArgsContext) Args

func (s *NameAndArgsContext) Args() IArgsContext

func (*NameAndArgsContext) Colon

func (s *NameAndArgsContext) Colon() antlr.TerminalNode

func (*NameAndArgsContext) GetParser

func (s *NameAndArgsContext) GetParser() antlr.Parser

func (*NameAndArgsContext) GetRuleContext

func (s *NameAndArgsContext) GetRuleContext() antlr.RuleContext

func (*NameAndArgsContext) IsNameAndArgsContext

func (*NameAndArgsContext) IsNameAndArgsContext()

func (*NameAndArgsContext) NAME

func (s *NameAndArgsContext) NAME() antlr.TerminalNode

func (*NameAndArgsContext) ToStringTree

func (s *NameAndArgsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NamelistContext

type NamelistContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNamelistContext

func NewEmptyNamelistContext() *NamelistContext

func NewNamelistContext

func NewNamelistContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NamelistContext

func (*NamelistContext) Accept

func (s *NamelistContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*NamelistContext) AllComma

func (s *NamelistContext) AllComma() []antlr.TerminalNode

func (*NamelistContext) AllNAME

func (s *NamelistContext) AllNAME() []antlr.TerminalNode

func (*NamelistContext) Comma

func (s *NamelistContext) Comma(i int) antlr.TerminalNode

func (*NamelistContext) GetParser

func (s *NamelistContext) GetParser() antlr.Parser

func (*NamelistContext) GetRuleContext

func (s *NamelistContext) GetRuleContext() antlr.RuleContext

func (*NamelistContext) IsNamelistContext

func (*NamelistContext) IsNamelistContext()

func (*NamelistContext) NAME

func (s *NamelistContext) NAME(i int) antlr.TerminalNode

func (*NamelistContext) ToStringTree

func (s *NamelistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NumberContext

type NumberContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNumberContext

func NewEmptyNumberContext() *NumberContext

func NewNumberContext

func NewNumberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberContext

func (*NumberContext) Accept

func (s *NumberContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*NumberContext) FLOAT

func (s *NumberContext) FLOAT() antlr.TerminalNode

func (*NumberContext) GetParser

func (s *NumberContext) GetParser() antlr.Parser

func (*NumberContext) GetRuleContext

func (s *NumberContext) GetRuleContext() antlr.RuleContext

func (*NumberContext) HEX

func (s *NumberContext) HEX() antlr.TerminalNode

func (*NumberContext) HEX_FLOAT

func (s *NumberContext) HEX_FLOAT() antlr.TerminalNode

func (*NumberContext) INT

func (s *NumberContext) INT() antlr.TerminalNode

func (*NumberContext) IsNumberContext

func (*NumberContext) IsNumberContext()

func (*NumberContext) ToStringTree

func (s *NumberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OperatorAddSubContext

type OperatorAddSubContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOperatorAddSubContext

func NewEmptyOperatorAddSubContext() *OperatorAddSubContext

func NewOperatorAddSubContext

func NewOperatorAddSubContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperatorAddSubContext

func (*OperatorAddSubContext) Accept

func (s *OperatorAddSubContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*OperatorAddSubContext) GetParser

func (s *OperatorAddSubContext) GetParser() antlr.Parser

func (*OperatorAddSubContext) GetRuleContext

func (s *OperatorAddSubContext) GetRuleContext() antlr.RuleContext

func (*OperatorAddSubContext) IsOperatorAddSubContext

func (*OperatorAddSubContext) IsOperatorAddSubContext()

func (*OperatorAddSubContext) Plus

func (s *OperatorAddSubContext) Plus() antlr.TerminalNode

func (*OperatorAddSubContext) Sub

func (s *OperatorAddSubContext) Sub() antlr.TerminalNode

func (*OperatorAddSubContext) ToStringTree

func (s *OperatorAddSubContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OperatorAndContext

type OperatorAndContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOperatorAndContext

func NewEmptyOperatorAndContext() *OperatorAndContext

func NewOperatorAndContext

func NewOperatorAndContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperatorAndContext

func (*OperatorAndContext) Accept

func (s *OperatorAndContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*OperatorAndContext) And

func (s *OperatorAndContext) And() antlr.TerminalNode

func (*OperatorAndContext) GetParser

func (s *OperatorAndContext) GetParser() antlr.Parser

func (*OperatorAndContext) GetRuleContext

func (s *OperatorAndContext) GetRuleContext() antlr.RuleContext

func (*OperatorAndContext) IsOperatorAndContext

func (*OperatorAndContext) IsOperatorAndContext()

func (*OperatorAndContext) ToStringTree

func (s *OperatorAndContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OperatorBitwiseContext

type OperatorBitwiseContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOperatorBitwiseContext

func NewEmptyOperatorBitwiseContext() *OperatorBitwiseContext

func NewOperatorBitwiseContext

func NewOperatorBitwiseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperatorBitwiseContext

func (*OperatorBitwiseContext) Accept

func (s *OperatorBitwiseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*OperatorBitwiseContext) Amp

func (s *OperatorBitwiseContext) Amp() antlr.TerminalNode

func (*OperatorBitwiseContext) GetParser

func (s *OperatorBitwiseContext) GetParser() antlr.Parser

func (*OperatorBitwiseContext) GetRuleContext

func (s *OperatorBitwiseContext) GetRuleContext() antlr.RuleContext

func (*OperatorBitwiseContext) GtGt

func (s *OperatorBitwiseContext) GtGt() antlr.TerminalNode

func (*OperatorBitwiseContext) IsOperatorBitwiseContext

func (*OperatorBitwiseContext) IsOperatorBitwiseContext()

func (*OperatorBitwiseContext) LtLt

func (s *OperatorBitwiseContext) LtLt() antlr.TerminalNode

func (*OperatorBitwiseContext) NotSymbol

func (s *OperatorBitwiseContext) NotSymbol() antlr.TerminalNode

func (*OperatorBitwiseContext) ToStringTree

func (s *OperatorBitwiseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*OperatorBitwiseContext) Xand

func (s *OperatorBitwiseContext) Xand() antlr.TerminalNode

type OperatorComparisonContext

type OperatorComparisonContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOperatorComparisonContext

func NewEmptyOperatorComparisonContext() *OperatorComparisonContext

func NewOperatorComparisonContext

func NewOperatorComparisonContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperatorComparisonContext

func (*OperatorComparisonContext) Accept

func (s *OperatorComparisonContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*OperatorComparisonContext) Eq

func (s *OperatorComparisonContext) Eq() antlr.TerminalNode

func (*OperatorComparisonContext) GetParser

func (s *OperatorComparisonContext) GetParser() antlr.Parser

func (*OperatorComparisonContext) GetRuleContext

func (s *OperatorComparisonContext) GetRuleContext() antlr.RuleContext

func (*OperatorComparisonContext) Gt

func (s *OperatorComparisonContext) Gt() antlr.TerminalNode

func (*OperatorComparisonContext) GtEq

func (s *OperatorComparisonContext) GtEq() antlr.TerminalNode

func (*OperatorComparisonContext) IsOperatorComparisonContext

func (*OperatorComparisonContext) IsOperatorComparisonContext()

func (*OperatorComparisonContext) Lt

func (s *OperatorComparisonContext) Lt() antlr.TerminalNode

func (*OperatorComparisonContext) LtEq

func (s *OperatorComparisonContext) LtEq() antlr.TerminalNode

func (*OperatorComparisonContext) Neq

func (s *OperatorComparisonContext) Neq() antlr.TerminalNode

func (*OperatorComparisonContext) ToStringTree

func (s *OperatorComparisonContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OperatorMulDivModContext

type OperatorMulDivModContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOperatorMulDivModContext

func NewEmptyOperatorMulDivModContext() *OperatorMulDivModContext

func NewOperatorMulDivModContext

func NewOperatorMulDivModContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperatorMulDivModContext

func (*OperatorMulDivModContext) Accept

func (s *OperatorMulDivModContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*OperatorMulDivModContext) Div

func (s *OperatorMulDivModContext) Div() antlr.TerminalNode

func (*OperatorMulDivModContext) GetParser

func (s *OperatorMulDivModContext) GetParser() antlr.Parser

func (*OperatorMulDivModContext) GetRuleContext

func (s *OperatorMulDivModContext) GetRuleContext() antlr.RuleContext

func (*OperatorMulDivModContext) IntegralDiv

func (s *OperatorMulDivModContext) IntegralDiv() antlr.TerminalNode

func (*OperatorMulDivModContext) IsOperatorMulDivModContext

func (*OperatorMulDivModContext) IsOperatorMulDivModContext()

func (*OperatorMulDivModContext) Mod

func (s *OperatorMulDivModContext) Mod() antlr.TerminalNode

func (*OperatorMulDivModContext) Mul

func (s *OperatorMulDivModContext) Mul() antlr.TerminalNode

func (*OperatorMulDivModContext) ToStringTree

func (s *OperatorMulDivModContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OperatorOrContext

type OperatorOrContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOperatorOrContext

func NewEmptyOperatorOrContext() *OperatorOrContext

func NewOperatorOrContext

func NewOperatorOrContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperatorOrContext

func (*OperatorOrContext) Accept

func (s *OperatorOrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*OperatorOrContext) GetParser

func (s *OperatorOrContext) GetParser() antlr.Parser

func (*OperatorOrContext) GetRuleContext

func (s *OperatorOrContext) GetRuleContext() antlr.RuleContext

func (*OperatorOrContext) IsOperatorOrContext

func (*OperatorOrContext) IsOperatorOrContext()

func (*OperatorOrContext) Or

func (s *OperatorOrContext) Or() antlr.TerminalNode

func (*OperatorOrContext) ToStringTree

func (s *OperatorOrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OperatorPowerContext

type OperatorPowerContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOperatorPowerContext

func NewEmptyOperatorPowerContext() *OperatorPowerContext

func NewOperatorPowerContext

func NewOperatorPowerContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperatorPowerContext

func (*OperatorPowerContext) Accept

func (s *OperatorPowerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*OperatorPowerContext) GetParser

func (s *OperatorPowerContext) GetParser() antlr.Parser

func (*OperatorPowerContext) GetRuleContext

func (s *OperatorPowerContext) GetRuleContext() antlr.RuleContext

func (*OperatorPowerContext) IsOperatorPowerContext

func (*OperatorPowerContext) IsOperatorPowerContext()

func (*OperatorPowerContext) Power

func (s *OperatorPowerContext) Power() antlr.TerminalNode

func (*OperatorPowerContext) ToStringTree

func (s *OperatorPowerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OperatorStrcatContext

type OperatorStrcatContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOperatorStrcatContext

func NewEmptyOperatorStrcatContext() *OperatorStrcatContext

func NewOperatorStrcatContext

func NewOperatorStrcatContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperatorStrcatContext

func (*OperatorStrcatContext) Accept

func (s *OperatorStrcatContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*OperatorStrcatContext) GetParser

func (s *OperatorStrcatContext) GetParser() antlr.Parser

func (*OperatorStrcatContext) GetRuleContext

func (s *OperatorStrcatContext) GetRuleContext() antlr.RuleContext

func (*OperatorStrcatContext) IsOperatorStrcatContext

func (*OperatorStrcatContext) IsOperatorStrcatContext()

func (*OperatorStrcatContext) Strcat

func (s *OperatorStrcatContext) Strcat() antlr.TerminalNode

func (*OperatorStrcatContext) ToStringTree

func (s *OperatorStrcatContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OperatorUnaryContext

type OperatorUnaryContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOperatorUnaryContext

func NewEmptyOperatorUnaryContext() *OperatorUnaryContext

func NewOperatorUnaryContext

func NewOperatorUnaryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperatorUnaryContext

func (*OperatorUnaryContext) Accept

func (s *OperatorUnaryContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*OperatorUnaryContext) GetParser

func (s *OperatorUnaryContext) GetParser() antlr.Parser

func (*OperatorUnaryContext) GetRuleContext

func (s *OperatorUnaryContext) GetRuleContext() antlr.RuleContext

func (*OperatorUnaryContext) IsOperatorUnaryContext

func (*OperatorUnaryContext) IsOperatorUnaryContext()

func (*OperatorUnaryContext) Not

func (s *OperatorUnaryContext) Not() antlr.TerminalNode

func (*OperatorUnaryContext) NotSymbol

func (s *OperatorUnaryContext) NotSymbol() antlr.TerminalNode

func (*OperatorUnaryContext) Pound

func (s *OperatorUnaryContext) Pound() antlr.TerminalNode

func (*OperatorUnaryContext) Sub

func (s *OperatorUnaryContext) Sub() antlr.TerminalNode

func (*OperatorUnaryContext) ToStringTree

func (s *OperatorUnaryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ParlistContext

type ParlistContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyParlistContext

func NewEmptyParlistContext() *ParlistContext

func NewParlistContext

func NewParlistContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParlistContext

func (*ParlistContext) Accept

func (s *ParlistContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ParlistContext) Comma

func (s *ParlistContext) Comma() antlr.TerminalNode

func (*ParlistContext) Ellipsis

func (s *ParlistContext) Ellipsis() antlr.TerminalNode

func (*ParlistContext) GetParser

func (s *ParlistContext) GetParser() antlr.Parser

func (*ParlistContext) GetRuleContext

func (s *ParlistContext) GetRuleContext() antlr.RuleContext

func (*ParlistContext) IsParlistContext

func (*ParlistContext) IsParlistContext()

func (*ParlistContext) Namelist

func (s *ParlistContext) Namelist() INamelistContext

func (*ParlistContext) ToStringTree

func (s *ParlistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PrefixexpContext

type PrefixexpContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyPrefixexpContext

func NewEmptyPrefixexpContext() *PrefixexpContext

func NewPrefixexpContext

func NewPrefixexpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PrefixexpContext

func (*PrefixexpContext) Accept

func (s *PrefixexpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*PrefixexpContext) AllNameAndArgs

func (s *PrefixexpContext) AllNameAndArgs() []INameAndArgsContext

func (*PrefixexpContext) GetParser

func (s *PrefixexpContext) GetParser() antlr.Parser

func (*PrefixexpContext) GetRuleContext

func (s *PrefixexpContext) GetRuleContext() antlr.RuleContext

func (*PrefixexpContext) IsPrefixexpContext

func (*PrefixexpContext) IsPrefixexpContext()

func (*PrefixexpContext) NameAndArgs

func (s *PrefixexpContext) NameAndArgs(i int) INameAndArgsContext

func (*PrefixexpContext) ToStringTree

func (s *PrefixexpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*PrefixexpContext) VarOrExp

func (s *PrefixexpContext) VarOrExp() IVarOrExpContext

type StatContext

type StatContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyStatContext

func NewEmptyStatContext() *StatContext

func NewStatContext

func NewStatContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StatContext

func (*StatContext) Accept

func (s *StatContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*StatContext) AllBlock

func (s *StatContext) AllBlock() []IBlockContext

func (*StatContext) AllComma

func (s *StatContext) AllComma() []antlr.TerminalNode

func (*StatContext) AllElseIf

func (s *StatContext) AllElseIf() []antlr.TerminalNode

func (*StatContext) AllExp

func (s *StatContext) AllExp() []IExpContext

func (*StatContext) AllThen

func (s *StatContext) AllThen() []antlr.TerminalNode

func (*StatContext) AssignEq

func (s *StatContext) AssignEq() antlr.TerminalNode

func (*StatContext) Attnamelist

func (s *StatContext) Attnamelist() IAttnamelistContext

func (*StatContext) Block

func (s *StatContext) Block(i int) IBlockContext

func (*StatContext) Break

func (s *StatContext) Break() antlr.TerminalNode

func (*StatContext) Comma

func (s *StatContext) Comma(i int) antlr.TerminalNode

func (*StatContext) Do

func (s *StatContext) Do() antlr.TerminalNode

func (*StatContext) Else

func (s *StatContext) Else() antlr.TerminalNode

func (*StatContext) ElseIf

func (s *StatContext) ElseIf(i int) antlr.TerminalNode

func (*StatContext) End

func (s *StatContext) End() antlr.TerminalNode

func (*StatContext) Exp

func (s *StatContext) Exp(i int) IExpContext

func (*StatContext) Explist

func (s *StatContext) Explist() IExplistContext

func (*StatContext) For

func (s *StatContext) For() antlr.TerminalNode

func (*StatContext) Funcbody

func (s *StatContext) Funcbody() IFuncbodyContext

func (*StatContext) Funcname

func (s *StatContext) Funcname() IFuncnameContext

func (*StatContext) Function

func (s *StatContext) Function() antlr.TerminalNode

func (*StatContext) Functioncall

func (s *StatContext) Functioncall() IFunctioncallContext

func (*StatContext) GetParser

func (s *StatContext) GetParser() antlr.Parser

func (*StatContext) GetRuleContext

func (s *StatContext) GetRuleContext() antlr.RuleContext

func (*StatContext) Goto

func (s *StatContext) Goto() antlr.TerminalNode

func (*StatContext) If

func (s *StatContext) If() antlr.TerminalNode

func (*StatContext) In

func (s *StatContext) In() antlr.TerminalNode

func (*StatContext) IsStatContext

func (*StatContext) IsStatContext()

func (*StatContext) Label

func (s *StatContext) Label() ILabelContext

func (*StatContext) Local

func (s *StatContext) Local() antlr.TerminalNode

func (*StatContext) NAME

func (s *StatContext) NAME() antlr.TerminalNode

func (*StatContext) Namelist

func (s *StatContext) Namelist() INamelistContext

func (*StatContext) Repeat

func (s *StatContext) Repeat() antlr.TerminalNode

func (*StatContext) SemiColon

func (s *StatContext) SemiColon() antlr.TerminalNode

func (*StatContext) Then

func (s *StatContext) Then(i int) antlr.TerminalNode

func (*StatContext) ToStringTree

func (s *StatContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*StatContext) Until

func (s *StatContext) Until() antlr.TerminalNode

func (*StatContext) Varlist

func (s *StatContext) Varlist() IVarlistContext

func (*StatContext) While

func (s *StatContext) While() antlr.TerminalNode

type StringContext

type StringContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyStringContext

func NewEmptyStringContext() *StringContext

func NewStringContext

func NewStringContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringContext

func (*StringContext) Accept

func (s *StringContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*StringContext) CHARSTRING

func (s *StringContext) CHARSTRING() antlr.TerminalNode

func (*StringContext) GetParser

func (s *StringContext) GetParser() antlr.Parser

func (*StringContext) GetRuleContext

func (s *StringContext) GetRuleContext() antlr.RuleContext

func (*StringContext) IsStringContext

func (*StringContext) IsStringContext()

func (*StringContext) LONGSTRING

func (s *StringContext) LONGSTRING() antlr.TerminalNode

func (*StringContext) NORMALSTRING

func (s *StringContext) NORMALSTRING() antlr.TerminalNode

func (*StringContext) ToStringTree

func (s *StringContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type TableconstructorContext

type TableconstructorContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTableconstructorContext

func NewEmptyTableconstructorContext() *TableconstructorContext

func NewTableconstructorContext

func NewTableconstructorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TableconstructorContext

func (*TableconstructorContext) Accept

func (s *TableconstructorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*TableconstructorContext) Fieldlist

func (*TableconstructorContext) GetParser

func (s *TableconstructorContext) GetParser() antlr.Parser

func (*TableconstructorContext) GetRuleContext

func (s *TableconstructorContext) GetRuleContext() antlr.RuleContext

func (*TableconstructorContext) IsTableconstructorContext

func (*TableconstructorContext) IsTableconstructorContext()

func (*TableconstructorContext) LBrace

func (s *TableconstructorContext) LBrace() antlr.TerminalNode

func (*TableconstructorContext) RBrace

func (s *TableconstructorContext) RBrace() antlr.TerminalNode

func (*TableconstructorContext) ToStringTree

func (s *TableconstructorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type VarContext

type VarContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyVarContext

func NewEmptyVarContext() *VarContext

func NewVarContext

func NewVarContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarContext

func (*VarContext) Accept

func (s *VarContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*VarContext) AllVarSuffix

func (s *VarContext) AllVarSuffix() []IVarSuffixContext

func (*VarContext) Exp

func (s *VarContext) Exp() IExpContext

func (*VarContext) GetParser

func (s *VarContext) GetParser() antlr.Parser

func (*VarContext) GetRuleContext

func (s *VarContext) GetRuleContext() antlr.RuleContext

func (*VarContext) IsVarContext

func (*VarContext) IsVarContext()

func (*VarContext) LParen

func (s *VarContext) LParen() antlr.TerminalNode

func (*VarContext) NAME

func (s *VarContext) NAME() antlr.TerminalNode

func (*VarContext) RParen

func (s *VarContext) RParen() antlr.TerminalNode

func (*VarContext) ToStringTree

func (s *VarContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*VarContext) VarSuffix

func (s *VarContext) VarSuffix(i int) IVarSuffixContext

type VarOrExpContext

type VarOrExpContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyVarOrExpContext

func NewEmptyVarOrExpContext() *VarOrExpContext

func NewVarOrExpContext

func NewVarOrExpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarOrExpContext

func (*VarOrExpContext) Accept

func (s *VarOrExpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*VarOrExpContext) Exp

func (s *VarOrExpContext) Exp() IExpContext

func (*VarOrExpContext) GetParser

func (s *VarOrExpContext) GetParser() antlr.Parser

func (*VarOrExpContext) GetRuleContext

func (s *VarOrExpContext) GetRuleContext() antlr.RuleContext

func (*VarOrExpContext) IsVarOrExpContext

func (*VarOrExpContext) IsVarOrExpContext()

func (*VarOrExpContext) LParen

func (s *VarOrExpContext) LParen() antlr.TerminalNode

func (*VarOrExpContext) RParen

func (s *VarOrExpContext) RParen() antlr.TerminalNode

func (*VarOrExpContext) ToStringTree

func (s *VarOrExpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*VarOrExpContext) Var_

func (s *VarOrExpContext) Var_() IVarContext

type VarSuffixContext

type VarSuffixContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyVarSuffixContext

func NewEmptyVarSuffixContext() *VarSuffixContext

func NewVarSuffixContext

func NewVarSuffixContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarSuffixContext

func (*VarSuffixContext) Accept

func (s *VarSuffixContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*VarSuffixContext) AllNameAndArgs

func (s *VarSuffixContext) AllNameAndArgs() []INameAndArgsContext

func (*VarSuffixContext) Dot

func (s *VarSuffixContext) Dot() antlr.TerminalNode

func (*VarSuffixContext) Exp

func (s *VarSuffixContext) Exp() IExpContext

func (*VarSuffixContext) GetParser

func (s *VarSuffixContext) GetParser() antlr.Parser

func (*VarSuffixContext) GetRuleContext

func (s *VarSuffixContext) GetRuleContext() antlr.RuleContext

func (*VarSuffixContext) IsVarSuffixContext

func (*VarSuffixContext) IsVarSuffixContext()

func (*VarSuffixContext) LBracket

func (s *VarSuffixContext) LBracket() antlr.TerminalNode

func (*VarSuffixContext) NAME

func (s *VarSuffixContext) NAME() antlr.TerminalNode

func (*VarSuffixContext) NameAndArgs

func (s *VarSuffixContext) NameAndArgs(i int) INameAndArgsContext

func (*VarSuffixContext) RBracket

func (s *VarSuffixContext) RBracket() antlr.TerminalNode

func (*VarSuffixContext) ToStringTree

func (s *VarSuffixContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type VarlistContext

type VarlistContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyVarlistContext

func NewEmptyVarlistContext() *VarlistContext

func NewVarlistContext

func NewVarlistContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarlistContext

func (*VarlistContext) Accept

func (s *VarlistContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*VarlistContext) AllComma

func (s *VarlistContext) AllComma() []antlr.TerminalNode

func (*VarlistContext) AllVar_

func (s *VarlistContext) AllVar_() []IVarContext

func (*VarlistContext) Comma

func (s *VarlistContext) Comma(i int) antlr.TerminalNode

func (*VarlistContext) GetParser

func (s *VarlistContext) GetParser() antlr.Parser

func (*VarlistContext) GetRuleContext

func (s *VarlistContext) GetRuleContext() antlr.RuleContext

func (*VarlistContext) IsVarlistContext

func (*VarlistContext) IsVarlistContext()

func (*VarlistContext) ToStringTree

func (s *VarlistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*VarlistContext) Var_

func (s *VarlistContext) Var_(i int) IVarContext

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL