parser

package
v0.0.0-...-27647ab Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExprLexerT__0            = 1
	ExprLexerT__1            = 2
	ExprLexerT__2            = 3
	ExprLexerT__3            = 4
	ExprLexerT__4            = 5
	ExprLexerT__5            = 6
	ExprLexerT__6            = 7
	ExprLexerT__7            = 8
	ExprLexerT__8            = 9
	ExprLexerT__9            = 10
	ExprLexerT__10           = 11
	ExprLexerT__11           = 12
	ExprLexerT__12           = 13
	ExprLexerT__13           = 14
	ExprLexerT__14           = 15
	ExprLexerT__15           = 16
	ExprLexerT__16           = 17
	ExprLexerT__17           = 18
	ExprLexerT__18           = 19
	ExprLexerT__19           = 20
	ExprLexerT__20           = 21
	ExprLexerT__21           = 22
	ExprLexerT__22           = 23
	ExprLexerT__23           = 24
	ExprLexerT__24           = 25
	ExprLexerT__25           = 26
	ExprLexerT__26           = 27
	ExprLexerT__27           = 28
	ExprLexerT__28           = 29
	ExprLexerT__29           = 30
	ExprLexerT__30           = 31
	ExprLexerSTRING          = 32
	ExprLexerNUMBER          = 33
	ExprLexerINTEGER         = 34
	ExprLexerAND             = 35
	ExprLexerFALSE           = 36
	ExprLexerIN              = 37
	ExprLexerIS              = 38
	ExprLexerNONE            = 39
	ExprLexerNOT             = 40
	ExprLexerOR              = 41
	ExprLexerTRUE            = 42
	ExprLexerNAME            = 43
	ExprLexerSTRING_LITERAL  = 44
	ExprLexerBYTES_LITERAL   = 45
	ExprLexerDECIMAL_INTEGER = 46
	ExprLexerOCT_INTEGER     = 47
	ExprLexerHEX_INTEGER     = 48
	ExprLexerBIN_INTEGER     = 49
	ExprLexerFLOAT_NUMBER    = 50
	ExprLexerIMAG_NUMBER     = 51
	ExprLexerSKIP_           = 52
	ExprLexerUNKNOWN_CHAR    = 53
)

ExprLexer tokens.

View Source
const (
	ExprParserEOF             = antlr.TokenEOF
	ExprParserT__0            = 1
	ExprParserT__1            = 2
	ExprParserT__2            = 3
	ExprParserT__3            = 4
	ExprParserT__4            = 5
	ExprParserT__5            = 6
	ExprParserT__6            = 7
	ExprParserT__7            = 8
	ExprParserT__8            = 9
	ExprParserT__9            = 10
	ExprParserT__10           = 11
	ExprParserT__11           = 12
	ExprParserT__12           = 13
	ExprParserT__13           = 14
	ExprParserT__14           = 15
	ExprParserT__15           = 16
	ExprParserT__16           = 17
	ExprParserT__17           = 18
	ExprParserT__18           = 19
	ExprParserT__19           = 20
	ExprParserT__20           = 21
	ExprParserT__21           = 22
	ExprParserT__22           = 23
	ExprParserT__23           = 24
	ExprParserT__24           = 25
	ExprParserT__25           = 26
	ExprParserT__26           = 27
	ExprParserT__27           = 28
	ExprParserT__28           = 29
	ExprParserT__29           = 30
	ExprParserT__30           = 31
	ExprParserSTRING          = 32
	ExprParserNUMBER          = 33
	ExprParserINTEGER         = 34
	ExprParserAND             = 35
	ExprParserFALSE           = 36
	ExprParserIN              = 37
	ExprParserIS              = 38
	ExprParserNONE            = 39
	ExprParserNOT             = 40
	ExprParserOR              = 41
	ExprParserTRUE            = 42
	ExprParserNAME            = 43
	ExprParserSTRING_LITERAL  = 44
	ExprParserBYTES_LITERAL   = 45
	ExprParserDECIMAL_INTEGER = 46
	ExprParserOCT_INTEGER     = 47
	ExprParserHEX_INTEGER     = 48
	ExprParserBIN_INTEGER     = 49
	ExprParserFLOAT_NUMBER    = 50
	ExprParserIMAG_NUMBER     = 51
	ExprParserSKIP_           = 52
	ExprParserUNKNOWN_CHAR    = 53
	ExprParserINDENT          = 54
	ExprParserDEDENT          = 55
)

ExprParser tokens.

View Source
const (
	ExprParserRULE_singleExpr     = 0
	ExprParserRULE_expr           = 1
	ExprParserRULE_orTest         = 2
	ExprParserRULE_andTest        = 3
	ExprParserRULE_notTest        = 4
	ExprParserRULE_comparison     = 5
	ExprParserRULE_compOp         = 6
	ExprParserRULE_exprMain       = 7
	ExprParserRULE_exprCont       = 8
	ExprParserRULE_xorExpr        = 9
	ExprParserRULE_xorExprCont    = 10
	ExprParserRULE_andExpr        = 11
	ExprParserRULE_andExprCont    = 12
	ExprParserRULE_shiftExpr      = 13
	ExprParserRULE_shiftExprCont  = 14
	ExprParserRULE_arithExpr      = 15
	ExprParserRULE_arithExprCont  = 16
	ExprParserRULE_term           = 17
	ExprParserRULE_termCont       = 18
	ExprParserRULE_factor         = 19
	ExprParserRULE_power          = 20
	ExprParserRULE_atomExpr       = 21
	ExprParserRULE_atom           = 22
	ExprParserRULE_constVal       = 23
	ExprParserRULE_testListComp   = 24
	ExprParserRULE_exprOrStarExpr = 25
	ExprParserRULE_starExpr       = 26
	ExprParserRULE_trailer        = 27
	ExprParserRULE_subscriptList  = 28
	ExprParserRULE_subscript      = 29
	ExprParserRULE_sliceOp        = 30
	ExprParserRULE_dictOrSetMaker = 31
	ExprParserRULE_dictItem       = 32
)

ExprParser rules.

Variables

This section is empty.

Functions

func ExprLexerInit

func ExprLexerInit()

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

func ExprParserInit

func ExprParserInit()

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

Types

type AndExprContContext

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

func NewAndExprContContext

func NewAndExprContContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AndExprContContext

func NewEmptyAndExprContContext

func NewEmptyAndExprContContext() *AndExprContContext

func (*AndExprContContext) Accept

func (s *AndExprContContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*AndExprContContext) EnterRule

func (s *AndExprContContext) EnterRule(listener antlr.ParseTreeListener)

func (*AndExprContContext) ExitRule

func (s *AndExprContContext) ExitRule(listener antlr.ParseTreeListener)

func (*AndExprContContext) GetOp

func (s *AndExprContContext) GetOp() antlr.Token

func (*AndExprContContext) GetParser

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

func (*AndExprContContext) GetRuleContext

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

func (*AndExprContContext) IsAndExprContContext

func (*AndExprContContext) IsAndExprContContext()

func (*AndExprContContext) SetOp

func (s *AndExprContContext) SetOp(v antlr.Token)

func (*AndExprContContext) ShiftExpr

func (s *AndExprContContext) ShiftExpr() IShiftExprContext

func (*AndExprContContext) ToStringTree

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

type AndExprContext

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

func NewAndExprContext

func NewAndExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AndExprContext

func NewEmptyAndExprContext

func NewEmptyAndExprContext() *AndExprContext

func (*AndExprContext) Accept

func (s *AndExprContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*AndExprContext) AllAndExprCont

func (s *AndExprContext) AllAndExprCont() []IAndExprContContext

func (*AndExprContext) AndExprCont

func (s *AndExprContext) AndExprCont(i int) IAndExprContContext

func (*AndExprContext) EnterRule

func (s *AndExprContext) EnterRule(listener antlr.ParseTreeListener)

func (*AndExprContext) ExitRule

func (s *AndExprContext) ExitRule(listener antlr.ParseTreeListener)

func (*AndExprContext) GetParser

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

func (*AndExprContext) GetRuleContext

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

func (*AndExprContext) IsAndExprContext

func (*AndExprContext) IsAndExprContext()

func (*AndExprContext) ShiftExpr

func (s *AndExprContext) ShiftExpr() IShiftExprContext

func (*AndExprContext) ToStringTree

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

type AndTestContext

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

func NewAndTestContext

func NewAndTestContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AndTestContext

func NewEmptyAndTestContext

func NewEmptyAndTestContext() *AndTestContext

func (*AndTestContext) AND

func (*AndTestContext) Accept

func (s *AndTestContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*AndTestContext) AllAND

func (s *AndTestContext) AllAND() []antlr.TerminalNode

func (*AndTestContext) AllNotTest

func (s *AndTestContext) AllNotTest() []INotTestContext

func (*AndTestContext) EnterRule

func (s *AndTestContext) EnterRule(listener antlr.ParseTreeListener)

func (*AndTestContext) ExitRule

func (s *AndTestContext) ExitRule(listener antlr.ParseTreeListener)

func (*AndTestContext) GetParser

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

func (*AndTestContext) GetRuleContext

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

func (*AndTestContext) IsAndTestContext

func (*AndTestContext) IsAndTestContext()

func (*AndTestContext) NotTest

func (s *AndTestContext) NotTest(i int) INotTestContext

func (*AndTestContext) ToStringTree

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

type ArithExprContContext

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

func NewArithExprContContext

func NewArithExprContContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArithExprContContext

func NewEmptyArithExprContContext

func NewEmptyArithExprContContext() *ArithExprContContext

func (*ArithExprContContext) Accept

func (s *ArithExprContContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ArithExprContContext) EnterRule

func (s *ArithExprContContext) EnterRule(listener antlr.ParseTreeListener)

func (*ArithExprContContext) ExitRule

func (s *ArithExprContContext) ExitRule(listener antlr.ParseTreeListener)

func (*ArithExprContContext) GetOp

func (s *ArithExprContContext) GetOp() antlr.Token

func (*ArithExprContContext) GetParser

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

func (*ArithExprContContext) GetRuleContext

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

func (*ArithExprContContext) IsArithExprContContext

func (*ArithExprContContext) IsArithExprContContext()

func (*ArithExprContContext) SetOp

func (s *ArithExprContContext) SetOp(v antlr.Token)

func (*ArithExprContContext) Term

func (*ArithExprContContext) ToStringTree

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

type ArithExprContext

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

func NewArithExprContext

func NewArithExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArithExprContext

func NewEmptyArithExprContext

func NewEmptyArithExprContext() *ArithExprContext

func (*ArithExprContext) Accept

func (s *ArithExprContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ArithExprContext) AllArithExprCont

func (s *ArithExprContext) AllArithExprCont() []IArithExprContContext

func (*ArithExprContext) ArithExprCont

func (s *ArithExprContext) ArithExprCont(i int) IArithExprContContext

func (*ArithExprContext) EnterRule

func (s *ArithExprContext) EnterRule(listener antlr.ParseTreeListener)

func (*ArithExprContext) ExitRule

func (s *ArithExprContext) ExitRule(listener antlr.ParseTreeListener)

func (*ArithExprContext) GetParser

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

func (*ArithExprContext) GetRuleContext

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

func (*ArithExprContext) IsArithExprContext

func (*ArithExprContext) IsArithExprContext()

func (*ArithExprContext) Term

func (s *ArithExprContext) Term() ITermContext

func (*ArithExprContext) ToStringTree

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

type AtomContext

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

func NewAtomContext

func NewAtomContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AtomContext

func NewEmptyAtomContext

func NewEmptyAtomContext() *AtomContext

func (*AtomContext) CopyFrom

func (s *AtomContext) CopyFrom(ctx *AtomContext)

func (*AtomContext) GetParser

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

func (*AtomContext) GetRuleContext

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

func (*AtomContext) IsAtomContext

func (*AtomContext) IsAtomContext()

func (*AtomContext) ToStringTree

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

type AtomExprContext

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

func NewAtomExprContext

func NewAtomExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AtomExprContext

func NewEmptyAtomExprContext

func NewEmptyAtomExprContext() *AtomExprContext

func (*AtomExprContext) Accept

func (s *AtomExprContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*AtomExprContext) AllTrailer

func (s *AtomExprContext) AllTrailer() []ITrailerContext

func (*AtomExprContext) Atom

func (s *AtomExprContext) Atom() IAtomContext

func (*AtomExprContext) EnterRule

func (s *AtomExprContext) EnterRule(listener antlr.ParseTreeListener)

func (*AtomExprContext) ExitRule

func (s *AtomExprContext) ExitRule(listener antlr.ParseTreeListener)

func (*AtomExprContext) GetParser

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

func (*AtomExprContext) GetRuleContext

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

func (*AtomExprContext) IsAtomExprContext

func (*AtomExprContext) IsAtomExprContext()

func (*AtomExprContext) ToStringTree

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

func (*AtomExprContext) Trailer

func (s *AtomExprContext) Trailer(i int) ITrailerContext

type BaseExprListener

type BaseExprListener struct{}

BaseExprListener is a complete listener for a parse tree produced by ExprParser.

func (*BaseExprListener) EnterAndExpr

func (s *BaseExprListener) EnterAndExpr(ctx *AndExprContext)

EnterAndExpr is called when production andExpr is entered.

func (*BaseExprListener) EnterAndExprCont

func (s *BaseExprListener) EnterAndExprCont(ctx *AndExprContContext)

EnterAndExprCont is called when production andExprCont is entered.

func (*BaseExprListener) EnterAndTest

func (s *BaseExprListener) EnterAndTest(ctx *AndTestContext)

EnterAndTest is called when production andTest is entered.

func (*BaseExprListener) EnterArithExpr

func (s *BaseExprListener) EnterArithExpr(ctx *ArithExprContext)

EnterArithExpr is called when production arithExpr is entered.

func (*BaseExprListener) EnterArithExprCont

func (s *BaseExprListener) EnterArithExprCont(ctx *ArithExprContContext)

EnterArithExprCont is called when production arithExprCont is entered.

func (*BaseExprListener) EnterAtomExpr

func (s *BaseExprListener) EnterAtomExpr(ctx *AtomExprContext)

EnterAtomExpr is called when production atomExpr is entered.

func (*BaseExprListener) EnterBracketAtom

func (s *BaseExprListener) EnterBracketAtom(ctx *BracketAtomContext)

EnterBracketAtom is called when production bracketAtom is entered.

func (*BaseExprListener) EnterCompOp

func (s *BaseExprListener) EnterCompOp(ctx *CompOpContext)

EnterCompOp is called when production compOp is entered.

func (*BaseExprListener) EnterComparison

func (s *BaseExprListener) EnterComparison(ctx *ComparisonContext)

EnterComparison is called when production comparison is entered.

func (*BaseExprListener) EnterConstAtom

func (s *BaseExprListener) EnterConstAtom(ctx *ConstAtomContext)

EnterConstAtom is called when production constAtom is entered.

func (*BaseExprListener) EnterConstVal

func (s *BaseExprListener) EnterConstVal(ctx *ConstValContext)

EnterConstVal is called when production constVal is entered.

func (*BaseExprListener) EnterDictMaker

func (s *BaseExprListener) EnterDictMaker(ctx *DictMakerContext)

EnterDictMaker is called when production dictMaker is entered.

func (*BaseExprListener) EnterDictOrSetAtom

func (s *BaseExprListener) EnterDictOrSetAtom(ctx *DictOrSetAtomContext)

EnterDictOrSetAtom is called when production dictOrSetAtom is entered.

func (*BaseExprListener) EnterEveryRule

func (s *BaseExprListener) EnterEveryRule(ctx antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*BaseExprListener) EnterExpr

func (s *BaseExprListener) EnterExpr(ctx *ExprContext)

EnterExpr is called when production expr is entered.

func (*BaseExprListener) EnterExprCont

func (s *BaseExprListener) EnterExprCont(ctx *ExprContContext)

EnterExprCont is called when production exprCont is entered.

func (*BaseExprListener) EnterExprMain

func (s *BaseExprListener) EnterExprMain(ctx *ExprMainContext)

EnterExprMain is called when production exprMain is entered.

func (*BaseExprListener) EnterExprOrStarExpr

func (s *BaseExprListener) EnterExprOrStarExpr(ctx *ExprOrStarExprContext)

EnterExprOrStarExpr is called when production exprOrStarExpr is entered.

func (*BaseExprListener) EnterExprSubscript

func (s *BaseExprListener) EnterExprSubscript(ctx *ExprSubscriptContext)

EnterExprSubscript is called when production exprSubscript is entered.

func (*BaseExprListener) EnterFactor

func (s *BaseExprListener) EnterFactor(ctx *FactorContext)

EnterFactor is called when production factor is entered.

func (*BaseExprListener) EnterKvDictItem

func (s *BaseExprListener) EnterKvDictItem(ctx *KvDictItemContext)

EnterKvDictItem is called when production kvDictItem is entered.

func (*BaseExprListener) EnterNotTest

func (s *BaseExprListener) EnterNotTest(ctx *NotTestContext)

EnterNotTest is called when production notTest is entered.

func (*BaseExprListener) EnterOrTest

func (s *BaseExprListener) EnterOrTest(ctx *OrTestContext)

EnterOrTest is called when production orTest is entered.

func (*BaseExprListener) EnterParenAtom

func (s *BaseExprListener) EnterParenAtom(ctx *ParenAtomContext)

EnterParenAtom is called when production parenAtom is entered.

func (*BaseExprListener) EnterPower

func (s *BaseExprListener) EnterPower(ctx *PowerContext)

EnterPower is called when production power is entered.

func (*BaseExprListener) EnterSetMaker

func (s *BaseExprListener) EnterSetMaker(ctx *SetMakerContext)

EnterSetMaker is called when production setMaker is entered.

func (*BaseExprListener) EnterShiftExpr

func (s *BaseExprListener) EnterShiftExpr(ctx *ShiftExprContext)

EnterShiftExpr is called when production shiftExpr is entered.

func (*BaseExprListener) EnterShiftExprCont

func (s *BaseExprListener) EnterShiftExprCont(ctx *ShiftExprContContext)

EnterShiftExprCont is called when production shiftExprCont is entered.

func (*BaseExprListener) EnterSingleExpr

func (s *BaseExprListener) EnterSingleExpr(ctx *SingleExprContext)

EnterSingleExpr is called when production singleExpr is entered.

func (*BaseExprListener) EnterSliceOp

func (s *BaseExprListener) EnterSliceOp(ctx *SliceOpContext)

EnterSliceOp is called when production sliceOp is entered.

func (*BaseExprListener) EnterSliceSubscript

func (s *BaseExprListener) EnterSliceSubscript(ctx *SliceSubscriptContext)

EnterSliceSubscript is called when production sliceSubscript is entered.

func (*BaseExprListener) EnterStarExpr

func (s *BaseExprListener) EnterStarExpr(ctx *StarExprContext)

EnterStarExpr is called when production starExpr is entered.

func (*BaseExprListener) EnterStarsDictItem

func (s *BaseExprListener) EnterStarsDictItem(ctx *StarsDictItemContext)

EnterStarsDictItem is called when production starsDictItem is entered.

func (*BaseExprListener) EnterSubscriptList

func (s *BaseExprListener) EnterSubscriptList(ctx *SubscriptListContext)

EnterSubscriptList is called when production subscriptList is entered.

func (*BaseExprListener) EnterTerm

func (s *BaseExprListener) EnterTerm(ctx *TermContext)

EnterTerm is called when production term is entered.

func (*BaseExprListener) EnterTermCont

func (s *BaseExprListener) EnterTermCont(ctx *TermContContext)

EnterTermCont is called when production termCont is entered.

func (*BaseExprListener) EnterTestListComp

func (s *BaseExprListener) EnterTestListComp(ctx *TestListCompContext)

EnterTestListComp is called when production testListComp is entered.

func (*BaseExprListener) EnterTrailer

func (s *BaseExprListener) EnterTrailer(ctx *TrailerContext)

EnterTrailer is called when production trailer is entered.

func (*BaseExprListener) EnterXorExpr

func (s *BaseExprListener) EnterXorExpr(ctx *XorExprContext)

EnterXorExpr is called when production xorExpr is entered.

func (*BaseExprListener) EnterXorExprCont

func (s *BaseExprListener) EnterXorExprCont(ctx *XorExprContContext)

EnterXorExprCont is called when production xorExprCont is entered.

func (*BaseExprListener) ExitAndExpr

func (s *BaseExprListener) ExitAndExpr(ctx *AndExprContext)

ExitAndExpr is called when production andExpr is exited.

func (*BaseExprListener) ExitAndExprCont

func (s *BaseExprListener) ExitAndExprCont(ctx *AndExprContContext)

ExitAndExprCont is called when production andExprCont is exited.

func (*BaseExprListener) ExitAndTest

func (s *BaseExprListener) ExitAndTest(ctx *AndTestContext)

ExitAndTest is called when production andTest is exited.

func (*BaseExprListener) ExitArithExpr

func (s *BaseExprListener) ExitArithExpr(ctx *ArithExprContext)

ExitArithExpr is called when production arithExpr is exited.

func (*BaseExprListener) ExitArithExprCont

func (s *BaseExprListener) ExitArithExprCont(ctx *ArithExprContContext)

ExitArithExprCont is called when production arithExprCont is exited.

func (*BaseExprListener) ExitAtomExpr

func (s *BaseExprListener) ExitAtomExpr(ctx *AtomExprContext)

ExitAtomExpr is called when production atomExpr is exited.

func (*BaseExprListener) ExitBracketAtom

func (s *BaseExprListener) ExitBracketAtom(ctx *BracketAtomContext)

ExitBracketAtom is called when production bracketAtom is exited.

func (*BaseExprListener) ExitCompOp

func (s *BaseExprListener) ExitCompOp(ctx *CompOpContext)

ExitCompOp is called when production compOp is exited.

func (*BaseExprListener) ExitComparison

func (s *BaseExprListener) ExitComparison(ctx *ComparisonContext)

ExitComparison is called when production comparison is exited.

func (*BaseExprListener) ExitConstAtom

func (s *BaseExprListener) ExitConstAtom(ctx *ConstAtomContext)

ExitConstAtom is called when production constAtom is exited.

func (*BaseExprListener) ExitConstVal

func (s *BaseExprListener) ExitConstVal(ctx *ConstValContext)

ExitConstVal is called when production constVal is exited.

func (*BaseExprListener) ExitDictMaker

func (s *BaseExprListener) ExitDictMaker(ctx *DictMakerContext)

ExitDictMaker is called when production dictMaker is exited.

func (*BaseExprListener) ExitDictOrSetAtom

func (s *BaseExprListener) ExitDictOrSetAtom(ctx *DictOrSetAtomContext)

ExitDictOrSetAtom is called when production dictOrSetAtom is exited.

func (*BaseExprListener) ExitEveryRule

func (s *BaseExprListener) ExitEveryRule(ctx antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*BaseExprListener) ExitExpr

func (s *BaseExprListener) ExitExpr(ctx *ExprContext)

ExitExpr is called when production expr is exited.

func (*BaseExprListener) ExitExprCont

func (s *BaseExprListener) ExitExprCont(ctx *ExprContContext)

ExitExprCont is called when production exprCont is exited.

func (*BaseExprListener) ExitExprMain

func (s *BaseExprListener) ExitExprMain(ctx *ExprMainContext)

ExitExprMain is called when production exprMain is exited.

func (*BaseExprListener) ExitExprOrStarExpr

func (s *BaseExprListener) ExitExprOrStarExpr(ctx *ExprOrStarExprContext)

ExitExprOrStarExpr is called when production exprOrStarExpr is exited.

func (*BaseExprListener) ExitExprSubscript

func (s *BaseExprListener) ExitExprSubscript(ctx *ExprSubscriptContext)

ExitExprSubscript is called when production exprSubscript is exited.

func (*BaseExprListener) ExitFactor

func (s *BaseExprListener) ExitFactor(ctx *FactorContext)

ExitFactor is called when production factor is exited.

func (*BaseExprListener) ExitKvDictItem

func (s *BaseExprListener) ExitKvDictItem(ctx *KvDictItemContext)

ExitKvDictItem is called when production kvDictItem is exited.

func (*BaseExprListener) ExitNotTest

func (s *BaseExprListener) ExitNotTest(ctx *NotTestContext)

ExitNotTest is called when production notTest is exited.

func (*BaseExprListener) ExitOrTest

func (s *BaseExprListener) ExitOrTest(ctx *OrTestContext)

ExitOrTest is called when production orTest is exited.

func (*BaseExprListener) ExitParenAtom

func (s *BaseExprListener) ExitParenAtom(ctx *ParenAtomContext)

ExitParenAtom is called when production parenAtom is exited.

func (*BaseExprListener) ExitPower

func (s *BaseExprListener) ExitPower(ctx *PowerContext)

ExitPower is called when production power is exited.

func (*BaseExprListener) ExitSetMaker

func (s *BaseExprListener) ExitSetMaker(ctx *SetMakerContext)

ExitSetMaker is called when production setMaker is exited.

func (*BaseExprListener) ExitShiftExpr

func (s *BaseExprListener) ExitShiftExpr(ctx *ShiftExprContext)

ExitShiftExpr is called when production shiftExpr is exited.

func (*BaseExprListener) ExitShiftExprCont

func (s *BaseExprListener) ExitShiftExprCont(ctx *ShiftExprContContext)

ExitShiftExprCont is called when production shiftExprCont is exited.

func (*BaseExprListener) ExitSingleExpr

func (s *BaseExprListener) ExitSingleExpr(ctx *SingleExprContext)

ExitSingleExpr is called when production singleExpr is exited.

func (*BaseExprListener) ExitSliceOp

func (s *BaseExprListener) ExitSliceOp(ctx *SliceOpContext)

ExitSliceOp is called when production sliceOp is exited.

func (*BaseExprListener) ExitSliceSubscript

func (s *BaseExprListener) ExitSliceSubscript(ctx *SliceSubscriptContext)

ExitSliceSubscript is called when production sliceSubscript is exited.

func (*BaseExprListener) ExitStarExpr

func (s *BaseExprListener) ExitStarExpr(ctx *StarExprContext)

ExitStarExpr is called when production starExpr is exited.

func (*BaseExprListener) ExitStarsDictItem

func (s *BaseExprListener) ExitStarsDictItem(ctx *StarsDictItemContext)

ExitStarsDictItem is called when production starsDictItem is exited.

func (*BaseExprListener) ExitSubscriptList

func (s *BaseExprListener) ExitSubscriptList(ctx *SubscriptListContext)

ExitSubscriptList is called when production subscriptList is exited.

func (*BaseExprListener) ExitTerm

func (s *BaseExprListener) ExitTerm(ctx *TermContext)

ExitTerm is called when production term is exited.

func (*BaseExprListener) ExitTermCont

func (s *BaseExprListener) ExitTermCont(ctx *TermContContext)

ExitTermCont is called when production termCont is exited.

func (*BaseExprListener) ExitTestListComp

func (s *BaseExprListener) ExitTestListComp(ctx *TestListCompContext)

ExitTestListComp is called when production testListComp is exited.

func (*BaseExprListener) ExitTrailer

func (s *BaseExprListener) ExitTrailer(ctx *TrailerContext)

ExitTrailer is called when production trailer is exited.

func (*BaseExprListener) ExitXorExpr

func (s *BaseExprListener) ExitXorExpr(ctx *XorExprContext)

ExitXorExpr is called when production xorExpr is exited.

func (*BaseExprListener) ExitXorExprCont

func (s *BaseExprListener) ExitXorExprCont(ctx *XorExprContContext)

ExitXorExprCont is called when production xorExprCont is exited.

func (*BaseExprListener) VisitErrorNode

func (s *BaseExprListener) VisitErrorNode(node antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

func (*BaseExprListener) VisitTerminal

func (s *BaseExprListener) VisitTerminal(node antlr.TerminalNode)

VisitTerminal is called when a terminal node is visited.

type BaseExprVisitor

type BaseExprVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseExprVisitor) VisitAndExpr

func (v *BaseExprVisitor) VisitAndExpr(ctx *AndExprContext) any

func (*BaseExprVisitor) VisitAndExprCont

func (v *BaseExprVisitor) VisitAndExprCont(ctx *AndExprContContext) any

func (*BaseExprVisitor) VisitAndTest

func (v *BaseExprVisitor) VisitAndTest(ctx *AndTestContext) any

func (*BaseExprVisitor) VisitArithExpr

func (v *BaseExprVisitor) VisitArithExpr(ctx *ArithExprContext) any

func (*BaseExprVisitor) VisitArithExprCont

func (v *BaseExprVisitor) VisitArithExprCont(ctx *ArithExprContContext) any

func (*BaseExprVisitor) VisitAtomExpr

func (v *BaseExprVisitor) VisitAtomExpr(ctx *AtomExprContext) any

func (*BaseExprVisitor) VisitBracketAtom

func (v *BaseExprVisitor) VisitBracketAtom(ctx *BracketAtomContext) any

func (*BaseExprVisitor) VisitCompOp

func (v *BaseExprVisitor) VisitCompOp(ctx *CompOpContext) any

func (*BaseExprVisitor) VisitComparison

func (v *BaseExprVisitor) VisitComparison(ctx *ComparisonContext) any

func (*BaseExprVisitor) VisitConstAtom

func (v *BaseExprVisitor) VisitConstAtom(ctx *ConstAtomContext) any

func (*BaseExprVisitor) VisitConstVal

func (v *BaseExprVisitor) VisitConstVal(ctx *ConstValContext) any

func (*BaseExprVisitor) VisitDictMaker

func (v *BaseExprVisitor) VisitDictMaker(ctx *DictMakerContext) any

func (*BaseExprVisitor) VisitDictOrSetAtom

func (v *BaseExprVisitor) VisitDictOrSetAtom(ctx *DictOrSetAtomContext) any

func (*BaseExprVisitor) VisitExpr

func (v *BaseExprVisitor) VisitExpr(ctx *ExprContext) any

func (*BaseExprVisitor) VisitExprCont

func (v *BaseExprVisitor) VisitExprCont(ctx *ExprContContext) any

func (*BaseExprVisitor) VisitExprMain

func (v *BaseExprVisitor) VisitExprMain(ctx *ExprMainContext) any

func (*BaseExprVisitor) VisitExprOrStarExpr

func (v *BaseExprVisitor) VisitExprOrStarExpr(ctx *ExprOrStarExprContext) any

func (*BaseExprVisitor) VisitExprSubscript

func (v *BaseExprVisitor) VisitExprSubscript(ctx *ExprSubscriptContext) any

func (*BaseExprVisitor) VisitFactor

func (v *BaseExprVisitor) VisitFactor(ctx *FactorContext) any

func (*BaseExprVisitor) VisitKvDictItem

func (v *BaseExprVisitor) VisitKvDictItem(ctx *KvDictItemContext) any

func (*BaseExprVisitor) VisitNotTest

func (v *BaseExprVisitor) VisitNotTest(ctx *NotTestContext) any

func (*BaseExprVisitor) VisitOrTest

func (v *BaseExprVisitor) VisitOrTest(ctx *OrTestContext) any

func (*BaseExprVisitor) VisitParenAtom

func (v *BaseExprVisitor) VisitParenAtom(ctx *ParenAtomContext) any

func (*BaseExprVisitor) VisitPower

func (v *BaseExprVisitor) VisitPower(ctx *PowerContext) any

func (*BaseExprVisitor) VisitSetMaker

func (v *BaseExprVisitor) VisitSetMaker(ctx *SetMakerContext) any

func (*BaseExprVisitor) VisitShiftExpr

func (v *BaseExprVisitor) VisitShiftExpr(ctx *ShiftExprContext) any

func (*BaseExprVisitor) VisitShiftExprCont

func (v *BaseExprVisitor) VisitShiftExprCont(ctx *ShiftExprContContext) any

func (*BaseExprVisitor) VisitSingleExpr

func (v *BaseExprVisitor) VisitSingleExpr(ctx *SingleExprContext) any

func (*BaseExprVisitor) VisitSliceOp

func (v *BaseExprVisitor) VisitSliceOp(ctx *SliceOpContext) any

func (*BaseExprVisitor) VisitSliceSubscript

func (v *BaseExprVisitor) VisitSliceSubscript(ctx *SliceSubscriptContext) any

func (*BaseExprVisitor) VisitStarExpr

func (v *BaseExprVisitor) VisitStarExpr(ctx *StarExprContext) any

func (*BaseExprVisitor) VisitStarsDictItem

func (v *BaseExprVisitor) VisitStarsDictItem(ctx *StarsDictItemContext) any

func (*BaseExprVisitor) VisitSubscriptList

func (v *BaseExprVisitor) VisitSubscriptList(ctx *SubscriptListContext) any

func (*BaseExprVisitor) VisitTerm

func (v *BaseExprVisitor) VisitTerm(ctx *TermContext) any

func (*BaseExprVisitor) VisitTermCont

func (v *BaseExprVisitor) VisitTermCont(ctx *TermContContext) any

func (*BaseExprVisitor) VisitTestListComp

func (v *BaseExprVisitor) VisitTestListComp(ctx *TestListCompContext) any

func (*BaseExprVisitor) VisitTrailer

func (v *BaseExprVisitor) VisitTrailer(ctx *TrailerContext) any

func (*BaseExprVisitor) VisitXorExpr

func (v *BaseExprVisitor) VisitXorExpr(ctx *XorExprContext) any

func (*BaseExprVisitor) VisitXorExprCont

func (v *BaseExprVisitor) VisitXorExprCont(ctx *XorExprContContext) any

type BracketAtomContext

type BracketAtomContext struct {
	*AtomContext
}

func NewBracketAtomContext

func NewBracketAtomContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BracketAtomContext

func (*BracketAtomContext) Accept

func (s *BracketAtomContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*BracketAtomContext) EnterRule

func (s *BracketAtomContext) EnterRule(listener antlr.ParseTreeListener)

func (*BracketAtomContext) ExitRule

func (s *BracketAtomContext) ExitRule(listener antlr.ParseTreeListener)

func (*BracketAtomContext) GetRuleContext

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

func (*BracketAtomContext) TestListComp

func (s *BracketAtomContext) TestListComp() ITestListCompContext

type CompOpContext

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

func NewCompOpContext

func NewCompOpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CompOpContext

func NewEmptyCompOpContext

func NewEmptyCompOpContext() *CompOpContext

func (*CompOpContext) Accept

func (s *CompOpContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*CompOpContext) EnterRule

func (s *CompOpContext) EnterRule(listener antlr.ParseTreeListener)

func (*CompOpContext) ExitRule

func (s *CompOpContext) ExitRule(listener antlr.ParseTreeListener)

func (*CompOpContext) GetParser

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

func (*CompOpContext) GetRuleContext

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

func (*CompOpContext) IN

func (*CompOpContext) IS

func (*CompOpContext) IsCompOpContext

func (*CompOpContext) IsCompOpContext()

func (*CompOpContext) NOT

func (s *CompOpContext) NOT() antlr.TerminalNode

func (*CompOpContext) ToStringTree

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

type ComparisonContext

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

func NewComparisonContext

func NewComparisonContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ComparisonContext

func NewEmptyComparisonContext

func NewEmptyComparisonContext() *ComparisonContext

func (*ComparisonContext) Accept

func (s *ComparisonContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ComparisonContext) AllCompOp

func (s *ComparisonContext) AllCompOp() []ICompOpContext

func (*ComparisonContext) AllExprMain

func (s *ComparisonContext) AllExprMain() []IExprMainContext

func (*ComparisonContext) CompOp

func (s *ComparisonContext) CompOp(i int) ICompOpContext

func (*ComparisonContext) EnterRule

func (s *ComparisonContext) EnterRule(listener antlr.ParseTreeListener)

func (*ComparisonContext) ExitRule

func (s *ComparisonContext) ExitRule(listener antlr.ParseTreeListener)

func (*ComparisonContext) ExprMain

func (s *ComparisonContext) ExprMain(i int) IExprMainContext

func (*ComparisonContext) GetParser

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

func (*ComparisonContext) GetRuleContext

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

func (*ComparisonContext) IsComparisonContext

func (*ComparisonContext) IsComparisonContext()

func (*ComparisonContext) ToStringTree

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

type ConstAtomContext

type ConstAtomContext struct {
	*AtomContext
}

func NewConstAtomContext

func NewConstAtomContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ConstAtomContext

func (*ConstAtomContext) Accept

func (s *ConstAtomContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ConstAtomContext) ConstVal

func (s *ConstAtomContext) ConstVal() IConstValContext

func (*ConstAtomContext) EnterRule

func (s *ConstAtomContext) EnterRule(listener antlr.ParseTreeListener)

func (*ConstAtomContext) ExitRule

func (s *ConstAtomContext) ExitRule(listener antlr.ParseTreeListener)

func (*ConstAtomContext) GetRuleContext

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

type ConstValContext

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

func NewConstValContext

func NewConstValContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConstValContext

func NewEmptyConstValContext

func NewEmptyConstValContext() *ConstValContext

func (*ConstValContext) Accept

func (s *ConstValContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ConstValContext) AllSTRING

func (s *ConstValContext) AllSTRING() []antlr.TerminalNode

func (*ConstValContext) EnterRule

func (s *ConstValContext) EnterRule(listener antlr.ParseTreeListener)

func (*ConstValContext) ExitRule

func (s *ConstValContext) ExitRule(listener antlr.ParseTreeListener)

func (*ConstValContext) FALSE

func (s *ConstValContext) FALSE() antlr.TerminalNode

func (*ConstValContext) GetParser

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

func (*ConstValContext) GetRuleContext

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

func (*ConstValContext) IsConstValContext

func (*ConstValContext) IsConstValContext()

func (*ConstValContext) NAME

func (*ConstValContext) NONE

func (*ConstValContext) NUMBER

func (s *ConstValContext) NUMBER() antlr.TerminalNode

func (*ConstValContext) STRING

func (s *ConstValContext) STRING(i int) antlr.TerminalNode

func (*ConstValContext) TRUE

func (*ConstValContext) ToStringTree

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

type DictItemContext

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

func NewDictItemContext

func NewDictItemContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DictItemContext

func NewEmptyDictItemContext

func NewEmptyDictItemContext() *DictItemContext

func (*DictItemContext) CopyFrom

func (s *DictItemContext) CopyFrom(ctx *DictItemContext)

func (*DictItemContext) GetParser

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

func (*DictItemContext) GetRuleContext

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

func (*DictItemContext) IsDictItemContext

func (*DictItemContext) IsDictItemContext()

func (*DictItemContext) ToStringTree

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

type DictMakerContext

type DictMakerContext struct {
	*DictOrSetMakerContext
}

func NewDictMakerContext

func NewDictMakerContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DictMakerContext

func (*DictMakerContext) Accept

func (s *DictMakerContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*DictMakerContext) AllDictItem

func (s *DictMakerContext) AllDictItem() []IDictItemContext

func (*DictMakerContext) DictItem

func (s *DictMakerContext) DictItem(i int) IDictItemContext

func (*DictMakerContext) EnterRule

func (s *DictMakerContext) EnterRule(listener antlr.ParseTreeListener)

func (*DictMakerContext) ExitRule

func (s *DictMakerContext) ExitRule(listener antlr.ParseTreeListener)

func (*DictMakerContext) GetRuleContext

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

type DictOrSetAtomContext

type DictOrSetAtomContext struct {
	*AtomContext
}

func NewDictOrSetAtomContext

func NewDictOrSetAtomContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DictOrSetAtomContext

func (*DictOrSetAtomContext) Accept

func (s *DictOrSetAtomContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*DictOrSetAtomContext) DictOrSetMaker

func (s *DictOrSetAtomContext) DictOrSetMaker() IDictOrSetMakerContext

func (*DictOrSetAtomContext) EnterRule

func (s *DictOrSetAtomContext) EnterRule(listener antlr.ParseTreeListener)

func (*DictOrSetAtomContext) ExitRule

func (s *DictOrSetAtomContext) ExitRule(listener antlr.ParseTreeListener)

func (*DictOrSetAtomContext) GetRuleContext

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

type DictOrSetMakerContext

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

func NewDictOrSetMakerContext

func NewDictOrSetMakerContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DictOrSetMakerContext

func NewEmptyDictOrSetMakerContext

func NewEmptyDictOrSetMakerContext() *DictOrSetMakerContext

func (*DictOrSetMakerContext) CopyFrom

func (s *DictOrSetMakerContext) CopyFrom(ctx *DictOrSetMakerContext)

func (*DictOrSetMakerContext) GetParser

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

func (*DictOrSetMakerContext) GetRuleContext

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

func (*DictOrSetMakerContext) IsDictOrSetMakerContext

func (*DictOrSetMakerContext) IsDictOrSetMakerContext()

func (*DictOrSetMakerContext) ToStringTree

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

type ExprContContext

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

func NewEmptyExprContContext

func NewEmptyExprContContext() *ExprContContext

func NewExprContContext

func NewExprContContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprContContext

func (*ExprContContext) Accept

func (s *ExprContContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ExprContContext) EnterRule

func (s *ExprContContext) EnterRule(listener antlr.ParseTreeListener)

func (*ExprContContext) ExitRule

func (s *ExprContContext) ExitRule(listener antlr.ParseTreeListener)

func (*ExprContContext) GetOp

func (s *ExprContContext) GetOp() antlr.Token

func (*ExprContContext) GetParser

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

func (*ExprContContext) GetRuleContext

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

func (*ExprContContext) IsExprContContext

func (*ExprContContext) IsExprContContext()

func (*ExprContContext) SetOp

func (s *ExprContContext) SetOp(v antlr.Token)

func (*ExprContContext) ToStringTree

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

func (*ExprContContext) XorExpr

func (s *ExprContContext) XorExpr() IXorExprContext

type ExprContext

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

func NewEmptyExprContext

func NewEmptyExprContext() *ExprContext

func NewExprContext

func NewExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprContext

func (*ExprContext) Accept

func (s *ExprContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ExprContext) EnterRule

func (s *ExprContext) EnterRule(listener antlr.ParseTreeListener)

func (*ExprContext) ExitRule

func (s *ExprContext) ExitRule(listener antlr.ParseTreeListener)

func (*ExprContext) GetParser

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

func (*ExprContext) GetRuleContext

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

func (*ExprContext) IsExprContext

func (*ExprContext) IsExprContext()

func (*ExprContext) OrTest

func (s *ExprContext) OrTest() IOrTestContext

func (*ExprContext) ToStringTree

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

type ExprLexer

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

func NewExprLexer

func NewExprLexer(input antlr.CharStream) *ExprLexer

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

type ExprListener

type ExprListener interface {
	antlr.ParseTreeListener

	// EnterSingleExpr is called when entering the singleExpr production.
	EnterSingleExpr(c *SingleExprContext)

	// EnterExpr is called when entering the expr production.
	EnterExpr(c *ExprContext)

	// EnterOrTest is called when entering the orTest production.
	EnterOrTest(c *OrTestContext)

	// EnterAndTest is called when entering the andTest production.
	EnterAndTest(c *AndTestContext)

	// EnterNotTest is called when entering the notTest production.
	EnterNotTest(c *NotTestContext)

	// EnterComparison is called when entering the comparison production.
	EnterComparison(c *ComparisonContext)

	// EnterCompOp is called when entering the compOp production.
	EnterCompOp(c *CompOpContext)

	// EnterExprMain is called when entering the exprMain production.
	EnterExprMain(c *ExprMainContext)

	// EnterExprCont is called when entering the exprCont production.
	EnterExprCont(c *ExprContContext)

	// EnterXorExpr is called when entering the xorExpr production.
	EnterXorExpr(c *XorExprContext)

	// EnterXorExprCont is called when entering the xorExprCont production.
	EnterXorExprCont(c *XorExprContContext)

	// EnterAndExpr is called when entering the andExpr production.
	EnterAndExpr(c *AndExprContext)

	// EnterAndExprCont is called when entering the andExprCont production.
	EnterAndExprCont(c *AndExprContContext)

	// EnterShiftExpr is called when entering the shiftExpr production.
	EnterShiftExpr(c *ShiftExprContext)

	// EnterShiftExprCont is called when entering the shiftExprCont production.
	EnterShiftExprCont(c *ShiftExprContContext)

	// EnterArithExpr is called when entering the arithExpr production.
	EnterArithExpr(c *ArithExprContext)

	// EnterArithExprCont is called when entering the arithExprCont production.
	EnterArithExprCont(c *ArithExprContContext)

	// EnterTerm is called when entering the term production.
	EnterTerm(c *TermContext)

	// EnterTermCont is called when entering the termCont production.
	EnterTermCont(c *TermContContext)

	// EnterFactor is called when entering the factor production.
	EnterFactor(c *FactorContext)

	// EnterPower is called when entering the power production.
	EnterPower(c *PowerContext)

	// EnterAtomExpr is called when entering the atomExpr production.
	EnterAtomExpr(c *AtomExprContext)

	// EnterParenAtom is called when entering the parenAtom production.
	EnterParenAtom(c *ParenAtomContext)

	// EnterBracketAtom is called when entering the bracketAtom production.
	EnterBracketAtom(c *BracketAtomContext)

	// EnterDictOrSetAtom is called when entering the dictOrSetAtom production.
	EnterDictOrSetAtom(c *DictOrSetAtomContext)

	// EnterConstAtom is called when entering the constAtom production.
	EnterConstAtom(c *ConstAtomContext)

	// EnterConstVal is called when entering the constVal production.
	EnterConstVal(c *ConstValContext)

	// EnterTestListComp is called when entering the testListComp production.
	EnterTestListComp(c *TestListCompContext)

	// EnterExprOrStarExpr is called when entering the exprOrStarExpr production.
	EnterExprOrStarExpr(c *ExprOrStarExprContext)

	// EnterStarExpr is called when entering the starExpr production.
	EnterStarExpr(c *StarExprContext)

	// EnterTrailer is called when entering the trailer production.
	EnterTrailer(c *TrailerContext)

	// EnterSubscriptList is called when entering the subscriptList production.
	EnterSubscriptList(c *SubscriptListContext)

	// EnterExprSubscript is called when entering the exprSubscript production.
	EnterExprSubscript(c *ExprSubscriptContext)

	// EnterSliceSubscript is called when entering the sliceSubscript production.
	EnterSliceSubscript(c *SliceSubscriptContext)

	// EnterSliceOp is called when entering the sliceOp production.
	EnterSliceOp(c *SliceOpContext)

	// EnterDictMaker is called when entering the dictMaker production.
	EnterDictMaker(c *DictMakerContext)

	// EnterSetMaker is called when entering the setMaker production.
	EnterSetMaker(c *SetMakerContext)

	// EnterKvDictItem is called when entering the kvDictItem production.
	EnterKvDictItem(c *KvDictItemContext)

	// EnterStarsDictItem is called when entering the starsDictItem production.
	EnterStarsDictItem(c *StarsDictItemContext)

	// ExitSingleExpr is called when exiting the singleExpr production.
	ExitSingleExpr(c *SingleExprContext)

	// ExitExpr is called when exiting the expr production.
	ExitExpr(c *ExprContext)

	// ExitOrTest is called when exiting the orTest production.
	ExitOrTest(c *OrTestContext)

	// ExitAndTest is called when exiting the andTest production.
	ExitAndTest(c *AndTestContext)

	// ExitNotTest is called when exiting the notTest production.
	ExitNotTest(c *NotTestContext)

	// ExitComparison is called when exiting the comparison production.
	ExitComparison(c *ComparisonContext)

	// ExitCompOp is called when exiting the compOp production.
	ExitCompOp(c *CompOpContext)

	// ExitExprMain is called when exiting the exprMain production.
	ExitExprMain(c *ExprMainContext)

	// ExitExprCont is called when exiting the exprCont production.
	ExitExprCont(c *ExprContContext)

	// ExitXorExpr is called when exiting the xorExpr production.
	ExitXorExpr(c *XorExprContext)

	// ExitXorExprCont is called when exiting the xorExprCont production.
	ExitXorExprCont(c *XorExprContContext)

	// ExitAndExpr is called when exiting the andExpr production.
	ExitAndExpr(c *AndExprContext)

	// ExitAndExprCont is called when exiting the andExprCont production.
	ExitAndExprCont(c *AndExprContContext)

	// ExitShiftExpr is called when exiting the shiftExpr production.
	ExitShiftExpr(c *ShiftExprContext)

	// ExitShiftExprCont is called when exiting the shiftExprCont production.
	ExitShiftExprCont(c *ShiftExprContContext)

	// ExitArithExpr is called when exiting the arithExpr production.
	ExitArithExpr(c *ArithExprContext)

	// ExitArithExprCont is called when exiting the arithExprCont production.
	ExitArithExprCont(c *ArithExprContContext)

	// ExitTerm is called when exiting the term production.
	ExitTerm(c *TermContext)

	// ExitTermCont is called when exiting the termCont production.
	ExitTermCont(c *TermContContext)

	// ExitFactor is called when exiting the factor production.
	ExitFactor(c *FactorContext)

	// ExitPower is called when exiting the power production.
	ExitPower(c *PowerContext)

	// ExitAtomExpr is called when exiting the atomExpr production.
	ExitAtomExpr(c *AtomExprContext)

	// ExitParenAtom is called when exiting the parenAtom production.
	ExitParenAtom(c *ParenAtomContext)

	// ExitBracketAtom is called when exiting the bracketAtom production.
	ExitBracketAtom(c *BracketAtomContext)

	// ExitDictOrSetAtom is called when exiting the dictOrSetAtom production.
	ExitDictOrSetAtom(c *DictOrSetAtomContext)

	// ExitConstAtom is called when exiting the constAtom production.
	ExitConstAtom(c *ConstAtomContext)

	// ExitConstVal is called when exiting the constVal production.
	ExitConstVal(c *ConstValContext)

	// ExitTestListComp is called when exiting the testListComp production.
	ExitTestListComp(c *TestListCompContext)

	// ExitExprOrStarExpr is called when exiting the exprOrStarExpr production.
	ExitExprOrStarExpr(c *ExprOrStarExprContext)

	// ExitStarExpr is called when exiting the starExpr production.
	ExitStarExpr(c *StarExprContext)

	// ExitTrailer is called when exiting the trailer production.
	ExitTrailer(c *TrailerContext)

	// ExitSubscriptList is called when exiting the subscriptList production.
	ExitSubscriptList(c *SubscriptListContext)

	// ExitExprSubscript is called when exiting the exprSubscript production.
	ExitExprSubscript(c *ExprSubscriptContext)

	// ExitSliceSubscript is called when exiting the sliceSubscript production.
	ExitSliceSubscript(c *SliceSubscriptContext)

	// ExitSliceOp is called when exiting the sliceOp production.
	ExitSliceOp(c *SliceOpContext)

	// ExitDictMaker is called when exiting the dictMaker production.
	ExitDictMaker(c *DictMakerContext)

	// ExitSetMaker is called when exiting the setMaker production.
	ExitSetMaker(c *SetMakerContext)

	// ExitKvDictItem is called when exiting the kvDictItem production.
	ExitKvDictItem(c *KvDictItemContext)

	// ExitStarsDictItem is called when exiting the starsDictItem production.
	ExitStarsDictItem(c *StarsDictItemContext)
}

ExprListener is a complete listener for a parse tree produced by ExprParser.

type ExprMainContext

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

func NewEmptyExprMainContext

func NewEmptyExprMainContext() *ExprMainContext

func NewExprMainContext

func NewExprMainContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprMainContext

func (*ExprMainContext) Accept

func (s *ExprMainContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ExprMainContext) AllExprCont

func (s *ExprMainContext) AllExprCont() []IExprContContext

func (*ExprMainContext) EnterRule

func (s *ExprMainContext) EnterRule(listener antlr.ParseTreeListener)

func (*ExprMainContext) ExitRule

func (s *ExprMainContext) ExitRule(listener antlr.ParseTreeListener)

func (*ExprMainContext) ExprCont

func (s *ExprMainContext) ExprCont(i int) IExprContContext

func (*ExprMainContext) GetParser

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

func (*ExprMainContext) GetRuleContext

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

func (*ExprMainContext) IsExprMainContext

func (*ExprMainContext) IsExprMainContext()

func (*ExprMainContext) ToStringTree

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

func (*ExprMainContext) XorExpr

func (s *ExprMainContext) XorExpr() IXorExprContext

type ExprOrStarExprContext

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

func NewEmptyExprOrStarExprContext

func NewEmptyExprOrStarExprContext() *ExprOrStarExprContext

func NewExprOrStarExprContext

func NewExprOrStarExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprOrStarExprContext

func (*ExprOrStarExprContext) Accept

func (s *ExprOrStarExprContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ExprOrStarExprContext) EnterRule

func (s *ExprOrStarExprContext) EnterRule(listener antlr.ParseTreeListener)

func (*ExprOrStarExprContext) ExitRule

func (s *ExprOrStarExprContext) ExitRule(listener antlr.ParseTreeListener)

func (*ExprOrStarExprContext) Expr

func (*ExprOrStarExprContext) GetParser

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

func (*ExprOrStarExprContext) GetRuleContext

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

func (*ExprOrStarExprContext) IsExprOrStarExprContext

func (*ExprOrStarExprContext) IsExprOrStarExprContext()

func (*ExprOrStarExprContext) StarExpr

func (*ExprOrStarExprContext) ToStringTree

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

type ExprParser

type ExprParser struct {
	*antlr.BaseParser
}

func NewExprParser

func NewExprParser(input antlr.TokenStream) *ExprParser

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

func (*ExprParser) AndExpr

func (p *ExprParser) AndExpr() (localctx IAndExprContext)

func (*ExprParser) AndExprCont

func (p *ExprParser) AndExprCont() (localctx IAndExprContContext)

func (*ExprParser) AndTest

func (p *ExprParser) AndTest() (localctx IAndTestContext)

func (*ExprParser) ArithExpr

func (p *ExprParser) ArithExpr() (localctx IArithExprContext)

func (*ExprParser) ArithExprCont

func (p *ExprParser) ArithExprCont() (localctx IArithExprContContext)

func (*ExprParser) Atom

func (p *ExprParser) Atom() (localctx IAtomContext)

func (*ExprParser) AtomExpr

func (p *ExprParser) AtomExpr() (localctx IAtomExprContext)

func (*ExprParser) CompOp

func (p *ExprParser) CompOp() (localctx ICompOpContext)

func (*ExprParser) Comparison

func (p *ExprParser) Comparison() (localctx IComparisonContext)

func (*ExprParser) ConstVal

func (p *ExprParser) ConstVal() (localctx IConstValContext)

func (*ExprParser) DictItem

func (p *ExprParser) DictItem() (localctx IDictItemContext)

func (*ExprParser) DictOrSetMaker

func (p *ExprParser) DictOrSetMaker() (localctx IDictOrSetMakerContext)

func (*ExprParser) Expr

func (p *ExprParser) Expr() (localctx IExprContext)

func (*ExprParser) ExprCont

func (p *ExprParser) ExprCont() (localctx IExprContContext)

func (*ExprParser) ExprMain

func (p *ExprParser) ExprMain() (localctx IExprMainContext)

func (*ExprParser) ExprOrStarExpr

func (p *ExprParser) ExprOrStarExpr() (localctx IExprOrStarExprContext)

func (*ExprParser) Factor

func (p *ExprParser) Factor() (localctx IFactorContext)

func (*ExprParser) NotTest

func (p *ExprParser) NotTest() (localctx INotTestContext)

func (*ExprParser) OrTest

func (p *ExprParser) OrTest() (localctx IOrTestContext)

func (*ExprParser) Power

func (p *ExprParser) Power() (localctx IPowerContext)

func (*ExprParser) ShiftExpr

func (p *ExprParser) ShiftExpr() (localctx IShiftExprContext)

func (*ExprParser) ShiftExprCont

func (p *ExprParser) ShiftExprCont() (localctx IShiftExprContContext)

func (*ExprParser) SingleExpr

func (p *ExprParser) SingleExpr() (localctx ISingleExprContext)

func (*ExprParser) SliceOp

func (p *ExprParser) SliceOp() (localctx ISliceOpContext)

func (*ExprParser) StarExpr

func (p *ExprParser) StarExpr() (localctx IStarExprContext)

func (*ExprParser) Subscript

func (p *ExprParser) Subscript() (localctx ISubscriptContext)

func (*ExprParser) SubscriptList

func (p *ExprParser) SubscriptList() (localctx ISubscriptListContext)

func (*ExprParser) Term

func (p *ExprParser) Term() (localctx ITermContext)

func (*ExprParser) TermCont

func (p *ExprParser) TermCont() (localctx ITermContContext)

func (*ExprParser) TestListComp

func (p *ExprParser) TestListComp() (localctx ITestListCompContext)

func (*ExprParser) Trailer

func (p *ExprParser) Trailer() (localctx ITrailerContext)

func (*ExprParser) XorExpr

func (p *ExprParser) XorExpr() (localctx IXorExprContext)

func (*ExprParser) XorExprCont

func (p *ExprParser) XorExprCont() (localctx IXorExprContContext)

type ExprSubscriptContext

type ExprSubscriptContext struct {
	*SubscriptContext
}

func NewExprSubscriptContext

func NewExprSubscriptContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExprSubscriptContext

func (*ExprSubscriptContext) Accept

func (s *ExprSubscriptContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ExprSubscriptContext) EnterRule

func (s *ExprSubscriptContext) EnterRule(listener antlr.ParseTreeListener)

func (*ExprSubscriptContext) ExitRule

func (s *ExprSubscriptContext) ExitRule(listener antlr.ParseTreeListener)

func (*ExprSubscriptContext) Expr

func (*ExprSubscriptContext) GetRuleContext

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

type ExprVisitor

type ExprVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by ExprParser#singleExpr.
	VisitSingleExpr(ctx *SingleExprContext) any

	// Visit a parse tree produced by ExprParser#expr.
	VisitExpr(ctx *ExprContext) any

	// Visit a parse tree produced by ExprParser#orTest.
	VisitOrTest(ctx *OrTestContext) any

	// Visit a parse tree produced by ExprParser#andTest.
	VisitAndTest(ctx *AndTestContext) any

	// Visit a parse tree produced by ExprParser#notTest.
	VisitNotTest(ctx *NotTestContext) any

	// Visit a parse tree produced by ExprParser#comparison.
	VisitComparison(ctx *ComparisonContext) any

	// Visit a parse tree produced by ExprParser#compOp.
	VisitCompOp(ctx *CompOpContext) any

	// Visit a parse tree produced by ExprParser#exprMain.
	VisitExprMain(ctx *ExprMainContext) any

	// Visit a parse tree produced by ExprParser#exprCont.
	VisitExprCont(ctx *ExprContContext) any

	// Visit a parse tree produced by ExprParser#xorExpr.
	VisitXorExpr(ctx *XorExprContext) any

	// Visit a parse tree produced by ExprParser#xorExprCont.
	VisitXorExprCont(ctx *XorExprContContext) any

	// Visit a parse tree produced by ExprParser#andExpr.
	VisitAndExpr(ctx *AndExprContext) any

	// Visit a parse tree produced by ExprParser#andExprCont.
	VisitAndExprCont(ctx *AndExprContContext) any

	// Visit a parse tree produced by ExprParser#shiftExpr.
	VisitShiftExpr(ctx *ShiftExprContext) any

	// Visit a parse tree produced by ExprParser#shiftExprCont.
	VisitShiftExprCont(ctx *ShiftExprContContext) any

	// Visit a parse tree produced by ExprParser#arithExpr.
	VisitArithExpr(ctx *ArithExprContext) any

	// Visit a parse tree produced by ExprParser#arithExprCont.
	VisitArithExprCont(ctx *ArithExprContContext) any

	// Visit a parse tree produced by ExprParser#term.
	VisitTerm(ctx *TermContext) any

	// Visit a parse tree produced by ExprParser#termCont.
	VisitTermCont(ctx *TermContContext) any

	// Visit a parse tree produced by ExprParser#factor.
	VisitFactor(ctx *FactorContext) any

	// Visit a parse tree produced by ExprParser#power.
	VisitPower(ctx *PowerContext) any

	// Visit a parse tree produced by ExprParser#atomExpr.
	VisitAtomExpr(ctx *AtomExprContext) any

	// Visit a parse tree produced by ExprParser#parenAtom.
	VisitParenAtom(ctx *ParenAtomContext) any

	// Visit a parse tree produced by ExprParser#bracketAtom.
	VisitBracketAtom(ctx *BracketAtomContext) any

	// Visit a parse tree produced by ExprParser#dictOrSetAtom.
	VisitDictOrSetAtom(ctx *DictOrSetAtomContext) any

	// Visit a parse tree produced by ExprParser#constAtom.
	VisitConstAtom(ctx *ConstAtomContext) any

	// Visit a parse tree produced by ExprParser#constVal.
	VisitConstVal(ctx *ConstValContext) any

	// Visit a parse tree produced by ExprParser#testListComp.
	VisitTestListComp(ctx *TestListCompContext) any

	// Visit a parse tree produced by ExprParser#exprOrStarExpr.
	VisitExprOrStarExpr(ctx *ExprOrStarExprContext) any

	// Visit a parse tree produced by ExprParser#starExpr.
	VisitStarExpr(ctx *StarExprContext) any

	// Visit a parse tree produced by ExprParser#trailer.
	VisitTrailer(ctx *TrailerContext) any

	// Visit a parse tree produced by ExprParser#subscriptList.
	VisitSubscriptList(ctx *SubscriptListContext) any

	// Visit a parse tree produced by ExprParser#exprSubscript.
	VisitExprSubscript(ctx *ExprSubscriptContext) any

	// Visit a parse tree produced by ExprParser#sliceSubscript.
	VisitSliceSubscript(ctx *SliceSubscriptContext) any

	// Visit a parse tree produced by ExprParser#sliceOp.
	VisitSliceOp(ctx *SliceOpContext) any

	// Visit a parse tree produced by ExprParser#dictMaker.
	VisitDictMaker(ctx *DictMakerContext) any

	// Visit a parse tree produced by ExprParser#setMaker.
	VisitSetMaker(ctx *SetMakerContext) any

	// Visit a parse tree produced by ExprParser#kvDictItem.
	VisitKvDictItem(ctx *KvDictItemContext) any

	// Visit a parse tree produced by ExprParser#starsDictItem.
	VisitStarsDictItem(ctx *StarsDictItemContext) any
}

A complete Visitor for a parse tree produced by ExprParser.

type FactorContext

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

func NewEmptyFactorContext

func NewEmptyFactorContext() *FactorContext

func NewFactorContext

func NewFactorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FactorContext

func (*FactorContext) Accept

func (s *FactorContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*FactorContext) EnterRule

func (s *FactorContext) EnterRule(listener antlr.ParseTreeListener)

func (*FactorContext) ExitRule

func (s *FactorContext) ExitRule(listener antlr.ParseTreeListener)

func (*FactorContext) Factor

func (s *FactorContext) Factor() IFactorContext

func (*FactorContext) GetOp

func (s *FactorContext) GetOp() antlr.Token

func (*FactorContext) GetParser

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

func (*FactorContext) GetRuleContext

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

func (*FactorContext) IsFactorContext

func (*FactorContext) IsFactorContext()

func (*FactorContext) Power

func (s *FactorContext) Power() IPowerContext

func (*FactorContext) SetOp

func (s *FactorContext) SetOp(v antlr.Token)

func (*FactorContext) ToStringTree

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

type IAndExprContContext

type IAndExprContContext interface {
	antlr.ParserRuleContext

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

	// GetOp returns the op token.
	GetOp() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// Getter signatures
	ShiftExpr() IShiftExprContext

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

IAndExprContContext is an interface to support dynamic dispatch.

type IAndExprContext

type IAndExprContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	ShiftExpr() IShiftExprContext
	AllAndExprCont() []IAndExprContContext
	AndExprCont(i int) IAndExprContContext

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

IAndExprContext is an interface to support dynamic dispatch.

type IAndTestContext

type IAndTestContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllNotTest() []INotTestContext
	NotTest(i int) INotTestContext
	AllAND() []antlr.TerminalNode
	AND(i int) antlr.TerminalNode

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

IAndTestContext is an interface to support dynamic dispatch.

type IArithExprContContext

type IArithExprContContext interface {
	antlr.ParserRuleContext

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

	// GetOp returns the op token.
	GetOp() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// Getter signatures
	Term() ITermContext

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

IArithExprContContext is an interface to support dynamic dispatch.

type IArithExprContext

type IArithExprContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Term() ITermContext
	AllArithExprCont() []IArithExprContContext
	ArithExprCont(i int) IArithExprContContext

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

IArithExprContext is an interface to support dynamic dispatch.

type IAtomContext

type IAtomContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsAtomContext differentiates from other interfaces.
	IsAtomContext()
}

IAtomContext is an interface to support dynamic dispatch.

type IAtomExprContext

type IAtomExprContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Atom() IAtomContext
	AllTrailer() []ITrailerContext
	Trailer(i int) ITrailerContext

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

IAtomExprContext is an interface to support dynamic dispatch.

type ICompOpContext

type ICompOpContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	IN() antlr.TerminalNode
	NOT() antlr.TerminalNode
	IS() antlr.TerminalNode

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

ICompOpContext is an interface to support dynamic dispatch.

type IComparisonContext

type IComparisonContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllExprMain() []IExprMainContext
	ExprMain(i int) IExprMainContext
	AllCompOp() []ICompOpContext
	CompOp(i int) ICompOpContext

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

IComparisonContext is an interface to support dynamic dispatch.

type IConstValContext

type IConstValContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	NAME() antlr.TerminalNode
	NUMBER() antlr.TerminalNode
	AllSTRING() []antlr.TerminalNode
	STRING(i int) antlr.TerminalNode
	NONE() antlr.TerminalNode
	TRUE() antlr.TerminalNode
	FALSE() antlr.TerminalNode

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

IConstValContext is an interface to support dynamic dispatch.

type IDictItemContext

type IDictItemContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsDictItemContext differentiates from other interfaces.
	IsDictItemContext()
}

IDictItemContext is an interface to support dynamic dispatch.

type IDictOrSetMakerContext

type IDictOrSetMakerContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsDictOrSetMakerContext differentiates from other interfaces.
	IsDictOrSetMakerContext()
}

IDictOrSetMakerContext is an interface to support dynamic dispatch.

type IExprContContext

type IExprContContext interface {
	antlr.ParserRuleContext

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

	// GetOp returns the op token.
	GetOp() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// Getter signatures
	XorExpr() IXorExprContext

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

IExprContContext is an interface to support dynamic dispatch.

type IExprContext

type IExprContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	OrTest() IOrTestContext

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

IExprContext is an interface to support dynamic dispatch.

type IExprMainContext

type IExprMainContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	XorExpr() IXorExprContext
	AllExprCont() []IExprContContext
	ExprCont(i int) IExprContContext

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

IExprMainContext is an interface to support dynamic dispatch.

type IExprOrStarExprContext

type IExprOrStarExprContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Expr() IExprContext
	StarExpr() IStarExprContext

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

IExprOrStarExprContext is an interface to support dynamic dispatch.

type IFactorContext

type IFactorContext interface {
	antlr.ParserRuleContext

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

	// GetOp returns the op token.
	GetOp() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// Getter signatures
	Factor() IFactorContext
	Power() IPowerContext

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

IFactorContext is an interface to support dynamic dispatch.

type INotTestContext

type INotTestContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	NOT() antlr.TerminalNode
	NotTest() INotTestContext
	Comparison() IComparisonContext

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

INotTestContext is an interface to support dynamic dispatch.

type IOrTestContext

type IOrTestContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllAndTest() []IAndTestContext
	AndTest(i int) IAndTestContext
	AllOR() []antlr.TerminalNode
	OR(i int) antlr.TerminalNode

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

IOrTestContext is an interface to support dynamic dispatch.

type IPowerContext

type IPowerContext interface {
	antlr.ParserRuleContext

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

	// GetOp returns the op token.
	GetOp() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// Getter signatures
	AtomExpr() IAtomExprContext
	Factor() IFactorContext

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

IPowerContext is an interface to support dynamic dispatch.

type IShiftExprContContext

type IShiftExprContContext interface {
	antlr.ParserRuleContext

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

	// GetOp returns the op token.
	GetOp() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// Getter signatures
	ArithExpr() IArithExprContext

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

IShiftExprContContext is an interface to support dynamic dispatch.

type IShiftExprContext

type IShiftExprContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	ArithExpr() IArithExprContext
	AllShiftExprCont() []IShiftExprContContext
	ShiftExprCont(i int) IShiftExprContContext

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

IShiftExprContext is an interface to support dynamic dispatch.

type ISingleExprContext

type ISingleExprContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Expr() IExprContext
	EOF() antlr.TerminalNode

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

ISingleExprContext is an interface to support dynamic dispatch.

type ISliceOpContext

type ISliceOpContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Expr() IExprContext

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

ISliceOpContext is an interface to support dynamic dispatch.

type IStarExprContext

type IStarExprContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Expr() IExprContext

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

IStarExprContext is an interface to support dynamic dispatch.

type ISubscriptContext

type ISubscriptContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsSubscriptContext differentiates from other interfaces.
	IsSubscriptContext()
}

ISubscriptContext is an interface to support dynamic dispatch.

type ISubscriptListContext

type ISubscriptListContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllSubscript() []ISubscriptContext
	Subscript(i int) ISubscriptContext

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

ISubscriptListContext is an interface to support dynamic dispatch.

type ITermContContext

type ITermContContext interface {
	antlr.ParserRuleContext

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

	// GetOp returns the op token.
	GetOp() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// Getter signatures
	Factor() IFactorContext

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

ITermContContext is an interface to support dynamic dispatch.

type ITermContext

type ITermContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Factor() IFactorContext
	AllTermCont() []ITermContContext
	TermCont(i int) ITermContContext

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

ITermContext is an interface to support dynamic dispatch.

type ITestListCompContext

type ITestListCompContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllExprOrStarExpr() []IExprOrStarExprContext
	ExprOrStarExpr(i int) IExprOrStarExprContext

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

ITestListCompContext is an interface to support dynamic dispatch.

type ITrailerContext

type ITrailerContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	SubscriptList() ISubscriptListContext
	NAME() antlr.TerminalNode

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

ITrailerContext is an interface to support dynamic dispatch.

type IXorExprContContext

type IXorExprContContext interface {
	antlr.ParserRuleContext

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

	// GetOp returns the op token.
	GetOp() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// Getter signatures
	AndExpr() IAndExprContext

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

IXorExprContContext is an interface to support dynamic dispatch.

type IXorExprContext

type IXorExprContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AndExpr() IAndExprContext
	AllXorExprCont() []IXorExprContContext
	XorExprCont(i int) IXorExprContContext

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

IXorExprContext is an interface to support dynamic dispatch.

type KvDictItemContext

type KvDictItemContext struct {
	*DictItemContext
	// contains filtered or unexported fields
}

func NewKvDictItemContext

func NewKvDictItemContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *KvDictItemContext

func (*KvDictItemContext) Accept

func (s *KvDictItemContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*KvDictItemContext) AllExpr

func (s *KvDictItemContext) AllExpr() []IExprContext

func (*KvDictItemContext) EnterRule

func (s *KvDictItemContext) EnterRule(listener antlr.ParseTreeListener)

func (*KvDictItemContext) ExitRule

func (s *KvDictItemContext) ExitRule(listener antlr.ParseTreeListener)

func (*KvDictItemContext) Expr

func (s *KvDictItemContext) Expr(i int) IExprContext

func (*KvDictItemContext) GetK

func (s *KvDictItemContext) GetK() IExprContext

func (*KvDictItemContext) GetRuleContext

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

func (*KvDictItemContext) GetV

func (s *KvDictItemContext) GetV() IExprContext

func (*KvDictItemContext) SetK

func (s *KvDictItemContext) SetK(v IExprContext)

func (*KvDictItemContext) SetV

func (s *KvDictItemContext) SetV(v IExprContext)

type NotTestContext

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

func NewEmptyNotTestContext

func NewEmptyNotTestContext() *NotTestContext

func NewNotTestContext

func NewNotTestContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NotTestContext

func (*NotTestContext) Accept

func (s *NotTestContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*NotTestContext) Comparison

func (s *NotTestContext) Comparison() IComparisonContext

func (*NotTestContext) EnterRule

func (s *NotTestContext) EnterRule(listener antlr.ParseTreeListener)

func (*NotTestContext) ExitRule

func (s *NotTestContext) ExitRule(listener antlr.ParseTreeListener)

func (*NotTestContext) GetParser

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

func (*NotTestContext) GetRuleContext

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

func (*NotTestContext) IsNotTestContext

func (*NotTestContext) IsNotTestContext()

func (*NotTestContext) NOT

func (*NotTestContext) NotTest

func (s *NotTestContext) NotTest() INotTestContext

func (*NotTestContext) ToStringTree

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

type OrTestContext

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

func NewEmptyOrTestContext

func NewEmptyOrTestContext() *OrTestContext

func NewOrTestContext

func NewOrTestContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OrTestContext

func (*OrTestContext) Accept

func (s *OrTestContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*OrTestContext) AllAndTest

func (s *OrTestContext) AllAndTest() []IAndTestContext

func (*OrTestContext) AllOR

func (s *OrTestContext) AllOR() []antlr.TerminalNode

func (*OrTestContext) AndTest

func (s *OrTestContext) AndTest(i int) IAndTestContext

func (*OrTestContext) EnterRule

func (s *OrTestContext) EnterRule(listener antlr.ParseTreeListener)

func (*OrTestContext) ExitRule

func (s *OrTestContext) ExitRule(listener antlr.ParseTreeListener)

func (*OrTestContext) GetParser

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

func (*OrTestContext) GetRuleContext

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

func (*OrTestContext) IsOrTestContext

func (*OrTestContext) IsOrTestContext()

func (*OrTestContext) OR

func (*OrTestContext) ToStringTree

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

type ParenAtomContext

type ParenAtomContext struct {
	*AtomContext
}

func NewParenAtomContext

func NewParenAtomContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParenAtomContext

func (*ParenAtomContext) Accept

func (s *ParenAtomContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ParenAtomContext) EnterRule

func (s *ParenAtomContext) EnterRule(listener antlr.ParseTreeListener)

func (*ParenAtomContext) ExitRule

func (s *ParenAtomContext) ExitRule(listener antlr.ParseTreeListener)

func (*ParenAtomContext) GetRuleContext

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

func (*ParenAtomContext) TestListComp

func (s *ParenAtomContext) TestListComp() ITestListCompContext

type PowerContext

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

func NewEmptyPowerContext

func NewEmptyPowerContext() *PowerContext

func NewPowerContext

func NewPowerContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PowerContext

func (*PowerContext) Accept

func (s *PowerContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*PowerContext) AtomExpr

func (s *PowerContext) AtomExpr() IAtomExprContext

func (*PowerContext) EnterRule

func (s *PowerContext) EnterRule(listener antlr.ParseTreeListener)

func (*PowerContext) ExitRule

func (s *PowerContext) ExitRule(listener antlr.ParseTreeListener)

func (*PowerContext) Factor

func (s *PowerContext) Factor() IFactorContext

func (*PowerContext) GetOp

func (s *PowerContext) GetOp() antlr.Token

func (*PowerContext) GetParser

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

func (*PowerContext) GetRuleContext

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

func (*PowerContext) IsPowerContext

func (*PowerContext) IsPowerContext()

func (*PowerContext) SetOp

func (s *PowerContext) SetOp(v antlr.Token)

func (*PowerContext) ToStringTree

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

type SetMakerContext

type SetMakerContext struct {
	*DictOrSetMakerContext
}

func NewSetMakerContext

func NewSetMakerContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SetMakerContext

func (*SetMakerContext) Accept

func (s *SetMakerContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*SetMakerContext) AllExpr

func (s *SetMakerContext) AllExpr() []IExprContext

func (*SetMakerContext) EnterRule

func (s *SetMakerContext) EnterRule(listener antlr.ParseTreeListener)

func (*SetMakerContext) ExitRule

func (s *SetMakerContext) ExitRule(listener antlr.ParseTreeListener)

func (*SetMakerContext) Expr

func (s *SetMakerContext) Expr(i int) IExprContext

func (*SetMakerContext) GetRuleContext

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

type ShiftExprContContext

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

func NewEmptyShiftExprContContext

func NewEmptyShiftExprContContext() *ShiftExprContContext

func NewShiftExprContContext

func NewShiftExprContContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ShiftExprContContext

func (*ShiftExprContContext) Accept

func (s *ShiftExprContContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ShiftExprContContext) ArithExpr

func (s *ShiftExprContContext) ArithExpr() IArithExprContext

func (*ShiftExprContContext) EnterRule

func (s *ShiftExprContContext) EnterRule(listener antlr.ParseTreeListener)

func (*ShiftExprContContext) ExitRule

func (s *ShiftExprContContext) ExitRule(listener antlr.ParseTreeListener)

func (*ShiftExprContContext) GetOp

func (s *ShiftExprContContext) GetOp() antlr.Token

func (*ShiftExprContContext) GetParser

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

func (*ShiftExprContContext) GetRuleContext

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

func (*ShiftExprContContext) IsShiftExprContContext

func (*ShiftExprContContext) IsShiftExprContContext()

func (*ShiftExprContContext) SetOp

func (s *ShiftExprContContext) SetOp(v antlr.Token)

func (*ShiftExprContContext) ToStringTree

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

type ShiftExprContext

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

func NewEmptyShiftExprContext

func NewEmptyShiftExprContext() *ShiftExprContext

func NewShiftExprContext

func NewShiftExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ShiftExprContext

func (*ShiftExprContext) Accept

func (s *ShiftExprContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ShiftExprContext) AllShiftExprCont

func (s *ShiftExprContext) AllShiftExprCont() []IShiftExprContContext

func (*ShiftExprContext) ArithExpr

func (s *ShiftExprContext) ArithExpr() IArithExprContext

func (*ShiftExprContext) EnterRule

func (s *ShiftExprContext) EnterRule(listener antlr.ParseTreeListener)

func (*ShiftExprContext) ExitRule

func (s *ShiftExprContext) ExitRule(listener antlr.ParseTreeListener)

func (*ShiftExprContext) GetParser

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

func (*ShiftExprContext) GetRuleContext

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

func (*ShiftExprContext) IsShiftExprContext

func (*ShiftExprContext) IsShiftExprContext()

func (*ShiftExprContext) ShiftExprCont

func (s *ShiftExprContext) ShiftExprCont(i int) IShiftExprContContext

func (*ShiftExprContext) ToStringTree

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

type SingleExprContext

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

func NewEmptySingleExprContext

func NewEmptySingleExprContext() *SingleExprContext

func NewSingleExprContext

func NewSingleExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SingleExprContext

func (*SingleExprContext) Accept

func (s *SingleExprContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*SingleExprContext) EOF

func (*SingleExprContext) EnterRule

func (s *SingleExprContext) EnterRule(listener antlr.ParseTreeListener)

func (*SingleExprContext) ExitRule

func (s *SingleExprContext) ExitRule(listener antlr.ParseTreeListener)

func (*SingleExprContext) Expr

func (s *SingleExprContext) Expr() IExprContext

func (*SingleExprContext) GetParser

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

func (*SingleExprContext) GetRuleContext

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

func (*SingleExprContext) IsSingleExprContext

func (*SingleExprContext) IsSingleExprContext()

func (*SingleExprContext) ToStringTree

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

type SliceOpContext

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

func NewEmptySliceOpContext

func NewEmptySliceOpContext() *SliceOpContext

func NewSliceOpContext

func NewSliceOpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SliceOpContext

func (*SliceOpContext) Accept

func (s *SliceOpContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*SliceOpContext) EnterRule

func (s *SliceOpContext) EnterRule(listener antlr.ParseTreeListener)

func (*SliceOpContext) ExitRule

func (s *SliceOpContext) ExitRule(listener antlr.ParseTreeListener)

func (*SliceOpContext) Expr

func (s *SliceOpContext) Expr() IExprContext

func (*SliceOpContext) GetParser

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

func (*SliceOpContext) GetRuleContext

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

func (*SliceOpContext) IsSliceOpContext

func (*SliceOpContext) IsSliceOpContext()

func (*SliceOpContext) ToStringTree

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

type SliceSubscriptContext

type SliceSubscriptContext struct {
	*SubscriptContext
	// contains filtered or unexported fields
}

func NewSliceSubscriptContext

func NewSliceSubscriptContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SliceSubscriptContext

func (*SliceSubscriptContext) Accept

func (s *SliceSubscriptContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*SliceSubscriptContext) AllExpr

func (s *SliceSubscriptContext) AllExpr() []IExprContext

func (*SliceSubscriptContext) EnterRule

func (s *SliceSubscriptContext) EnterRule(listener antlr.ParseTreeListener)

func (*SliceSubscriptContext) ExitRule

func (s *SliceSubscriptContext) ExitRule(listener antlr.ParseTreeListener)

func (*SliceSubscriptContext) Expr

func (*SliceSubscriptContext) GetRuleContext

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

func (*SliceSubscriptContext) GetSta

func (s *SliceSubscriptContext) GetSta() IExprContext

func (*SliceSubscriptContext) GetSte

func (*SliceSubscriptContext) GetSto

func (s *SliceSubscriptContext) GetSto() IExprContext

func (*SliceSubscriptContext) SetSta

func (s *SliceSubscriptContext) SetSta(v IExprContext)

func (*SliceSubscriptContext) SetSte

func (*SliceSubscriptContext) SetSto

func (s *SliceSubscriptContext) SetSto(v IExprContext)

func (*SliceSubscriptContext) SliceOp

type StarExprContext

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

func NewEmptyStarExprContext

func NewEmptyStarExprContext() *StarExprContext

func NewStarExprContext

func NewStarExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StarExprContext

func (*StarExprContext) Accept

func (s *StarExprContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*StarExprContext) EnterRule

func (s *StarExprContext) EnterRule(listener antlr.ParseTreeListener)

func (*StarExprContext) ExitRule

func (s *StarExprContext) ExitRule(listener antlr.ParseTreeListener)

func (*StarExprContext) Expr

func (s *StarExprContext) Expr() IExprContext

func (*StarExprContext) GetParser

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

func (*StarExprContext) GetRuleContext

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

func (*StarExprContext) IsStarExprContext

func (*StarExprContext) IsStarExprContext()

func (*StarExprContext) ToStringTree

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

type StarsDictItemContext

type StarsDictItemContext struct {
	*DictItemContext
}

func NewStarsDictItemContext

func NewStarsDictItemContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StarsDictItemContext

func (*StarsDictItemContext) Accept

func (s *StarsDictItemContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*StarsDictItemContext) EnterRule

func (s *StarsDictItemContext) EnterRule(listener antlr.ParseTreeListener)

func (*StarsDictItemContext) ExitRule

func (s *StarsDictItemContext) ExitRule(listener antlr.ParseTreeListener)

func (*StarsDictItemContext) ExprMain

func (s *StarsDictItemContext) ExprMain() IExprMainContext

func (*StarsDictItemContext) GetRuleContext

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

type SubscriptContext

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

func NewEmptySubscriptContext

func NewEmptySubscriptContext() *SubscriptContext

func NewSubscriptContext

func NewSubscriptContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubscriptContext

func (*SubscriptContext) CopyFrom

func (s *SubscriptContext) CopyFrom(ctx *SubscriptContext)

func (*SubscriptContext) GetParser

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

func (*SubscriptContext) GetRuleContext

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

func (*SubscriptContext) IsSubscriptContext

func (*SubscriptContext) IsSubscriptContext()

func (*SubscriptContext) ToStringTree

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

type SubscriptListContext

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

func NewEmptySubscriptListContext

func NewEmptySubscriptListContext() *SubscriptListContext

func NewSubscriptListContext

func NewSubscriptListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubscriptListContext

func (*SubscriptListContext) Accept

func (s *SubscriptListContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*SubscriptListContext) AllSubscript

func (s *SubscriptListContext) AllSubscript() []ISubscriptContext

func (*SubscriptListContext) EnterRule

func (s *SubscriptListContext) EnterRule(listener antlr.ParseTreeListener)

func (*SubscriptListContext) ExitRule

func (s *SubscriptListContext) ExitRule(listener antlr.ParseTreeListener)

func (*SubscriptListContext) GetParser

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

func (*SubscriptListContext) GetRuleContext

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

func (*SubscriptListContext) IsSubscriptListContext

func (*SubscriptListContext) IsSubscriptListContext()

func (*SubscriptListContext) Subscript

func (s *SubscriptListContext) Subscript(i int) ISubscriptContext

func (*SubscriptListContext) ToStringTree

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

type TermContContext

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

func NewEmptyTermContContext

func NewEmptyTermContContext() *TermContContext

func NewTermContContext

func NewTermContContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TermContContext

func (*TermContContext) Accept

func (s *TermContContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*TermContContext) EnterRule

func (s *TermContContext) EnterRule(listener antlr.ParseTreeListener)

func (*TermContContext) ExitRule

func (s *TermContContext) ExitRule(listener antlr.ParseTreeListener)

func (*TermContContext) Factor

func (s *TermContContext) Factor() IFactorContext

func (*TermContContext) GetOp

func (s *TermContContext) GetOp() antlr.Token

func (*TermContContext) GetParser

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

func (*TermContContext) GetRuleContext

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

func (*TermContContext) IsTermContContext

func (*TermContContext) IsTermContContext()

func (*TermContContext) SetOp

func (s *TermContContext) SetOp(v antlr.Token)

func (*TermContContext) ToStringTree

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

type TermContext

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

func NewEmptyTermContext

func NewEmptyTermContext() *TermContext

func NewTermContext

func NewTermContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TermContext

func (*TermContext) Accept

func (s *TermContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*TermContext) AllTermCont

func (s *TermContext) AllTermCont() []ITermContContext

func (*TermContext) EnterRule

func (s *TermContext) EnterRule(listener antlr.ParseTreeListener)

func (*TermContext) ExitRule

func (s *TermContext) ExitRule(listener antlr.ParseTreeListener)

func (*TermContext) Factor

func (s *TermContext) Factor() IFactorContext

func (*TermContext) GetParser

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

func (*TermContext) GetRuleContext

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

func (*TermContext) IsTermContext

func (*TermContext) IsTermContext()

func (*TermContext) TermCont

func (s *TermContext) TermCont(i int) ITermContContext

func (*TermContext) ToStringTree

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

type TestListCompContext

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

func NewEmptyTestListCompContext

func NewEmptyTestListCompContext() *TestListCompContext

func NewTestListCompContext

func NewTestListCompContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TestListCompContext

func (*TestListCompContext) Accept

func (s *TestListCompContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*TestListCompContext) AllExprOrStarExpr

func (s *TestListCompContext) AllExprOrStarExpr() []IExprOrStarExprContext

func (*TestListCompContext) EnterRule

func (s *TestListCompContext) EnterRule(listener antlr.ParseTreeListener)

func (*TestListCompContext) ExitRule

func (s *TestListCompContext) ExitRule(listener antlr.ParseTreeListener)

func (*TestListCompContext) ExprOrStarExpr

func (s *TestListCompContext) ExprOrStarExpr(i int) IExprOrStarExprContext

func (*TestListCompContext) GetParser

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

func (*TestListCompContext) GetRuleContext

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

func (*TestListCompContext) IsTestListCompContext

func (*TestListCompContext) IsTestListCompContext()

func (*TestListCompContext) ToStringTree

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

type TrailerContext

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

func NewEmptyTrailerContext

func NewEmptyTrailerContext() *TrailerContext

func NewTrailerContext

func NewTrailerContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TrailerContext

func (*TrailerContext) Accept

func (s *TrailerContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*TrailerContext) EnterRule

func (s *TrailerContext) EnterRule(listener antlr.ParseTreeListener)

func (*TrailerContext) ExitRule

func (s *TrailerContext) ExitRule(listener antlr.ParseTreeListener)

func (*TrailerContext) GetParser

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

func (*TrailerContext) GetRuleContext

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

func (*TrailerContext) IsTrailerContext

func (*TrailerContext) IsTrailerContext()

func (*TrailerContext) NAME

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

func (*TrailerContext) SubscriptList

func (s *TrailerContext) SubscriptList() ISubscriptListContext

func (*TrailerContext) ToStringTree

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

type XorExprContContext

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

func NewEmptyXorExprContContext

func NewEmptyXorExprContContext() *XorExprContContext

func NewXorExprContContext

func NewXorExprContContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *XorExprContContext

func (*XorExprContContext) Accept

func (s *XorExprContContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*XorExprContContext) AndExpr

func (s *XorExprContContext) AndExpr() IAndExprContext

func (*XorExprContContext) EnterRule

func (s *XorExprContContext) EnterRule(listener antlr.ParseTreeListener)

func (*XorExprContContext) ExitRule

func (s *XorExprContContext) ExitRule(listener antlr.ParseTreeListener)

func (*XorExprContContext) GetOp

func (s *XorExprContContext) GetOp() antlr.Token

func (*XorExprContContext) GetParser

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

func (*XorExprContContext) GetRuleContext

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

func (*XorExprContContext) IsXorExprContContext

func (*XorExprContContext) IsXorExprContContext()

func (*XorExprContContext) SetOp

func (s *XorExprContContext) SetOp(v antlr.Token)

func (*XorExprContContext) ToStringTree

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

type XorExprContext

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

func NewEmptyXorExprContext

func NewEmptyXorExprContext() *XorExprContext

func NewXorExprContext

func NewXorExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *XorExprContext

func (*XorExprContext) Accept

func (s *XorExprContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*XorExprContext) AllXorExprCont

func (s *XorExprContext) AllXorExprCont() []IXorExprContContext

func (*XorExprContext) AndExpr

func (s *XorExprContext) AndExpr() IAndExprContext

func (*XorExprContext) EnterRule

func (s *XorExprContext) EnterRule(listener antlr.ParseTreeListener)

func (*XorExprContext) ExitRule

func (s *XorExprContext) ExitRule(listener antlr.ParseTreeListener)

func (*XorExprContext) GetParser

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

func (*XorExprContext) GetRuleContext

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

func (*XorExprContext) IsXorExprContext

func (*XorExprContext) IsXorExprContext()

func (*XorExprContext) ToStringTree

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

func (*XorExprContext) XorExprCont

func (s *XorExprContext) XorExprCont(i int) IXorExprContContext

Jump to

Keyboard shortcuts

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