needle

package
v0.0.0-...-c72f791 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NeedleLexerLPAREN                   = 1
	NeedleLexerRPAREN                   = 2
	NeedleLexerCOMMA                    = 3
	NeedleLexerDOT                      = 4
	NeedleLexerCOLON                    = 5
	NeedleLexerEQ                       = 6
	NeedleLexerLBRACK                   = 7
	NeedleLexerRBRACK                   = 8
	NeedleLexerLBRACE                   = 9
	NeedleLexerRBRACE                   = 10
	NeedleLexerSEMI                     = 11
	NeedleLexerNOT                      = 12
	NeedleLexerMUL                      = 13
	NeedleLexerADD                      = 14
	NeedleLexerSUB                      = 15
	NeedleLexerQUO                      = 16
	NeedleLexerLESS                     = 17
	NeedleLexerGREATER                  = 18
	NeedleLexerNOT_EQ                   = 19
	NeedleLexerAND                      = 20
	NeedleLexerLESS_EQ                  = 21
	NeedleLexerEQ_EQ                    = 22
	NeedleLexerGR_EQ                    = 23
	NeedleLexerOR                       = 24
	NeedleLexerBIT_AND                  = 25
	NeedleLexerBIT_OR                   = 26
	NeedleLexerBIT_XOR                  = 27
	NeedleLexerMOD                      = 28
	NeedleLexerLSHIFT                   = 29
	NeedleLexerRSHIFT                   = 30
	NeedleLexerADD_EQ                   = 31
	NeedleLexerSUB_EQ                   = 32
	NeedleLexerMUL_EQ                   = 33
	NeedleLexerDIV_EQ                   = 34
	NeedleLexerMOD_EQ                   = 35
	NeedleLexerLSHIFT_EQ                = 36
	NeedleLexerRSHIFT_EQ                = 37
	NeedleLexerBIT_AND_EQ               = 38
	NeedleLexerBIT_OR_EQ                = 39
	NeedleLexerBIT_XOR_EQ               = 40
	NeedleLexerINC                      = 41
	NeedleLexerDEC                      = 42
	NeedleLexerCONTRACT                 = 43
	NeedleLexerFUNC                     = 44
	NeedleLexerRETURN                   = 45
	NeedleLexerIF                       = 46
	NeedleLexerELIF                     = 47
	NeedleLexerELSE                     = 48
	NeedleLexerWHILE                    = 49
	NeedleLexerTRUE                     = 50
	NeedleLexerFALSE                    = 51
	NeedleLexerVAR                      = 52
	NeedleLexerDATA                     = 53
	NeedleLexerSETTINGS                 = 54
	NeedleLexerBREAK                    = 55
	NeedleLexerCONTINUE                 = 56
	NeedleLexerERRWARNING               = 57
	NeedleLexerERRINFO                  = 58
	NeedleLexerNIL                      = 59
	NeedleLexerACTION                   = 60
	NeedleLexerCONDITIONS               = 61
	NeedleLexerTAIL                     = 62
	NeedleLexerERROR                    = 63
	NeedleLexerBOOL                     = 64
	NeedleLexerBYTES                    = 65
	NeedleLexerINT                      = 66
	NeedleLexerADDRESS                  = 67
	NeedleLexerARRAY                    = 68
	NeedleLexerMAP                      = 69
	NeedleLexerMONEY                    = 70
	NeedleLexerFLOAT                    = 71
	NeedleLexerSTRING                   = 72
	NeedleLexerFILE                     = 73
	NeedleLexerIdentifier               = 74
	NeedleLexerDollarIdentifier         = 75
	NeedleLexerAtIdentifier             = 76
	NeedleLexerInterpretedStringLiteral = 77
	NeedleLexerRawStringLiteral         = 78
	NeedleLexerDecimalLiteral           = 79
	NeedleLexerFloatLiteral             = 80
	NeedleLexerHexLiteral               = 81
	NeedleLexerOctalLiteral             = 82
	NeedleLexerBinaryLiteral            = 83
	NeedleLexerRuneLiteral              = 84
	NeedleLexerHexByteValue             = 85
	NeedleLexerOctalByteValue           = 86
	NeedleLexerBytesValue               = 87
	NeedleLexerLittleUValue             = 88
	NeedleLexerBigUValue                = 89
	NeedleLexerTagOptional              = 90
	NeedleLexerWS                       = 91
	NeedleLexerCOMMENT                  = 92
	NeedleLexerLINE_COMMENT             = 93
	NeedleLexerTERMINATOR               = 94
	NeedleLexerWS_NLSEMI                = 95
	NeedleLexerCOMMENT_NLSEMI           = 96
	NeedleLexerLINE_COMMENT_NLSEMI      = 97
	NeedleLexerEOS                      = 98
	NeedleLexerOTHER                    = 99
)

NeedleLexer tokens.

View Source
const (
	NeedleParserEOF                      = antlr.TokenEOF
	NeedleParserLPAREN                   = 1
	NeedleParserRPAREN                   = 2
	NeedleParserCOMMA                    = 3
	NeedleParserDOT                      = 4
	NeedleParserCOLON                    = 5
	NeedleParserEQ                       = 6
	NeedleParserLBRACK                   = 7
	NeedleParserRBRACK                   = 8
	NeedleParserLBRACE                   = 9
	NeedleParserRBRACE                   = 10
	NeedleParserSEMI                     = 11
	NeedleParserNOT                      = 12
	NeedleParserMUL                      = 13
	NeedleParserADD                      = 14
	NeedleParserSUB                      = 15
	NeedleParserQUO                      = 16
	NeedleParserLESS                     = 17
	NeedleParserGREATER                  = 18
	NeedleParserNOT_EQ                   = 19
	NeedleParserAND                      = 20
	NeedleParserLESS_EQ                  = 21
	NeedleParserEQ_EQ                    = 22
	NeedleParserGR_EQ                    = 23
	NeedleParserOR                       = 24
	NeedleParserBIT_AND                  = 25
	NeedleParserBIT_OR                   = 26
	NeedleParserBIT_XOR                  = 27
	NeedleParserMOD                      = 28
	NeedleParserLSHIFT                   = 29
	NeedleParserRSHIFT                   = 30
	NeedleParserADD_EQ                   = 31
	NeedleParserSUB_EQ                   = 32
	NeedleParserMUL_EQ                   = 33
	NeedleParserDIV_EQ                   = 34
	NeedleParserMOD_EQ                   = 35
	NeedleParserLSHIFT_EQ                = 36
	NeedleParserRSHIFT_EQ                = 37
	NeedleParserBIT_AND_EQ               = 38
	NeedleParserBIT_OR_EQ                = 39
	NeedleParserBIT_XOR_EQ               = 40
	NeedleParserINC                      = 41
	NeedleParserDEC                      = 42
	NeedleParserCONTRACT                 = 43
	NeedleParserFUNC                     = 44
	NeedleParserRETURN                   = 45
	NeedleParserIF                       = 46
	NeedleParserELIF                     = 47
	NeedleParserELSE                     = 48
	NeedleParserWHILE                    = 49
	NeedleParserTRUE                     = 50
	NeedleParserFALSE                    = 51
	NeedleParserVAR                      = 52
	NeedleParserDATA                     = 53
	NeedleParserSETTINGS                 = 54
	NeedleParserBREAK                    = 55
	NeedleParserCONTINUE                 = 56
	NeedleParserERRWARNING               = 57
	NeedleParserERRINFO                  = 58
	NeedleParserNIL                      = 59
	NeedleParserACTION                   = 60
	NeedleParserCONDITIONS               = 61
	NeedleParserTAIL                     = 62
	NeedleParserERROR                    = 63
	NeedleParserBOOL                     = 64
	NeedleParserBYTES                    = 65
	NeedleParserINT                      = 66
	NeedleParserADDRESS                  = 67
	NeedleParserARRAY                    = 68
	NeedleParserMAP                      = 69
	NeedleParserMONEY                    = 70
	NeedleParserFLOAT                    = 71
	NeedleParserSTRING                   = 72
	NeedleParserFILE                     = 73
	NeedleParserIdentifier               = 74
	NeedleParserDollarIdentifier         = 75
	NeedleParserAtIdentifier             = 76
	NeedleParserInterpretedStringLiteral = 77
	NeedleParserRawStringLiteral         = 78
	NeedleParserDecimalLiteral           = 79
	NeedleParserFloatLiteral             = 80
	NeedleParserHexLiteral               = 81
	NeedleParserOctalLiteral             = 82
	NeedleParserBinaryLiteral            = 83
	NeedleParserRuneLiteral              = 84
	NeedleParserHexByteValue             = 85
	NeedleParserOctalByteValue           = 86
	NeedleParserBytesValue               = 87
	NeedleParserLittleUValue             = 88
	NeedleParserBigUValue                = 89
	NeedleParserTagOptional              = 90
	NeedleParserWS                       = 91
	NeedleParserCOMMENT                  = 92
	NeedleParserLINE_COMMENT             = 93
	NeedleParserTERMINATOR               = 94
	NeedleParserWS_NLSEMI                = 95
	NeedleParserCOMMENT_NLSEMI           = 96
	NeedleParserLINE_COMMENT_NLSEMI      = 97
	NeedleParserEOS                      = 98
	NeedleParserOTHER                    = 99
)

NeedleParser tokens.

View Source
const (
	NeedleParserRULE_sourceMain       = 0
	NeedleParserRULE_contractDef      = 1
	NeedleParserRULE_contractPart     = 2
	NeedleParserRULE_dataDef          = 3
	NeedleParserRULE_dataPart         = 4
	NeedleParserRULE_settingsDef      = 5
	NeedleParserRULE_funcDef          = 6
	NeedleParserRULE_defaultFuncDef   = 7
	NeedleParserRULE_funcDescriptor   = 8
	NeedleParserRULE_funcSignature    = 9
	NeedleParserRULE_funcTail         = 10
	NeedleParserRULE_parameterList    = 11
	NeedleParserRULE_parameter        = 12
	NeedleParserRULE_returnParameters = 13
	NeedleParserRULE_block            = 14
	NeedleParserRULE_statementList    = 15
	NeedleParserRULE_statement        = 16
	NeedleParserRULE_simpleStmt       = 17
	NeedleParserRULE_incDecStmt       = 18
	NeedleParserRULE_assignment       = 19
	NeedleParserRULE_varDef           = 20
	NeedleParserRULE_ifStmt           = 21
	NeedleParserRULE_ifBody           = 22
	NeedleParserRULE_elseBody         = 23
	NeedleParserRULE_returnStmt       = 24
	NeedleParserRULE_continueStmt     = 25
	NeedleParserRULE_breakStmt        = 26
	NeedleParserRULE_whileStmt        = 27
	NeedleParserRULE_errorStmt        = 28
	NeedleParserRULE_arrayExpr        = 29
	NeedleParserRULE_mapExpr          = 30
	NeedleParserRULE_pairList         = 31
	NeedleParserRULE_pair             = 32
	NeedleParserRULE_arguments        = 33
	NeedleParserRULE_exprList         = 34
	NeedleParserRULE_expr             = 35
	NeedleParserRULE_primaryExpr      = 36
	NeedleParserRULE_indexExpr        = 37
	NeedleParserRULE_sliceExpr        = 38
	NeedleParserRULE_contractCall     = 39
	NeedleParserRULE_operand          = 40
	NeedleParserRULE_literal          = 41
	NeedleParserRULE_typeName         = 42
	NeedleParserRULE_incDec_op        = 43
	NeedleParserRULE_mul_op           = 44
	NeedleParserRULE_unary_op         = 45
	NeedleParserRULE_add_op           = 46
	NeedleParserRULE_logical_op       = 47
	NeedleParserRULE_rel_op           = 48
	NeedleParserRULE_assign_op        = 49
	NeedleParserRULE_identifierVar    = 50
	NeedleParserRULE_identifierList   = 51
	NeedleParserRULE_stringLiteral    = 52
	NeedleParserRULE_numberLiteral    = 53
	NeedleParserRULE_booleanLiteral   = 54
	NeedleParserRULE_eos              = 55
)

NeedleParser rules.

View Source
const NeedleLexerNLSEMI = 1

NeedleLexerNLSEMI is the NeedleLexer mode.

Variables

View Source
var NeedleLexerLexerStaticData struct {
	ChannelNames           []string
	ModeNames              []string
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}
View Source
var NeedleParserParserStaticData struct {
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}

Functions

func InitEmptyAdd_opContext

func InitEmptyAdd_opContext(p *Add_opContext)

func InitEmptyArgumentsContext

func InitEmptyArgumentsContext(p *ArgumentsContext)

func InitEmptyArrayExprContext

func InitEmptyArrayExprContext(p *ArrayExprContext)

func InitEmptyAssign_opContext

func InitEmptyAssign_opContext(p *Assign_opContext)

func InitEmptyAssignmentContext

func InitEmptyAssignmentContext(p *AssignmentContext)

func InitEmptyBlockContext

func InitEmptyBlockContext(p *BlockContext)

func InitEmptyBooleanLiteralContext

func InitEmptyBooleanLiteralContext(p *BooleanLiteralContext)

func InitEmptyBreakStmtContext

func InitEmptyBreakStmtContext(p *BreakStmtContext)

func InitEmptyContinueStmtContext

func InitEmptyContinueStmtContext(p *ContinueStmtContext)

func InitEmptyContractCallContext

func InitEmptyContractCallContext(p *ContractCallContext)

func InitEmptyContractDefContext

func InitEmptyContractDefContext(p *ContractDefContext)

func InitEmptyContractPartContext

func InitEmptyContractPartContext(p *ContractPartContext)

func InitEmptyDataDefContext

func InitEmptyDataDefContext(p *DataDefContext)

func InitEmptyDataPartContext

func InitEmptyDataPartContext(p *DataPartContext)

func InitEmptyDefaultFuncDefContext

func InitEmptyDefaultFuncDefContext(p *DefaultFuncDefContext)

func InitEmptyElseBodyContext

func InitEmptyElseBodyContext(p *ElseBodyContext)

func InitEmptyEosContext

func InitEmptyEosContext(p *EosContext)

func InitEmptyErrorStmtContext

func InitEmptyErrorStmtContext(p *ErrorStmtContext)

func InitEmptyExprContext

func InitEmptyExprContext(p *ExprContext)

func InitEmptyExprListContext

func InitEmptyExprListContext(p *ExprListContext)

func InitEmptyFuncDefContext

func InitEmptyFuncDefContext(p *FuncDefContext)

func InitEmptyFuncDescriptorContext

func InitEmptyFuncDescriptorContext(p *FuncDescriptorContext)

func InitEmptyFuncSignatureContext

func InitEmptyFuncSignatureContext(p *FuncSignatureContext)

func InitEmptyFuncTailContext

func InitEmptyFuncTailContext(p *FuncTailContext)

func InitEmptyIdentifierListContext

func InitEmptyIdentifierListContext(p *IdentifierListContext)

func InitEmptyIdentifierVarContext

func InitEmptyIdentifierVarContext(p *IdentifierVarContext)

func InitEmptyIfBodyContext

func InitEmptyIfBodyContext(p *IfBodyContext)

func InitEmptyIfStmtContext

func InitEmptyIfStmtContext(p *IfStmtContext)

func InitEmptyIncDecStmtContext

func InitEmptyIncDecStmtContext(p *IncDecStmtContext)

func InitEmptyIncDec_opContext

func InitEmptyIncDec_opContext(p *IncDec_opContext)

func InitEmptyIndexExprContext

func InitEmptyIndexExprContext(p *IndexExprContext)

func InitEmptyLiteralContext

func InitEmptyLiteralContext(p *LiteralContext)

func InitEmptyLogical_opContext

func InitEmptyLogical_opContext(p *Logical_opContext)

func InitEmptyMapExprContext

func InitEmptyMapExprContext(p *MapExprContext)

func InitEmptyMul_opContext

func InitEmptyMul_opContext(p *Mul_opContext)

func InitEmptyNumberLiteralContext

func InitEmptyNumberLiteralContext(p *NumberLiteralContext)

func InitEmptyOperandContext

func InitEmptyOperandContext(p *OperandContext)

func InitEmptyPairContext

func InitEmptyPairContext(p *PairContext)

func InitEmptyPairListContext

func InitEmptyPairListContext(p *PairListContext)

func InitEmptyParameterContext

func InitEmptyParameterContext(p *ParameterContext)

func InitEmptyParameterListContext

func InitEmptyParameterListContext(p *ParameterListContext)

func InitEmptyPrimaryExprContext

func InitEmptyPrimaryExprContext(p *PrimaryExprContext)

func InitEmptyRel_opContext

func InitEmptyRel_opContext(p *Rel_opContext)

func InitEmptyReturnParametersContext

func InitEmptyReturnParametersContext(p *ReturnParametersContext)

func InitEmptyReturnStmtContext

func InitEmptyReturnStmtContext(p *ReturnStmtContext)

func InitEmptySettingsDefContext

func InitEmptySettingsDefContext(p *SettingsDefContext)

func InitEmptySimpleStmtContext

func InitEmptySimpleStmtContext(p *SimpleStmtContext)

func InitEmptySliceExprContext

func InitEmptySliceExprContext(p *SliceExprContext)

func InitEmptySourceMainContext

func InitEmptySourceMainContext(p *SourceMainContext)

func InitEmptyStatementContext

func InitEmptyStatementContext(p *StatementContext)

func InitEmptyStatementListContext

func InitEmptyStatementListContext(p *StatementListContext)

func InitEmptyStringLiteralContext

func InitEmptyStringLiteralContext(p *StringLiteralContext)

func InitEmptyTypeNameContext

func InitEmptyTypeNameContext(p *TypeNameContext)

func InitEmptyUnary_opContext

func InitEmptyUnary_opContext(p *Unary_opContext)

func InitEmptyVarDefContext

func InitEmptyVarDefContext(p *VarDefContext)

func InitEmptyWhileStmtContext

func InitEmptyWhileStmtContext(p *WhileStmtContext)

func NeedleLexerInit

func NeedleLexerInit()

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

func NeedleParserInit

func NeedleParserInit()

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

Types

type Add_opContext

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

func NewAdd_opContext

func NewAdd_opContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Add_opContext

func NewEmptyAdd_opContext

func NewEmptyAdd_opContext() *Add_opContext

func (*Add_opContext) ADD

func (s *Add_opContext) ADD() antlr.TerminalNode

func (*Add_opContext) BIT_OR

func (s *Add_opContext) BIT_OR() antlr.TerminalNode

func (*Add_opContext) BIT_XOR

func (s *Add_opContext) BIT_XOR() antlr.TerminalNode

func (*Add_opContext) EnterRule

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

func (*Add_opContext) ExitRule

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

func (*Add_opContext) GetParser

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

func (*Add_opContext) GetRuleContext

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

func (*Add_opContext) IsAdd_opContext

func (*Add_opContext) IsAdd_opContext()

func (*Add_opContext) SUB

func (s *Add_opContext) SUB() antlr.TerminalNode

func (*Add_opContext) ToStringTree

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

type ArgumentsContext

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

func NewArgumentsContext

func NewArgumentsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgumentsContext

func NewEmptyArgumentsContext

func NewEmptyArgumentsContext() *ArgumentsContext

func (*ArgumentsContext) EnterRule

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

func (*ArgumentsContext) ExitRule

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

func (*ArgumentsContext) ExprList

func (s *ArgumentsContext) ExprList() IExprListContext

func (*ArgumentsContext) GetParser

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

func (*ArgumentsContext) GetRuleContext

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

func (*ArgumentsContext) IsArgumentsContext

func (*ArgumentsContext) IsArgumentsContext()

func (*ArgumentsContext) LPAREN

func (s *ArgumentsContext) LPAREN() antlr.TerminalNode

func (*ArgumentsContext) RPAREN

func (s *ArgumentsContext) RPAREN() antlr.TerminalNode

func (*ArgumentsContext) TAIL

func (s *ArgumentsContext) TAIL() antlr.TerminalNode

func (*ArgumentsContext) ToStringTree

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

type ArrayExprContext

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

func NewArrayExprContext

func NewArrayExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayExprContext

func NewEmptyArrayExprContext

func NewEmptyArrayExprContext() *ArrayExprContext

func (*ArrayExprContext) COMMA

func (s *ArrayExprContext) COMMA() antlr.TerminalNode

func (*ArrayExprContext) EnterRule

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

func (*ArrayExprContext) Eos

func (s *ArrayExprContext) Eos() IEosContext

func (*ArrayExprContext) ExitRule

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

func (*ArrayExprContext) ExprList

func (s *ArrayExprContext) ExprList() IExprListContext

func (*ArrayExprContext) GetParser

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

func (*ArrayExprContext) GetRuleContext

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

func (*ArrayExprContext) IsArrayExprContext

func (*ArrayExprContext) IsArrayExprContext()

func (*ArrayExprContext) LBRACK

func (s *ArrayExprContext) LBRACK() antlr.TerminalNode

func (*ArrayExprContext) RBRACK

func (s *ArrayExprContext) RBRACK() antlr.TerminalNode

func (*ArrayExprContext) ToStringTree

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

type Assign_opContext

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

func NewAssign_opContext

func NewAssign_opContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Assign_opContext

func NewEmptyAssign_opContext

func NewEmptyAssign_opContext() *Assign_opContext

func (*Assign_opContext) ADD_EQ

func (s *Assign_opContext) ADD_EQ() antlr.TerminalNode

func (*Assign_opContext) BIT_AND_EQ

func (s *Assign_opContext) BIT_AND_EQ() antlr.TerminalNode

func (*Assign_opContext) BIT_OR_EQ

func (s *Assign_opContext) BIT_OR_EQ() antlr.TerminalNode

func (*Assign_opContext) BIT_XOR_EQ

func (s *Assign_opContext) BIT_XOR_EQ() antlr.TerminalNode

func (*Assign_opContext) DIV_EQ

func (s *Assign_opContext) DIV_EQ() antlr.TerminalNode

func (*Assign_opContext) EQ

func (s *Assign_opContext) EQ() antlr.TerminalNode

func (*Assign_opContext) EnterRule

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

func (*Assign_opContext) ExitRule

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

func (*Assign_opContext) GetParser

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

func (*Assign_opContext) GetRuleContext

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

func (*Assign_opContext) IsAssign_opContext

func (*Assign_opContext) IsAssign_opContext()

func (*Assign_opContext) LSHIFT_EQ

func (s *Assign_opContext) LSHIFT_EQ() antlr.TerminalNode

func (*Assign_opContext) MOD_EQ

func (s *Assign_opContext) MOD_EQ() antlr.TerminalNode

func (*Assign_opContext) MUL_EQ

func (s *Assign_opContext) MUL_EQ() antlr.TerminalNode

func (*Assign_opContext) RSHIFT_EQ

func (s *Assign_opContext) RSHIFT_EQ() antlr.TerminalNode

func (*Assign_opContext) SUB_EQ

func (s *Assign_opContext) SUB_EQ() antlr.TerminalNode

func (*Assign_opContext) ToStringTree

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

type AssignmentContext

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

func NewAssignmentContext

func NewAssignmentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AssignmentContext

func NewEmptyAssignmentContext

func NewEmptyAssignmentContext() *AssignmentContext

func (*AssignmentContext) AllExprList

func (s *AssignmentContext) AllExprList() []IExprListContext

func (*AssignmentContext) Assign_op

func (s *AssignmentContext) Assign_op() IAssign_opContext

func (*AssignmentContext) EnterRule

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

func (*AssignmentContext) ExitRule

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

func (*AssignmentContext) ExprList

func (s *AssignmentContext) ExprList(i int) IExprListContext

func (*AssignmentContext) GetParser

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

func (*AssignmentContext) GetRuleContext

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

func (*AssignmentContext) IsAssignmentContext

func (*AssignmentContext) IsAssignmentContext()

func (*AssignmentContext) ToStringTree

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

type BaseNeedleParserListener

type BaseNeedleParserListener struct{}

BaseNeedleParserListener is a complete listener for a parse tree produced by NeedleParser.

func (*BaseNeedleParserListener) EnterAdd_op

func (s *BaseNeedleParserListener) EnterAdd_op(ctx *Add_opContext)

EnterAdd_op is called when production add_op is entered.

func (*BaseNeedleParserListener) EnterArguments

func (s *BaseNeedleParserListener) EnterArguments(ctx *ArgumentsContext)

EnterArguments is called when production arguments is entered.

func (*BaseNeedleParserListener) EnterArrayExpr

func (s *BaseNeedleParserListener) EnterArrayExpr(ctx *ArrayExprContext)

EnterArrayExpr is called when production arrayExpr is entered.

func (*BaseNeedleParserListener) EnterAssign_op

func (s *BaseNeedleParserListener) EnterAssign_op(ctx *Assign_opContext)

EnterAssign_op is called when production assign_op is entered.

func (*BaseNeedleParserListener) EnterAssignment

func (s *BaseNeedleParserListener) EnterAssignment(ctx *AssignmentContext)

EnterAssignment is called when production assignment is entered.

func (*BaseNeedleParserListener) EnterBlock

func (s *BaseNeedleParserListener) EnterBlock(ctx *BlockContext)

EnterBlock is called when production block is entered.

func (*BaseNeedleParserListener) EnterBooleanLiteral

func (s *BaseNeedleParserListener) EnterBooleanLiteral(ctx *BooleanLiteralContext)

EnterBooleanLiteral is called when production booleanLiteral is entered.

func (*BaseNeedleParserListener) EnterBreakStmt

func (s *BaseNeedleParserListener) EnterBreakStmt(ctx *BreakStmtContext)

EnterBreakStmt is called when production breakStmt is entered.

func (*BaseNeedleParserListener) EnterContinueStmt

func (s *BaseNeedleParserListener) EnterContinueStmt(ctx *ContinueStmtContext)

EnterContinueStmt is called when production continueStmt is entered.

func (*BaseNeedleParserListener) EnterContractCall

func (s *BaseNeedleParserListener) EnterContractCall(ctx *ContractCallContext)

EnterContractCall is called when production contractCall is entered.

func (*BaseNeedleParserListener) EnterContractDef

func (s *BaseNeedleParserListener) EnterContractDef(ctx *ContractDefContext)

EnterContractDef is called when production contractDef is entered.

func (*BaseNeedleParserListener) EnterContractPart

func (s *BaseNeedleParserListener) EnterContractPart(ctx *ContractPartContext)

EnterContractPart is called when production contractPart is entered.

func (*BaseNeedleParserListener) EnterDataDef

func (s *BaseNeedleParserListener) EnterDataDef(ctx *DataDefContext)

EnterDataDef is called when production dataDef is entered.

func (*BaseNeedleParserListener) EnterDataPart

func (s *BaseNeedleParserListener) EnterDataPart(ctx *DataPartContext)

EnterDataPart is called when production dataPart is entered.

func (*BaseNeedleParserListener) EnterDefaultFuncDef

func (s *BaseNeedleParserListener) EnterDefaultFuncDef(ctx *DefaultFuncDefContext)

EnterDefaultFuncDef is called when production defaultFuncDef is entered.

func (*BaseNeedleParserListener) EnterElseBody

func (s *BaseNeedleParserListener) EnterElseBody(ctx *ElseBodyContext)

EnterElseBody is called when production elseBody is entered.

func (*BaseNeedleParserListener) EnterEos

func (s *BaseNeedleParserListener) EnterEos(ctx *EosContext)

EnterEos is called when production eos is entered.

func (*BaseNeedleParserListener) EnterErrorStmt

func (s *BaseNeedleParserListener) EnterErrorStmt(ctx *ErrorStmtContext)

EnterErrorStmt is called when production errorStmt is entered.

func (*BaseNeedleParserListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseNeedleParserListener) EnterExpr

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

EnterExpr is called when production expr is entered.

func (*BaseNeedleParserListener) EnterExprList

func (s *BaseNeedleParserListener) EnterExprList(ctx *ExprListContext)

EnterExprList is called when production exprList is entered.

func (*BaseNeedleParserListener) EnterFuncDef

func (s *BaseNeedleParserListener) EnterFuncDef(ctx *FuncDefContext)

EnterFuncDef is called when production funcDef is entered.

func (*BaseNeedleParserListener) EnterFuncDescriptor

func (s *BaseNeedleParserListener) EnterFuncDescriptor(ctx *FuncDescriptorContext)

EnterFuncDescriptor is called when production funcDescriptor is entered.

func (*BaseNeedleParserListener) EnterFuncSignature

func (s *BaseNeedleParserListener) EnterFuncSignature(ctx *FuncSignatureContext)

EnterFuncSignature is called when production funcSignature is entered.

func (*BaseNeedleParserListener) EnterFuncTail

func (s *BaseNeedleParserListener) EnterFuncTail(ctx *FuncTailContext)

EnterFuncTail is called when production funcTail is entered.

func (*BaseNeedleParserListener) EnterIdentifierList

func (s *BaseNeedleParserListener) EnterIdentifierList(ctx *IdentifierListContext)

EnterIdentifierList is called when production identifierList is entered.

func (*BaseNeedleParserListener) EnterIdentifierVar

func (s *BaseNeedleParserListener) EnterIdentifierVar(ctx *IdentifierVarContext)

EnterIdentifierVar is called when production identifierVar is entered.

func (*BaseNeedleParserListener) EnterIfBody

func (s *BaseNeedleParserListener) EnterIfBody(ctx *IfBodyContext)

EnterIfBody is called when production ifBody is entered.

func (*BaseNeedleParserListener) EnterIfStmt

func (s *BaseNeedleParserListener) EnterIfStmt(ctx *IfStmtContext)

EnterIfStmt is called when production ifStmt is entered.

func (*BaseNeedleParserListener) EnterIncDecStmt

func (s *BaseNeedleParserListener) EnterIncDecStmt(ctx *IncDecStmtContext)

EnterIncDecStmt is called when production incDecStmt is entered.

func (*BaseNeedleParserListener) EnterIncDec_op

func (s *BaseNeedleParserListener) EnterIncDec_op(ctx *IncDec_opContext)

EnterIncDec_op is called when production incDec_op is entered.

func (*BaseNeedleParserListener) EnterIndexExpr

func (s *BaseNeedleParserListener) EnterIndexExpr(ctx *IndexExprContext)

EnterIndexExpr is called when production indexExpr is entered.

func (*BaseNeedleParserListener) EnterLiteral

func (s *BaseNeedleParserListener) EnterLiteral(ctx *LiteralContext)

EnterLiteral is called when production literal is entered.

func (*BaseNeedleParserListener) EnterLogical_op

func (s *BaseNeedleParserListener) EnterLogical_op(ctx *Logical_opContext)

EnterLogical_op is called when production logical_op is entered.

func (*BaseNeedleParserListener) EnterMapExpr

func (s *BaseNeedleParserListener) EnterMapExpr(ctx *MapExprContext)

EnterMapExpr is called when production mapExpr is entered.

func (*BaseNeedleParserListener) EnterMul_op

func (s *BaseNeedleParserListener) EnterMul_op(ctx *Mul_opContext)

EnterMul_op is called when production mul_op is entered.

func (*BaseNeedleParserListener) EnterNumberLiteral

func (s *BaseNeedleParserListener) EnterNumberLiteral(ctx *NumberLiteralContext)

EnterNumberLiteral is called when production numberLiteral is entered.

func (*BaseNeedleParserListener) EnterOperand

func (s *BaseNeedleParserListener) EnterOperand(ctx *OperandContext)

EnterOperand is called when production operand is entered.

func (*BaseNeedleParserListener) EnterPair

func (s *BaseNeedleParserListener) EnterPair(ctx *PairContext)

EnterPair is called when production pair is entered.

func (*BaseNeedleParserListener) EnterPairList

func (s *BaseNeedleParserListener) EnterPairList(ctx *PairListContext)

EnterPairList is called when production pairList is entered.

func (*BaseNeedleParserListener) EnterParameter

func (s *BaseNeedleParserListener) EnterParameter(ctx *ParameterContext)

EnterParameter is called when production parameter is entered.

func (*BaseNeedleParserListener) EnterParameterList

func (s *BaseNeedleParserListener) EnterParameterList(ctx *ParameterListContext)

EnterParameterList is called when production parameterList is entered.

func (*BaseNeedleParserListener) EnterPrimaryExpr

func (s *BaseNeedleParserListener) EnterPrimaryExpr(ctx *PrimaryExprContext)

EnterPrimaryExpr is called when production primaryExpr is entered.

func (*BaseNeedleParserListener) EnterRel_op

func (s *BaseNeedleParserListener) EnterRel_op(ctx *Rel_opContext)

EnterRel_op is called when production rel_op is entered.

func (*BaseNeedleParserListener) EnterReturnParameters

func (s *BaseNeedleParserListener) EnterReturnParameters(ctx *ReturnParametersContext)

EnterReturnParameters is called when production returnParameters is entered.

func (*BaseNeedleParserListener) EnterReturnStmt

func (s *BaseNeedleParserListener) EnterReturnStmt(ctx *ReturnStmtContext)

EnterReturnStmt is called when production returnStmt is entered.

func (*BaseNeedleParserListener) EnterSettingsDef

func (s *BaseNeedleParserListener) EnterSettingsDef(ctx *SettingsDefContext)

EnterSettingsDef is called when production settingsDef is entered.

func (*BaseNeedleParserListener) EnterSimpleStmt

func (s *BaseNeedleParserListener) EnterSimpleStmt(ctx *SimpleStmtContext)

EnterSimpleStmt is called when production simpleStmt is entered.

func (*BaseNeedleParserListener) EnterSliceExpr

func (s *BaseNeedleParserListener) EnterSliceExpr(ctx *SliceExprContext)

EnterSliceExpr is called when production sliceExpr is entered.

func (*BaseNeedleParserListener) EnterSourceMain

func (s *BaseNeedleParserListener) EnterSourceMain(ctx *SourceMainContext)

EnterSourceMain is called when production sourceMain is entered.

func (*BaseNeedleParserListener) EnterStatement

func (s *BaseNeedleParserListener) EnterStatement(ctx *StatementContext)

EnterStatement is called when production statement is entered.

func (*BaseNeedleParserListener) EnterStatementList

func (s *BaseNeedleParserListener) EnterStatementList(ctx *StatementListContext)

EnterStatementList is called when production statementList is entered.

func (*BaseNeedleParserListener) EnterStringLiteral

func (s *BaseNeedleParserListener) EnterStringLiteral(ctx *StringLiteralContext)

EnterStringLiteral is called when production stringLiteral is entered.

func (*BaseNeedleParserListener) EnterTypeName

func (s *BaseNeedleParserListener) EnterTypeName(ctx *TypeNameContext)

EnterTypeName is called when production typeName is entered.

func (*BaseNeedleParserListener) EnterUnary_op

func (s *BaseNeedleParserListener) EnterUnary_op(ctx *Unary_opContext)

EnterUnary_op is called when production unary_op is entered.

func (*BaseNeedleParserListener) EnterVarDef

func (s *BaseNeedleParserListener) EnterVarDef(ctx *VarDefContext)

EnterVarDef is called when production varDef is entered.

func (*BaseNeedleParserListener) EnterWhileStmt

func (s *BaseNeedleParserListener) EnterWhileStmt(ctx *WhileStmtContext)

EnterWhileStmt is called when production whileStmt is entered.

func (*BaseNeedleParserListener) ExitAdd_op

func (s *BaseNeedleParserListener) ExitAdd_op(ctx *Add_opContext)

ExitAdd_op is called when production add_op is exited.

func (*BaseNeedleParserListener) ExitArguments

func (s *BaseNeedleParserListener) ExitArguments(ctx *ArgumentsContext)

ExitArguments is called when production arguments is exited.

func (*BaseNeedleParserListener) ExitArrayExpr

func (s *BaseNeedleParserListener) ExitArrayExpr(ctx *ArrayExprContext)

ExitArrayExpr is called when production arrayExpr is exited.

func (*BaseNeedleParserListener) ExitAssign_op

func (s *BaseNeedleParserListener) ExitAssign_op(ctx *Assign_opContext)

ExitAssign_op is called when production assign_op is exited.

func (*BaseNeedleParserListener) ExitAssignment

func (s *BaseNeedleParserListener) ExitAssignment(ctx *AssignmentContext)

ExitAssignment is called when production assignment is exited.

func (*BaseNeedleParserListener) ExitBlock

func (s *BaseNeedleParserListener) ExitBlock(ctx *BlockContext)

ExitBlock is called when production block is exited.

func (*BaseNeedleParserListener) ExitBooleanLiteral

func (s *BaseNeedleParserListener) ExitBooleanLiteral(ctx *BooleanLiteralContext)

ExitBooleanLiteral is called when production booleanLiteral is exited.

func (*BaseNeedleParserListener) ExitBreakStmt

func (s *BaseNeedleParserListener) ExitBreakStmt(ctx *BreakStmtContext)

ExitBreakStmt is called when production breakStmt is exited.

func (*BaseNeedleParserListener) ExitContinueStmt

func (s *BaseNeedleParserListener) ExitContinueStmt(ctx *ContinueStmtContext)

ExitContinueStmt is called when production continueStmt is exited.

func (*BaseNeedleParserListener) ExitContractCall

func (s *BaseNeedleParserListener) ExitContractCall(ctx *ContractCallContext)

ExitContractCall is called when production contractCall is exited.

func (*BaseNeedleParserListener) ExitContractDef

func (s *BaseNeedleParserListener) ExitContractDef(ctx *ContractDefContext)

ExitContractDef is called when production contractDef is exited.

func (*BaseNeedleParserListener) ExitContractPart

func (s *BaseNeedleParserListener) ExitContractPart(ctx *ContractPartContext)

ExitContractPart is called when production contractPart is exited.

func (*BaseNeedleParserListener) ExitDataDef

func (s *BaseNeedleParserListener) ExitDataDef(ctx *DataDefContext)

ExitDataDef is called when production dataDef is exited.

func (*BaseNeedleParserListener) ExitDataPart

func (s *BaseNeedleParserListener) ExitDataPart(ctx *DataPartContext)

ExitDataPart is called when production dataPart is exited.

func (*BaseNeedleParserListener) ExitDefaultFuncDef

func (s *BaseNeedleParserListener) ExitDefaultFuncDef(ctx *DefaultFuncDefContext)

ExitDefaultFuncDef is called when production defaultFuncDef is exited.

func (*BaseNeedleParserListener) ExitElseBody

func (s *BaseNeedleParserListener) ExitElseBody(ctx *ElseBodyContext)

ExitElseBody is called when production elseBody is exited.

func (*BaseNeedleParserListener) ExitEos

func (s *BaseNeedleParserListener) ExitEos(ctx *EosContext)

ExitEos is called when production eos is exited.

func (*BaseNeedleParserListener) ExitErrorStmt

func (s *BaseNeedleParserListener) ExitErrorStmt(ctx *ErrorStmtContext)

ExitErrorStmt is called when production errorStmt is exited.

func (*BaseNeedleParserListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseNeedleParserListener) ExitExpr

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

ExitExpr is called when production expr is exited.

func (*BaseNeedleParserListener) ExitExprList

func (s *BaseNeedleParserListener) ExitExprList(ctx *ExprListContext)

ExitExprList is called when production exprList is exited.

func (*BaseNeedleParserListener) ExitFuncDef

func (s *BaseNeedleParserListener) ExitFuncDef(ctx *FuncDefContext)

ExitFuncDef is called when production funcDef is exited.

func (*BaseNeedleParserListener) ExitFuncDescriptor

func (s *BaseNeedleParserListener) ExitFuncDescriptor(ctx *FuncDescriptorContext)

ExitFuncDescriptor is called when production funcDescriptor is exited.

func (*BaseNeedleParserListener) ExitFuncSignature

func (s *BaseNeedleParserListener) ExitFuncSignature(ctx *FuncSignatureContext)

ExitFuncSignature is called when production funcSignature is exited.

func (*BaseNeedleParserListener) ExitFuncTail

func (s *BaseNeedleParserListener) ExitFuncTail(ctx *FuncTailContext)

ExitFuncTail is called when production funcTail is exited.

func (*BaseNeedleParserListener) ExitIdentifierList

func (s *BaseNeedleParserListener) ExitIdentifierList(ctx *IdentifierListContext)

ExitIdentifierList is called when production identifierList is exited.

func (*BaseNeedleParserListener) ExitIdentifierVar

func (s *BaseNeedleParserListener) ExitIdentifierVar(ctx *IdentifierVarContext)

ExitIdentifierVar is called when production identifierVar is exited.

func (*BaseNeedleParserListener) ExitIfBody

func (s *BaseNeedleParserListener) ExitIfBody(ctx *IfBodyContext)

ExitIfBody is called when production ifBody is exited.

func (*BaseNeedleParserListener) ExitIfStmt

func (s *BaseNeedleParserListener) ExitIfStmt(ctx *IfStmtContext)

ExitIfStmt is called when production ifStmt is exited.

func (*BaseNeedleParserListener) ExitIncDecStmt

func (s *BaseNeedleParserListener) ExitIncDecStmt(ctx *IncDecStmtContext)

ExitIncDecStmt is called when production incDecStmt is exited.

func (*BaseNeedleParserListener) ExitIncDec_op

func (s *BaseNeedleParserListener) ExitIncDec_op(ctx *IncDec_opContext)

ExitIncDec_op is called when production incDec_op is exited.

func (*BaseNeedleParserListener) ExitIndexExpr

func (s *BaseNeedleParserListener) ExitIndexExpr(ctx *IndexExprContext)

ExitIndexExpr is called when production indexExpr is exited.

func (*BaseNeedleParserListener) ExitLiteral

func (s *BaseNeedleParserListener) ExitLiteral(ctx *LiteralContext)

ExitLiteral is called when production literal is exited.

func (*BaseNeedleParserListener) ExitLogical_op

func (s *BaseNeedleParserListener) ExitLogical_op(ctx *Logical_opContext)

ExitLogical_op is called when production logical_op is exited.

func (*BaseNeedleParserListener) ExitMapExpr

func (s *BaseNeedleParserListener) ExitMapExpr(ctx *MapExprContext)

ExitMapExpr is called when production mapExpr is exited.

func (*BaseNeedleParserListener) ExitMul_op

func (s *BaseNeedleParserListener) ExitMul_op(ctx *Mul_opContext)

ExitMul_op is called when production mul_op is exited.

func (*BaseNeedleParserListener) ExitNumberLiteral

func (s *BaseNeedleParserListener) ExitNumberLiteral(ctx *NumberLiteralContext)

ExitNumberLiteral is called when production numberLiteral is exited.

func (*BaseNeedleParserListener) ExitOperand

func (s *BaseNeedleParserListener) ExitOperand(ctx *OperandContext)

ExitOperand is called when production operand is exited.

func (*BaseNeedleParserListener) ExitPair

func (s *BaseNeedleParserListener) ExitPair(ctx *PairContext)

ExitPair is called when production pair is exited.

func (*BaseNeedleParserListener) ExitPairList

func (s *BaseNeedleParserListener) ExitPairList(ctx *PairListContext)

ExitPairList is called when production pairList is exited.

func (*BaseNeedleParserListener) ExitParameter

func (s *BaseNeedleParserListener) ExitParameter(ctx *ParameterContext)

ExitParameter is called when production parameter is exited.

func (*BaseNeedleParserListener) ExitParameterList

func (s *BaseNeedleParserListener) ExitParameterList(ctx *ParameterListContext)

ExitParameterList is called when production parameterList is exited.

func (*BaseNeedleParserListener) ExitPrimaryExpr

func (s *BaseNeedleParserListener) ExitPrimaryExpr(ctx *PrimaryExprContext)

ExitPrimaryExpr is called when production primaryExpr is exited.

func (*BaseNeedleParserListener) ExitRel_op

func (s *BaseNeedleParserListener) ExitRel_op(ctx *Rel_opContext)

ExitRel_op is called when production rel_op is exited.

func (*BaseNeedleParserListener) ExitReturnParameters

func (s *BaseNeedleParserListener) ExitReturnParameters(ctx *ReturnParametersContext)

ExitReturnParameters is called when production returnParameters is exited.

func (*BaseNeedleParserListener) ExitReturnStmt

func (s *BaseNeedleParserListener) ExitReturnStmt(ctx *ReturnStmtContext)

ExitReturnStmt is called when production returnStmt is exited.

func (*BaseNeedleParserListener) ExitSettingsDef

func (s *BaseNeedleParserListener) ExitSettingsDef(ctx *SettingsDefContext)

ExitSettingsDef is called when production settingsDef is exited.

func (*BaseNeedleParserListener) ExitSimpleStmt

func (s *BaseNeedleParserListener) ExitSimpleStmt(ctx *SimpleStmtContext)

ExitSimpleStmt is called when production simpleStmt is exited.

func (*BaseNeedleParserListener) ExitSliceExpr

func (s *BaseNeedleParserListener) ExitSliceExpr(ctx *SliceExprContext)

ExitSliceExpr is called when production sliceExpr is exited.

func (*BaseNeedleParserListener) ExitSourceMain

func (s *BaseNeedleParserListener) ExitSourceMain(ctx *SourceMainContext)

ExitSourceMain is called when production sourceMain is exited.

func (*BaseNeedleParserListener) ExitStatement

func (s *BaseNeedleParserListener) ExitStatement(ctx *StatementContext)

ExitStatement is called when production statement is exited.

func (*BaseNeedleParserListener) ExitStatementList

func (s *BaseNeedleParserListener) ExitStatementList(ctx *StatementListContext)

ExitStatementList is called when production statementList is exited.

func (*BaseNeedleParserListener) ExitStringLiteral

func (s *BaseNeedleParserListener) ExitStringLiteral(ctx *StringLiteralContext)

ExitStringLiteral is called when production stringLiteral is exited.

func (*BaseNeedleParserListener) ExitTypeName

func (s *BaseNeedleParserListener) ExitTypeName(ctx *TypeNameContext)

ExitTypeName is called when production typeName is exited.

func (*BaseNeedleParserListener) ExitUnary_op

func (s *BaseNeedleParserListener) ExitUnary_op(ctx *Unary_opContext)

ExitUnary_op is called when production unary_op is exited.

func (*BaseNeedleParserListener) ExitVarDef

func (s *BaseNeedleParserListener) ExitVarDef(ctx *VarDefContext)

ExitVarDef is called when production varDef is exited.

func (*BaseNeedleParserListener) ExitWhileStmt

func (s *BaseNeedleParserListener) ExitWhileStmt(ctx *WhileStmtContext)

ExitWhileStmt is called when production whileStmt is exited.

func (*BaseNeedleParserListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseNeedleParserListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type BlockContext

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

func NewBlockContext

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

func NewEmptyBlockContext

func NewEmptyBlockContext() *BlockContext

func (*BlockContext) EnterRule

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

func (*BlockContext) ExitRule

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

func (*BlockContext) GetParser

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

func (*BlockContext) GetRuleContext

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

func (*BlockContext) IsBlockContext

func (*BlockContext) IsBlockContext()

func (*BlockContext) LBRACE

func (s *BlockContext) LBRACE() antlr.TerminalNode

func (*BlockContext) RBRACE

func (s *BlockContext) RBRACE() antlr.TerminalNode

func (*BlockContext) StatementList

func (s *BlockContext) StatementList() IStatementListContext

func (*BlockContext) ToStringTree

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

type BooleanLiteralContext

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

func NewBooleanLiteralContext

func NewBooleanLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BooleanLiteralContext

func NewEmptyBooleanLiteralContext

func NewEmptyBooleanLiteralContext() *BooleanLiteralContext

func (*BooleanLiteralContext) EnterRule

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

func (*BooleanLiteralContext) ExitRule

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

func (*BooleanLiteralContext) FALSE

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

func (*BooleanLiteralContext) GetParser

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

func (*BooleanLiteralContext) GetRuleContext

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

func (*BooleanLiteralContext) IsBooleanLiteralContext

func (*BooleanLiteralContext) IsBooleanLiteralContext()

func (*BooleanLiteralContext) TRUE

func (s *BooleanLiteralContext) TRUE() antlr.TerminalNode

func (*BooleanLiteralContext) ToStringTree

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

type BreakStmtContext

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

func NewBreakStmtContext

func NewBreakStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BreakStmtContext

func NewEmptyBreakStmtContext

func NewEmptyBreakStmtContext() *BreakStmtContext

func (*BreakStmtContext) BREAK

func (s *BreakStmtContext) BREAK() antlr.TerminalNode

func (*BreakStmtContext) EnterRule

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

func (*BreakStmtContext) ExitRule

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

func (*BreakStmtContext) GetParser

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

func (*BreakStmtContext) GetRuleContext

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

func (*BreakStmtContext) IsBreakStmtContext

func (*BreakStmtContext) IsBreakStmtContext()

func (*BreakStmtContext) ToStringTree

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

type ContinueStmtContext

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

func NewContinueStmtContext

func NewContinueStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ContinueStmtContext

func NewEmptyContinueStmtContext

func NewEmptyContinueStmtContext() *ContinueStmtContext

func (*ContinueStmtContext) CONTINUE

func (s *ContinueStmtContext) CONTINUE() antlr.TerminalNode

func (*ContinueStmtContext) EnterRule

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

func (*ContinueStmtContext) ExitRule

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

func (*ContinueStmtContext) GetParser

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

func (*ContinueStmtContext) GetRuleContext

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

func (*ContinueStmtContext) IsContinueStmtContext

func (*ContinueStmtContext) IsContinueStmtContext()

func (*ContinueStmtContext) ToStringTree

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

type ContractCallContext

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

func NewContractCallContext

func NewContractCallContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ContractCallContext

func NewEmptyContractCallContext

func NewEmptyContractCallContext() *ContractCallContext

func (*ContractCallContext) Arguments

func (s *ContractCallContext) Arguments() IArgumentsContext

func (*ContractCallContext) AtIdentifier

func (s *ContractCallContext) AtIdentifier() antlr.TerminalNode

func (*ContractCallContext) EnterRule

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

func (*ContractCallContext) ExitRule

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

func (*ContractCallContext) GetParser

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

func (*ContractCallContext) GetRuleContext

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

func (*ContractCallContext) IsContractCallContext

func (*ContractCallContext) IsContractCallContext()

func (*ContractCallContext) ToStringTree

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

type ContractDefContext

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

func NewContractDefContext

func NewContractDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ContractDefContext

func NewEmptyContractDefContext

func NewEmptyContractDefContext() *ContractDefContext

func (*ContractDefContext) AllContractPart

func (s *ContractDefContext) AllContractPart() []IContractPartContext

func (*ContractDefContext) AllEos

func (s *ContractDefContext) AllEos() []IEosContext

func (*ContractDefContext) CONTRACT

func (s *ContractDefContext) CONTRACT() antlr.TerminalNode

func (*ContractDefContext) ContractPart

func (s *ContractDefContext) ContractPart(i int) IContractPartContext

func (*ContractDefContext) EnterRule

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

func (*ContractDefContext) Eos

func (*ContractDefContext) ExitRule

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

func (*ContractDefContext) GetParser

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

func (*ContractDefContext) GetRuleContext

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

func (*ContractDefContext) Identifier

func (s *ContractDefContext) Identifier() antlr.TerminalNode

func (*ContractDefContext) IsContractDefContext

func (*ContractDefContext) IsContractDefContext()

func (*ContractDefContext) LBRACE

func (s *ContractDefContext) LBRACE() antlr.TerminalNode

func (*ContractDefContext) RBRACE

func (s *ContractDefContext) RBRACE() antlr.TerminalNode

func (*ContractDefContext) ToStringTree

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

type ContractPartContext

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

func NewContractPartContext

func NewContractPartContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ContractPartContext

func NewEmptyContractPartContext

func NewEmptyContractPartContext() *ContractPartContext

func (*ContractPartContext) DataDef

func (s *ContractPartContext) DataDef() IDataDefContext

func (*ContractPartContext) EnterRule

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

func (*ContractPartContext) ExitRule

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

func (*ContractPartContext) FuncDef

func (s *ContractPartContext) FuncDef() IFuncDefContext

func (*ContractPartContext) GetParser

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

func (*ContractPartContext) GetRuleContext

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

func (*ContractPartContext) IsContractPartContext

func (*ContractPartContext) IsContractPartContext()

func (*ContractPartContext) SettingsDef

func (s *ContractPartContext) SettingsDef() ISettingsDefContext

func (*ContractPartContext) ToStringTree

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

type DataDefContext

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

func NewDataDefContext

func NewDataDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DataDefContext

func NewEmptyDataDefContext

func NewEmptyDataDefContext() *DataDefContext

func (*DataDefContext) AllDataPart

func (s *DataDefContext) AllDataPart() []IDataPartContext

func (*DataDefContext) AllEos

func (s *DataDefContext) AllEos() []IEosContext

func (*DataDefContext) DATA

func (s *DataDefContext) DATA() antlr.TerminalNode

func (*DataDefContext) DataPart

func (s *DataDefContext) DataPart(i int) IDataPartContext

func (*DataDefContext) EnterRule

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

func (*DataDefContext) Eos

func (s *DataDefContext) Eos(i int) IEosContext

func (*DataDefContext) ExitRule

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

func (*DataDefContext) GetParser

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

func (*DataDefContext) GetRuleContext

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

func (*DataDefContext) IsDataDefContext

func (*DataDefContext) IsDataDefContext()

func (*DataDefContext) LBRACE

func (s *DataDefContext) LBRACE() antlr.TerminalNode

func (*DataDefContext) RBRACE

func (s *DataDefContext) RBRACE() antlr.TerminalNode

func (*DataDefContext) ToStringTree

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

type DataPartContext

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

func NewDataPartContext

func NewDataPartContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DataPartContext

func NewEmptyDataPartContext

func NewEmptyDataPartContext() *DataPartContext

func (*DataPartContext) EnterRule

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

func (*DataPartContext) ExitRule

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

func (*DataPartContext) GetDataTag

func (s *DataPartContext) GetDataTag() IStringLiteralContext

func (*DataPartContext) GetParser

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

func (*DataPartContext) GetRuleContext

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

func (*DataPartContext) Identifier

func (s *DataPartContext) Identifier() antlr.TerminalNode

func (*DataPartContext) IsDataPartContext

func (*DataPartContext) IsDataPartContext()

func (*DataPartContext) SetDataTag

func (s *DataPartContext) SetDataTag(v IStringLiteralContext)

func (*DataPartContext) StringLiteral

func (s *DataPartContext) StringLiteral() IStringLiteralContext

func (*DataPartContext) ToStringTree

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

func (*DataPartContext) TypeName

func (s *DataPartContext) TypeName() ITypeNameContext

type DefaultFuncDefContext

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

func NewDefaultFuncDefContext

func NewDefaultFuncDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DefaultFuncDefContext

func NewEmptyDefaultFuncDefContext

func NewEmptyDefaultFuncDefContext() *DefaultFuncDefContext

func (*DefaultFuncDefContext) ACTION

func (s *DefaultFuncDefContext) ACTION() antlr.TerminalNode

func (*DefaultFuncDefContext) CONDITIONS

func (s *DefaultFuncDefContext) CONDITIONS() antlr.TerminalNode

func (*DefaultFuncDefContext) EnterRule

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

func (*DefaultFuncDefContext) ExitRule

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

func (*DefaultFuncDefContext) FUNC

func (s *DefaultFuncDefContext) FUNC() antlr.TerminalNode

func (*DefaultFuncDefContext) GetParser

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

func (*DefaultFuncDefContext) GetRuleContext

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

func (*DefaultFuncDefContext) IsDefaultFuncDefContext

func (*DefaultFuncDefContext) IsDefaultFuncDefContext()

func (*DefaultFuncDefContext) ToStringTree

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

type ElseBodyContext

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

func NewElseBodyContext

func NewElseBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ElseBodyContext

func NewEmptyElseBodyContext

func NewEmptyElseBodyContext() *ElseBodyContext

func (*ElseBodyContext) Block

func (s *ElseBodyContext) Block() IBlockContext

func (*ElseBodyContext) ELSE

func (s *ElseBodyContext) ELSE() antlr.TerminalNode

func (*ElseBodyContext) EnterRule

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

func (*ElseBodyContext) ExitRule

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

func (*ElseBodyContext) GetParser

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

func (*ElseBodyContext) GetRuleContext

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

func (*ElseBodyContext) IsElseBodyContext

func (*ElseBodyContext) IsElseBodyContext()

func (*ElseBodyContext) ToStringTree

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

type EosContext

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

func NewEmptyEosContext

func NewEmptyEosContext() *EosContext

func NewEosContext

func NewEosContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EosContext

func (*EosContext) EOF

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

func (*EosContext) EOS

func (s *EosContext) EOS() antlr.TerminalNode

func (*EosContext) EnterRule

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

func (*EosContext) ExitRule

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

func (*EosContext) GetParser

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

func (*EosContext) GetRuleContext

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

func (*EosContext) IsEosContext

func (*EosContext) IsEosContext()

func (*EosContext) SEMI

func (s *EosContext) SEMI() antlr.TerminalNode

func (*EosContext) ToStringTree

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

type ErrorStmtContext

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

func NewEmptyErrorStmtContext

func NewEmptyErrorStmtContext() *ErrorStmtContext

func NewErrorStmtContext

func NewErrorStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ErrorStmtContext

func (*ErrorStmtContext) ERRINFO

func (s *ErrorStmtContext) ERRINFO() antlr.TerminalNode

func (*ErrorStmtContext) ERROR

func (s *ErrorStmtContext) ERROR() antlr.TerminalNode

func (*ErrorStmtContext) ERRWARNING

func (s *ErrorStmtContext) ERRWARNING() antlr.TerminalNode

func (*ErrorStmtContext) EnterRule

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

func (*ErrorStmtContext) ExitRule

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

func (*ErrorStmtContext) Expr

func (s *ErrorStmtContext) Expr() IExprContext

func (*ErrorStmtContext) GetParser

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

func (*ErrorStmtContext) GetRuleContext

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

func (*ErrorStmtContext) IsErrorStmtContext

func (*ErrorStmtContext) IsErrorStmtContext()

func (*ErrorStmtContext) ToStringTree

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

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) Add_op

func (s *ExprContext) Add_op() IAdd_opContext

func (*ExprContext) AllExpr

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

func (*ExprContext) ArrayExpr

func (s *ExprContext) ArrayExpr() IArrayExprContext

func (*ExprContext) ContractCall

func (s *ExprContext) ContractCall() IContractCallContext

func (*ExprContext) EnterRule

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

func (*ExprContext) ExitRule

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

func (*ExprContext) Expr

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

func (*ExprContext) GetParser

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

func (*ExprContext) GetRuleContext

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

func (*ExprContext) IndexExpr

func (s *ExprContext) IndexExpr() IIndexExprContext

func (*ExprContext) IsExprContext

func (*ExprContext) IsExprContext()

func (*ExprContext) Logical_op

func (s *ExprContext) Logical_op() ILogical_opContext

func (*ExprContext) MapExpr

func (s *ExprContext) MapExpr() IMapExprContext

func (*ExprContext) Mul_op

func (s *ExprContext) Mul_op() IMul_opContext

func (*ExprContext) PrimaryExpr

func (s *ExprContext) PrimaryExpr() IPrimaryExprContext

func (*ExprContext) Rel_op

func (s *ExprContext) Rel_op() IRel_opContext

func (*ExprContext) SliceExpr

func (s *ExprContext) SliceExpr() ISliceExprContext

func (*ExprContext) ToStringTree

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

func (*ExprContext) Unary_op

func (s *ExprContext) Unary_op() IUnary_opContext

type ExprListContext

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

func NewEmptyExprListContext

func NewEmptyExprListContext() *ExprListContext

func NewExprListContext

func NewExprListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprListContext

func (*ExprListContext) AllCOMMA

func (s *ExprListContext) AllCOMMA() []antlr.TerminalNode

func (*ExprListContext) AllExpr

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

func (*ExprListContext) COMMA

func (s *ExprListContext) COMMA(i int) antlr.TerminalNode

func (*ExprListContext) EnterRule

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

func (*ExprListContext) ExitRule

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

func (*ExprListContext) Expr

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

func (*ExprListContext) GetParser

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

func (*ExprListContext) GetRuleContext

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

func (*ExprListContext) IsExprListContext

func (*ExprListContext) IsExprListContext()

func (*ExprListContext) ToStringTree

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

type FuncDefContext

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

func NewEmptyFuncDefContext

func NewEmptyFuncDefContext() *FuncDefContext

func NewFuncDefContext

func NewFuncDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncDefContext

func (*FuncDefContext) Block

func (s *FuncDefContext) Block() IBlockContext

func (*FuncDefContext) DefaultFuncDef

func (s *FuncDefContext) DefaultFuncDef() IDefaultFuncDefContext

func (*FuncDefContext) EnterRule

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

func (*FuncDefContext) ExitRule

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

func (*FuncDefContext) FuncDescriptor

func (s *FuncDefContext) FuncDescriptor() IFuncDescriptorContext

func (*FuncDefContext) FuncSignature

func (s *FuncDefContext) FuncSignature() IFuncSignatureContext

func (*FuncDefContext) GetParser

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

func (*FuncDefContext) GetRuleContext

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

func (*FuncDefContext) IsFuncDefContext

func (*FuncDefContext) IsFuncDefContext()

func (*FuncDefContext) ToStringTree

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

type FuncDescriptorContext

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

func NewEmptyFuncDescriptorContext

func NewEmptyFuncDescriptorContext() *FuncDescriptorContext

func NewFuncDescriptorContext

func NewFuncDescriptorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncDescriptorContext

func (*FuncDescriptorContext) EnterRule

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

func (*FuncDescriptorContext) ExitRule

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

func (*FuncDescriptorContext) FUNC

func (s *FuncDescriptorContext) FUNC() antlr.TerminalNode

func (*FuncDescriptorContext) GetParser

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

func (*FuncDescriptorContext) GetRuleContext

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

func (*FuncDescriptorContext) Identifier

func (s *FuncDescriptorContext) Identifier() antlr.TerminalNode

func (*FuncDescriptorContext) IsFuncDescriptorContext

func (*FuncDescriptorContext) IsFuncDescriptorContext()

func (*FuncDescriptorContext) ToStringTree

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

type FuncSignatureContext

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

func NewEmptyFuncSignatureContext

func NewEmptyFuncSignatureContext() *FuncSignatureContext

func NewFuncSignatureContext

func NewFuncSignatureContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncSignatureContext

func (*FuncSignatureContext) AllFuncTail

func (s *FuncSignatureContext) AllFuncTail() []IFuncTailContext

func (*FuncSignatureContext) EnterRule

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

func (*FuncSignatureContext) ExitRule

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

func (*FuncSignatureContext) FuncTail

func (s *FuncSignatureContext) FuncTail(i int) IFuncTailContext

func (*FuncSignatureContext) GetParser

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

func (*FuncSignatureContext) GetRuleContext

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

func (*FuncSignatureContext) IsFuncSignatureContext

func (*FuncSignatureContext) IsFuncSignatureContext()

func (*FuncSignatureContext) ParameterList

func (s *FuncSignatureContext) ParameterList() IParameterListContext

func (*FuncSignatureContext) ReturnParameters

func (s *FuncSignatureContext) ReturnParameters() IReturnParametersContext

func (*FuncSignatureContext) ToStringTree

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

type FuncTailContext

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

func NewEmptyFuncTailContext

func NewEmptyFuncTailContext() *FuncTailContext

func NewFuncTailContext

func NewFuncTailContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncTailContext

func (*FuncTailContext) DOT

func (s *FuncTailContext) DOT() antlr.TerminalNode

func (*FuncTailContext) EnterRule

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

func (*FuncTailContext) ExitRule

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

func (*FuncTailContext) GetParser

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

func (*FuncTailContext) GetRuleContext

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

func (*FuncTailContext) Identifier

func (s *FuncTailContext) Identifier() antlr.TerminalNode

func (*FuncTailContext) IsFuncTailContext

func (*FuncTailContext) IsFuncTailContext()

func (*FuncTailContext) ParameterList

func (s *FuncTailContext) ParameterList() IParameterListContext

func (*FuncTailContext) ToStringTree

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

type IAdd_opContext

type IAdd_opContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	ADD() antlr.TerminalNode
	SUB() antlr.TerminalNode
	BIT_OR() antlr.TerminalNode
	BIT_XOR() antlr.TerminalNode

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

IAdd_opContext is an interface to support dynamic dispatch.

type IArgumentsContext

type IArgumentsContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	LPAREN() antlr.TerminalNode
	RPAREN() antlr.TerminalNode
	ExprList() IExprListContext
	TAIL() antlr.TerminalNode

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

IArgumentsContext is an interface to support dynamic dispatch.

type IArrayExprContext

type IArrayExprContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	LBRACK() antlr.TerminalNode
	RBRACK() antlr.TerminalNode
	ExprList() IExprListContext
	Eos() IEosContext
	COMMA() antlr.TerminalNode

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

IArrayExprContext is an interface to support dynamic dispatch.

type IAssign_opContext

type IAssign_opContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	EQ() antlr.TerminalNode
	ADD_EQ() antlr.TerminalNode
	SUB_EQ() antlr.TerminalNode
	MUL_EQ() antlr.TerminalNode
	DIV_EQ() antlr.TerminalNode
	MOD_EQ() antlr.TerminalNode
	LSHIFT_EQ() antlr.TerminalNode
	RSHIFT_EQ() antlr.TerminalNode
	BIT_AND_EQ() antlr.TerminalNode
	BIT_OR_EQ() antlr.TerminalNode
	BIT_XOR_EQ() antlr.TerminalNode

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

IAssign_opContext is an interface to support dynamic dispatch.

type IAssignmentContext

type IAssignmentContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllExprList() []IExprListContext
	ExprList(i int) IExprListContext
	Assign_op() IAssign_opContext

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

IAssignmentContext is an interface to support dynamic dispatch.

type IBlockContext

type IBlockContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	LBRACE() antlr.TerminalNode
	RBRACE() antlr.TerminalNode
	StatementList() IStatementListContext

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

IBlockContext is an interface to support dynamic dispatch.

type IBooleanLiteralContext

type IBooleanLiteralContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	TRUE() antlr.TerminalNode
	FALSE() antlr.TerminalNode

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

IBooleanLiteralContext is an interface to support dynamic dispatch.

type IBreakStmtContext

type IBreakStmtContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	BREAK() antlr.TerminalNode

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

IBreakStmtContext is an interface to support dynamic dispatch.

type IContinueStmtContext

type IContinueStmtContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	CONTINUE() antlr.TerminalNode

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

IContinueStmtContext is an interface to support dynamic dispatch.

type IContractCallContext

type IContractCallContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AtIdentifier() antlr.TerminalNode
	Arguments() IArgumentsContext

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

IContractCallContext is an interface to support dynamic dispatch.

type IContractDefContext

type IContractDefContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	CONTRACT() antlr.TerminalNode
	Identifier() antlr.TerminalNode
	LBRACE() antlr.TerminalNode
	RBRACE() antlr.TerminalNode
	AllContractPart() []IContractPartContext
	ContractPart(i int) IContractPartContext
	AllEos() []IEosContext
	Eos(i int) IEosContext

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

IContractDefContext is an interface to support dynamic dispatch.

type IContractPartContext

type IContractPartContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	DataDef() IDataDefContext
	SettingsDef() ISettingsDefContext
	FuncDef() IFuncDefContext

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

IContractPartContext is an interface to support dynamic dispatch.

type IDataDefContext

type IDataDefContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	DATA() antlr.TerminalNode
	LBRACE() antlr.TerminalNode
	RBRACE() antlr.TerminalNode
	AllDataPart() []IDataPartContext
	DataPart(i int) IDataPartContext
	AllEos() []IEosContext
	Eos(i int) IEosContext

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

IDataDefContext is an interface to support dynamic dispatch.

type IDataPartContext

type IDataPartContext interface {
	antlr.ParserRuleContext

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

	// GetDataTag returns the dataTag rule contexts.
	GetDataTag() IStringLiteralContext

	// SetDataTag sets the dataTag rule contexts.
	SetDataTag(IStringLiteralContext)

	// Getter signatures
	Identifier() antlr.TerminalNode
	TypeName() ITypeNameContext
	StringLiteral() IStringLiteralContext

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

IDataPartContext is an interface to support dynamic dispatch.

type IDefaultFuncDefContext

type IDefaultFuncDefContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	CONDITIONS() antlr.TerminalNode
	ACTION() antlr.TerminalNode
	FUNC() antlr.TerminalNode

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

IDefaultFuncDefContext is an interface to support dynamic dispatch.

type IElseBodyContext

type IElseBodyContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	ELSE() antlr.TerminalNode
	Block() IBlockContext

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

IElseBodyContext is an interface to support dynamic dispatch.

type IEosContext

type IEosContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	SEMI() antlr.TerminalNode
	EOS() antlr.TerminalNode
	EOF() antlr.TerminalNode

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

IEosContext is an interface to support dynamic dispatch.

type IErrorStmtContext

type IErrorStmtContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Expr() IExprContext
	ERRWARNING() antlr.TerminalNode
	ERRINFO() antlr.TerminalNode
	ERROR() antlr.TerminalNode

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

IErrorStmtContext is an interface to support dynamic dispatch.

type IExprContext

type IExprContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	PrimaryExpr() IPrimaryExprContext
	MapExpr() IMapExprContext
	ArrayExpr() IArrayExprContext
	ContractCall() IContractCallContext
	Unary_op() IUnary_opContext
	AllExpr() []IExprContext
	Expr(i int) IExprContext
	Mul_op() IMul_opContext
	Rel_op() IRel_opContext
	Logical_op() ILogical_opContext
	Add_op() IAdd_opContext
	IndexExpr() IIndexExprContext
	SliceExpr() ISliceExprContext

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

IExprContext is an interface to support dynamic dispatch.

type IExprListContext

type IExprListContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllExpr() []IExprContext
	Expr(i int) IExprContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IExprListContext is an interface to support dynamic dispatch.

type IFuncDefContext

type IFuncDefContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	FuncSignature() IFuncSignatureContext
	Block() IBlockContext
	FuncDescriptor() IFuncDescriptorContext
	DefaultFuncDef() IDefaultFuncDefContext

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

IFuncDefContext is an interface to support dynamic dispatch.

type IFuncDescriptorContext

type IFuncDescriptorContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	FUNC() antlr.TerminalNode
	Identifier() antlr.TerminalNode

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

IFuncDescriptorContext is an interface to support dynamic dispatch.

type IFuncSignatureContext

type IFuncSignatureContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	ParameterList() IParameterListContext
	AllFuncTail() []IFuncTailContext
	FuncTail(i int) IFuncTailContext
	ReturnParameters() IReturnParametersContext

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

IFuncSignatureContext is an interface to support dynamic dispatch.

type IFuncTailContext

type IFuncTailContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	DOT() antlr.TerminalNode
	Identifier() antlr.TerminalNode
	ParameterList() IParameterListContext

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

IFuncTailContext is an interface to support dynamic dispatch.

type IIdentifierListContext

type IIdentifierListContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllIdentifier() []antlr.TerminalNode
	Identifier(i int) antlr.TerminalNode
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IIdentifierListContext is an interface to support dynamic dispatch.

type IIdentifierVarContext

type IIdentifierVarContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Identifier() antlr.TerminalNode
	DollarIdentifier() antlr.TerminalNode

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

IIdentifierVarContext is an interface to support dynamic dispatch.

type IIfBodyContext

type IIfBodyContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Block() IBlockContext
	Expr() IExprContext
	LPAREN() antlr.TerminalNode
	RPAREN() antlr.TerminalNode

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

IIfBodyContext is an interface to support dynamic dispatch.

type IIfStmtContext

type IIfStmtContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	IF() antlr.TerminalNode
	AllIfBody() []IIfBodyContext
	IfBody(i int) IIfBodyContext
	AllELIF() []antlr.TerminalNode
	ELIF(i int) antlr.TerminalNode
	ElseBody() IElseBodyContext

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

IIfStmtContext is an interface to support dynamic dispatch.

type IIncDecStmtContext

type IIncDecStmtContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Expr() IExprContext
	IncDec_op() IIncDec_opContext

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

IIncDecStmtContext is an interface to support dynamic dispatch.

type IIncDec_opContext

type IIncDec_opContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	INC() antlr.TerminalNode
	DEC() antlr.TerminalNode

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

IIncDec_opContext is an interface to support dynamic dispatch.

type IIndexExprContext

type IIndexExprContext interface {
	antlr.ParserRuleContext

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

	// GetIndex returns the index rule contexts.
	GetIndex() IExprContext

	// SetIndex sets the index rule contexts.
	SetIndex(IExprContext)

	// Getter signatures
	LBRACK() antlr.TerminalNode
	RBRACK() antlr.TerminalNode
	Expr() IExprContext

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

IIndexExprContext is an interface to support dynamic dispatch.

type ILiteralContext

type ILiteralContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	NumberLiteral() INumberLiteralContext
	StringLiteral() IStringLiteralContext
	BooleanLiteral() IBooleanLiteralContext
	NIL() antlr.TerminalNode

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

ILiteralContext is an interface to support dynamic dispatch.

type ILogical_opContext

type ILogical_opContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AND() antlr.TerminalNode
	OR() antlr.TerminalNode

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

ILogical_opContext is an interface to support dynamic dispatch.

type IMapExprContext

type IMapExprContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	LBRACE() antlr.TerminalNode
	RBRACE() antlr.TerminalNode
	PairList() IPairListContext

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

IMapExprContext is an interface to support dynamic dispatch.

type IMul_opContext

type IMul_opContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	MUL() antlr.TerminalNode
	QUO() antlr.TerminalNode
	MOD() antlr.TerminalNode
	LSHIFT() antlr.TerminalNode
	RSHIFT() antlr.TerminalNode
	BIT_AND() antlr.TerminalNode

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

IMul_opContext is an interface to support dynamic dispatch.

type INumberLiteralContext

type INumberLiteralContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	DecimalLiteral() antlr.TerminalNode
	BinaryLiteral() antlr.TerminalNode
	OctalLiteral() antlr.TerminalNode
	HexLiteral() antlr.TerminalNode
	FloatLiteral() antlr.TerminalNode

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

INumberLiteralContext is an interface to support dynamic dispatch.

type IOperandContext

type IOperandContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	IdentifierVar() IIdentifierVarContext
	Literal() ILiteralContext
	LPAREN() antlr.TerminalNode
	Expr() IExprContext
	RPAREN() antlr.TerminalNode

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

IOperandContext is an interface to support dynamic dispatch.

type IPairContext

type IPairContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	COLON() antlr.TerminalNode
	Expr() IExprContext
	StringLiteral() IStringLiteralContext
	IdentifierVar() IIdentifierVarContext

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

IPairContext is an interface to support dynamic dispatch.

type IPairListContext

type IPairListContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllPair() []IPairContext
	Pair(i int) IPairContext
	Eos() IEosContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IPairListContext is an interface to support dynamic dispatch.

type IParameterContext

type IParameterContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllIdentifierList() []IIdentifierListContext
	IdentifierList(i int) IIdentifierListContext
	AllTypeName() []ITypeNameContext
	TypeName(i int) ITypeNameContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IParameterContext is an interface to support dynamic dispatch.

type IParameterListContext

type IParameterListContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	LPAREN() antlr.TerminalNode
	RPAREN() antlr.TerminalNode
	Parameter() IParameterContext
	Identifier() antlr.TerminalNode
	TAIL() antlr.TerminalNode
	COMMA() antlr.TerminalNode

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

IParameterListContext is an interface to support dynamic dispatch.

type IPrimaryExprContext

type IPrimaryExprContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Operand() IOperandContext
	PrimaryExpr() IPrimaryExprContext
	Arguments() IArgumentsContext
	DOT() antlr.TerminalNode
	Identifier() antlr.TerminalNode

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

IPrimaryExprContext is an interface to support dynamic dispatch.

type IRel_opContext

type IRel_opContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	LESS() antlr.TerminalNode
	GREATER() antlr.TerminalNode
	LESS_EQ() antlr.TerminalNode
	GR_EQ() antlr.TerminalNode
	EQ_EQ() antlr.TerminalNode
	NOT_EQ() antlr.TerminalNode

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

IRel_opContext is an interface to support dynamic dispatch.

type IReturnParametersContext

type IReturnParametersContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllTypeName() []ITypeNameContext
	TypeName(i int) ITypeNameContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IReturnParametersContext is an interface to support dynamic dispatch.

type IReturnStmtContext

type IReturnStmtContext interface {
	antlr.ParserRuleContext

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

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

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

IReturnStmtContext is an interface to support dynamic dispatch.

type ISettingsDefContext

type ISettingsDefContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	SETTINGS() antlr.TerminalNode
	LBRACE() antlr.TerminalNode
	RBRACE() antlr.TerminalNode
	AllIdentifier() []antlr.TerminalNode
	Identifier(i int) antlr.TerminalNode
	AllEQ() []antlr.TerminalNode
	EQ(i int) antlr.TerminalNode
	AllLiteral() []ILiteralContext
	Literal(i int) ILiteralContext
	AllEos() []IEosContext
	Eos(i int) IEosContext

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

ISettingsDefContext is an interface to support dynamic dispatch.

type ISimpleStmtContext

type ISimpleStmtContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Expr() IExprContext
	Assignment() IAssignmentContext
	IncDecStmt() IIncDecStmtContext

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

ISimpleStmtContext is an interface to support dynamic dispatch.

type ISliceExprContext

type ISliceExprContext interface {
	antlr.ParserRuleContext

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

	// GetLow returns the low rule contexts.
	GetLow() IExprContext

	// GetHigh returns the high rule contexts.
	GetHigh() IExprContext

	// SetLow sets the low rule contexts.
	SetLow(IExprContext)

	// SetHigh sets the high rule contexts.
	SetHigh(IExprContext)

	// Getter signatures
	LBRACK() antlr.TerminalNode
	COLON() antlr.TerminalNode
	RBRACK() antlr.TerminalNode
	AllExpr() []IExprContext
	Expr(i int) IExprContext

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

ISliceExprContext is an interface to support dynamic dispatch.

type ISourceMainContext

type ISourceMainContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	EOF() antlr.TerminalNode
	AllEos() []IEosContext
	Eos(i int) IEosContext
	AllContractDef() []IContractDefContext
	ContractDef(i int) IContractDefContext
	AllFuncDef() []IFuncDefContext
	FuncDef(i int) IFuncDefContext

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

ISourceMainContext is an interface to support dynamic dispatch.

type IStatementContext

type IStatementContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Block() IBlockContext
	SimpleStmt() ISimpleStmtContext
	VarDef() IVarDefContext
	IfStmt() IIfStmtContext
	WhileStmt() IWhileStmtContext
	ContinueStmt() IContinueStmtContext
	BreakStmt() IBreakStmtContext
	ReturnStmt() IReturnStmtContext
	ErrorStmt() IErrorStmtContext

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

IStatementContext is an interface to support dynamic dispatch.

type IStatementListContext

type IStatementListContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllStatement() []IStatementContext
	Statement(i int) IStatementContext
	AllEos() []IEosContext
	Eos(i int) IEosContext
	AllSEMI() []antlr.TerminalNode
	SEMI(i int) antlr.TerminalNode
	AllEOS() []antlr.TerminalNode
	EOS(i int) antlr.TerminalNode

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

IStatementListContext is an interface to support dynamic dispatch.

type IStringLiteralContext

type IStringLiteralContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	InterpretedStringLiteral() antlr.TerminalNode
	RawStringLiteral() antlr.TerminalNode

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

IStringLiteralContext is an interface to support dynamic dispatch.

type ITypeNameContext

type ITypeNameContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	BOOL() antlr.TerminalNode
	BYTES() antlr.TerminalNode
	INT() antlr.TerminalNode
	ADDRESS() antlr.TerminalNode
	ARRAY() antlr.TerminalNode
	MAP() antlr.TerminalNode
	MONEY() antlr.TerminalNode
	FLOAT() antlr.TerminalNode
	STRING() antlr.TerminalNode
	FILE() antlr.TerminalNode

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

ITypeNameContext is an interface to support dynamic dispatch.

type IUnary_opContext

type IUnary_opContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	ADD() antlr.TerminalNode
	SUB() antlr.TerminalNode
	NOT() antlr.TerminalNode

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

IUnary_opContext is an interface to support dynamic dispatch.

type IVarDefContext

type IVarDefContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	VAR() antlr.TerminalNode
	Parameter() IParameterContext

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

IVarDefContext is an interface to support dynamic dispatch.

type IWhileStmtContext

type IWhileStmtContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	WHILE() antlr.TerminalNode
	Expr() IExprContext
	Block() IBlockContext

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

IWhileStmtContext is an interface to support dynamic dispatch.

type IdentifierListContext

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

func NewEmptyIdentifierListContext

func NewEmptyIdentifierListContext() *IdentifierListContext

func NewIdentifierListContext

func NewIdentifierListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierListContext

func (*IdentifierListContext) AllCOMMA

func (s *IdentifierListContext) AllCOMMA() []antlr.TerminalNode

func (*IdentifierListContext) AllIdentifier

func (s *IdentifierListContext) AllIdentifier() []antlr.TerminalNode

func (*IdentifierListContext) COMMA

func (s *IdentifierListContext) COMMA(i int) antlr.TerminalNode

func (*IdentifierListContext) EnterRule

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

func (*IdentifierListContext) ExitRule

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

func (*IdentifierListContext) GetParser

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

func (*IdentifierListContext) GetRuleContext

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

func (*IdentifierListContext) Identifier

func (s *IdentifierListContext) Identifier(i int) antlr.TerminalNode

func (*IdentifierListContext) IsIdentifierListContext

func (*IdentifierListContext) IsIdentifierListContext()

func (*IdentifierListContext) ToStringTree

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

type IdentifierVarContext

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

func NewEmptyIdentifierVarContext

func NewEmptyIdentifierVarContext() *IdentifierVarContext

func NewIdentifierVarContext

func NewIdentifierVarContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierVarContext

func (*IdentifierVarContext) DollarIdentifier

func (s *IdentifierVarContext) DollarIdentifier() antlr.TerminalNode

func (*IdentifierVarContext) EnterRule

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

func (*IdentifierVarContext) ExitRule

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

func (*IdentifierVarContext) GetParser

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

func (*IdentifierVarContext) GetRuleContext

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

func (*IdentifierVarContext) Identifier

func (s *IdentifierVarContext) Identifier() antlr.TerminalNode

func (*IdentifierVarContext) IsIdentifierVarContext

func (*IdentifierVarContext) IsIdentifierVarContext()

func (*IdentifierVarContext) ToStringTree

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

type IfBodyContext

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

func NewEmptyIfBodyContext

func NewEmptyIfBodyContext() *IfBodyContext

func NewIfBodyContext

func NewIfBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IfBodyContext

func (*IfBodyContext) Block

func (s *IfBodyContext) Block() IBlockContext

func (*IfBodyContext) EnterRule

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

func (*IfBodyContext) ExitRule

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

func (*IfBodyContext) Expr

func (s *IfBodyContext) Expr() IExprContext

func (*IfBodyContext) GetParser

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

func (*IfBodyContext) GetRuleContext

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

func (*IfBodyContext) IsIfBodyContext

func (*IfBodyContext) IsIfBodyContext()

func (*IfBodyContext) LPAREN

func (s *IfBodyContext) LPAREN() antlr.TerminalNode

func (*IfBodyContext) RPAREN

func (s *IfBodyContext) RPAREN() antlr.TerminalNode

func (*IfBodyContext) ToStringTree

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

type IfStmtContext

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

func NewEmptyIfStmtContext

func NewEmptyIfStmtContext() *IfStmtContext

func NewIfStmtContext

func NewIfStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IfStmtContext

func (*IfStmtContext) AllELIF

func (s *IfStmtContext) AllELIF() []antlr.TerminalNode

func (*IfStmtContext) AllIfBody

func (s *IfStmtContext) AllIfBody() []IIfBodyContext

func (*IfStmtContext) ELIF

func (s *IfStmtContext) ELIF(i int) antlr.TerminalNode

func (*IfStmtContext) ElseBody

func (s *IfStmtContext) ElseBody() IElseBodyContext

func (*IfStmtContext) EnterRule

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

func (*IfStmtContext) ExitRule

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

func (*IfStmtContext) GetParser

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

func (*IfStmtContext) GetRuleContext

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

func (*IfStmtContext) IF

func (s *IfStmtContext) IF() antlr.TerminalNode

func (*IfStmtContext) IfBody

func (s *IfStmtContext) IfBody(i int) IIfBodyContext

func (*IfStmtContext) IsIfStmtContext

func (*IfStmtContext) IsIfStmtContext()

func (*IfStmtContext) ToStringTree

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

type IncDecStmtContext

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

func NewEmptyIncDecStmtContext

func NewEmptyIncDecStmtContext() *IncDecStmtContext

func NewIncDecStmtContext

func NewIncDecStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IncDecStmtContext

func (*IncDecStmtContext) EnterRule

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

func (*IncDecStmtContext) ExitRule

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

func (*IncDecStmtContext) Expr

func (s *IncDecStmtContext) Expr() IExprContext

func (*IncDecStmtContext) GetParser

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

func (*IncDecStmtContext) GetRuleContext

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

func (*IncDecStmtContext) IncDec_op

func (s *IncDecStmtContext) IncDec_op() IIncDec_opContext

func (*IncDecStmtContext) IsIncDecStmtContext

func (*IncDecStmtContext) IsIncDecStmtContext()

func (*IncDecStmtContext) ToStringTree

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

type IncDec_opContext

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

func NewEmptyIncDec_opContext

func NewEmptyIncDec_opContext() *IncDec_opContext

func NewIncDec_opContext

func NewIncDec_opContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IncDec_opContext

func (*IncDec_opContext) DEC

func (s *IncDec_opContext) DEC() antlr.TerminalNode

func (*IncDec_opContext) EnterRule

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

func (*IncDec_opContext) ExitRule

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

func (*IncDec_opContext) GetParser

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

func (*IncDec_opContext) GetRuleContext

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

func (*IncDec_opContext) INC

func (s *IncDec_opContext) INC() antlr.TerminalNode

func (*IncDec_opContext) IsIncDec_opContext

func (*IncDec_opContext) IsIncDec_opContext()

func (*IncDec_opContext) ToStringTree

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

type IndexExprContext

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

func NewEmptyIndexExprContext

func NewEmptyIndexExprContext() *IndexExprContext

func NewIndexExprContext

func NewIndexExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IndexExprContext

func (*IndexExprContext) EnterRule

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

func (*IndexExprContext) ExitRule

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

func (*IndexExprContext) Expr

func (s *IndexExprContext) Expr() IExprContext

func (*IndexExprContext) GetIndex

func (s *IndexExprContext) GetIndex() IExprContext

func (*IndexExprContext) GetParser

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

func (*IndexExprContext) GetRuleContext

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

func (*IndexExprContext) IsIndexExprContext

func (*IndexExprContext) IsIndexExprContext()

func (*IndexExprContext) LBRACK

func (s *IndexExprContext) LBRACK() antlr.TerminalNode

func (*IndexExprContext) RBRACK

func (s *IndexExprContext) RBRACK() antlr.TerminalNode

func (*IndexExprContext) SetIndex

func (s *IndexExprContext) SetIndex(v IExprContext)

func (*IndexExprContext) ToStringTree

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

type LiteralContext

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

func NewEmptyLiteralContext

func NewEmptyLiteralContext() *LiteralContext

func NewLiteralContext

func NewLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralContext

func (*LiteralContext) BooleanLiteral

func (s *LiteralContext) BooleanLiteral() IBooleanLiteralContext

func (*LiteralContext) EnterRule

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

func (*LiteralContext) ExitRule

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

func (*LiteralContext) GetParser

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

func (*LiteralContext) GetRuleContext

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

func (*LiteralContext) IsLiteralContext

func (*LiteralContext) IsLiteralContext()

func (*LiteralContext) NIL

func (s *LiteralContext) NIL() antlr.TerminalNode

func (*LiteralContext) NumberLiteral

func (s *LiteralContext) NumberLiteral() INumberLiteralContext

func (*LiteralContext) StringLiteral

func (s *LiteralContext) StringLiteral() IStringLiteralContext

func (*LiteralContext) ToStringTree

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

type Logical_opContext

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

func NewEmptyLogical_opContext

func NewEmptyLogical_opContext() *Logical_opContext

func NewLogical_opContext

func NewLogical_opContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Logical_opContext

func (*Logical_opContext) AND

func (s *Logical_opContext) AND() antlr.TerminalNode

func (*Logical_opContext) EnterRule

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

func (*Logical_opContext) ExitRule

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

func (*Logical_opContext) GetParser

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

func (*Logical_opContext) GetRuleContext

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

func (*Logical_opContext) IsLogical_opContext

func (*Logical_opContext) IsLogical_opContext()

func (*Logical_opContext) OR

func (s *Logical_opContext) OR() antlr.TerminalNode

func (*Logical_opContext) ToStringTree

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

type MapExprContext

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

func NewEmptyMapExprContext

func NewEmptyMapExprContext() *MapExprContext

func NewMapExprContext

func NewMapExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MapExprContext

func (*MapExprContext) EnterRule

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

func (*MapExprContext) ExitRule

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

func (*MapExprContext) GetParser

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

func (*MapExprContext) GetRuleContext

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

func (*MapExprContext) IsMapExprContext

func (*MapExprContext) IsMapExprContext()

func (*MapExprContext) LBRACE

func (s *MapExprContext) LBRACE() antlr.TerminalNode

func (*MapExprContext) PairList

func (s *MapExprContext) PairList() IPairListContext

func (*MapExprContext) RBRACE

func (s *MapExprContext) RBRACE() antlr.TerminalNode

func (*MapExprContext) ToStringTree

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

type Mul_opContext

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

func NewEmptyMul_opContext

func NewEmptyMul_opContext() *Mul_opContext

func NewMul_opContext

func NewMul_opContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Mul_opContext

func (*Mul_opContext) BIT_AND

func (s *Mul_opContext) BIT_AND() antlr.TerminalNode

func (*Mul_opContext) EnterRule

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

func (*Mul_opContext) ExitRule

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

func (*Mul_opContext) GetParser

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

func (*Mul_opContext) GetRuleContext

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

func (*Mul_opContext) IsMul_opContext

func (*Mul_opContext) IsMul_opContext()

func (*Mul_opContext) LSHIFT

func (s *Mul_opContext) LSHIFT() antlr.TerminalNode

func (*Mul_opContext) MOD

func (s *Mul_opContext) MOD() antlr.TerminalNode

func (*Mul_opContext) MUL

func (s *Mul_opContext) MUL() antlr.TerminalNode

func (*Mul_opContext) QUO

func (s *Mul_opContext) QUO() antlr.TerminalNode

func (*Mul_opContext) RSHIFT

func (s *Mul_opContext) RSHIFT() antlr.TerminalNode

func (*Mul_opContext) ToStringTree

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

type NeedleLexer

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

func NewNeedleLexer

func NewNeedleLexer(input antlr.CharStream) *NeedleLexer

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

type NeedleParser

type NeedleParser struct {
	*antlr.BaseParser
}

func NewNeedleParser

func NewNeedleParser(input antlr.TokenStream) *NeedleParser

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

func (*NeedleParser) Add_op

func (p *NeedleParser) Add_op() (localctx IAdd_opContext)

func (*NeedleParser) Arguments

func (p *NeedleParser) Arguments() (localctx IArgumentsContext)

func (*NeedleParser) ArrayExpr

func (p *NeedleParser) ArrayExpr() (localctx IArrayExprContext)

func (*NeedleParser) Assign_op

func (p *NeedleParser) Assign_op() (localctx IAssign_opContext)

func (*NeedleParser) Assignment

func (p *NeedleParser) Assignment() (localctx IAssignmentContext)

func (*NeedleParser) Block

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

func (*NeedleParser) BooleanLiteral

func (p *NeedleParser) BooleanLiteral() (localctx IBooleanLiteralContext)

func (*NeedleParser) BreakStmt

func (p *NeedleParser) BreakStmt() (localctx IBreakStmtContext)

func (*NeedleParser) ContinueStmt

func (p *NeedleParser) ContinueStmt() (localctx IContinueStmtContext)

func (*NeedleParser) ContractCall

func (p *NeedleParser) ContractCall() (localctx IContractCallContext)

func (*NeedleParser) ContractDef

func (p *NeedleParser) ContractDef() (localctx IContractDefContext)

func (*NeedleParser) ContractPart

func (p *NeedleParser) ContractPart() (localctx IContractPartContext)

func (*NeedleParser) DataDef

func (p *NeedleParser) DataDef() (localctx IDataDefContext)

func (*NeedleParser) DataPart

func (p *NeedleParser) DataPart() (localctx IDataPartContext)

func (*NeedleParser) DefaultFuncDef

func (p *NeedleParser) DefaultFuncDef() (localctx IDefaultFuncDefContext)

func (*NeedleParser) ElseBody

func (p *NeedleParser) ElseBody() (localctx IElseBodyContext)

func (*NeedleParser) Eos

func (p *NeedleParser) Eos() (localctx IEosContext)

func (*NeedleParser) ErrorStmt

func (p *NeedleParser) ErrorStmt() (localctx IErrorStmtContext)

func (*NeedleParser) Expr

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

func (*NeedleParser) ExprList

func (p *NeedleParser) ExprList() (localctx IExprListContext)

func (*NeedleParser) Expr_Sempred

func (p *NeedleParser) Expr_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*NeedleParser) FuncDef

func (p *NeedleParser) FuncDef() (localctx IFuncDefContext)

func (*NeedleParser) FuncDescriptor

func (p *NeedleParser) FuncDescriptor() (localctx IFuncDescriptorContext)

func (*NeedleParser) FuncSignature

func (p *NeedleParser) FuncSignature() (localctx IFuncSignatureContext)

func (*NeedleParser) FuncTail

func (p *NeedleParser) FuncTail() (localctx IFuncTailContext)

func (*NeedleParser) IdentifierList

func (p *NeedleParser) IdentifierList() (localctx IIdentifierListContext)

func (*NeedleParser) IdentifierVar

func (p *NeedleParser) IdentifierVar() (localctx IIdentifierVarContext)

func (*NeedleParser) IfBody

func (p *NeedleParser) IfBody() (localctx IIfBodyContext)

func (*NeedleParser) IfStmt

func (p *NeedleParser) IfStmt() (localctx IIfStmtContext)

func (*NeedleParser) IncDecStmt

func (p *NeedleParser) IncDecStmt() (localctx IIncDecStmtContext)

func (*NeedleParser) IncDec_op

func (p *NeedleParser) IncDec_op() (localctx IIncDec_opContext)

func (*NeedleParser) IndexExpr

func (p *NeedleParser) IndexExpr() (localctx IIndexExprContext)

func (*NeedleParser) Literal

func (p *NeedleParser) Literal() (localctx ILiteralContext)

func (*NeedleParser) Logical_op

func (p *NeedleParser) Logical_op() (localctx ILogical_opContext)

func (*NeedleParser) MapExpr

func (p *NeedleParser) MapExpr() (localctx IMapExprContext)

func (*NeedleParser) Mul_op

func (p *NeedleParser) Mul_op() (localctx IMul_opContext)

func (*NeedleParser) NumberLiteral

func (p *NeedleParser) NumberLiteral() (localctx INumberLiteralContext)

func (*NeedleParser) Operand

func (p *NeedleParser) Operand() (localctx IOperandContext)

func (*NeedleParser) Pair

func (p *NeedleParser) Pair() (localctx IPairContext)

func (*NeedleParser) PairList

func (p *NeedleParser) PairList() (localctx IPairListContext)

func (*NeedleParser) Parameter

func (p *NeedleParser) Parameter() (localctx IParameterContext)

func (*NeedleParser) ParameterList

func (p *NeedleParser) ParameterList() (localctx IParameterListContext)

func (*NeedleParser) PrimaryExpr

func (p *NeedleParser) PrimaryExpr() (localctx IPrimaryExprContext)

func (*NeedleParser) PrimaryExpr_Sempred

func (p *NeedleParser) PrimaryExpr_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*NeedleParser) Rel_op

func (p *NeedleParser) Rel_op() (localctx IRel_opContext)

func (*NeedleParser) ReturnParameters

func (p *NeedleParser) ReturnParameters() (localctx IReturnParametersContext)

func (*NeedleParser) ReturnStmt

func (p *NeedleParser) ReturnStmt() (localctx IReturnStmtContext)

func (*NeedleParser) Sempred

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

func (*NeedleParser) SettingsDef

func (p *NeedleParser) SettingsDef() (localctx ISettingsDefContext)

func (*NeedleParser) SimpleStmt

func (p *NeedleParser) SimpleStmt() (localctx ISimpleStmtContext)

func (*NeedleParser) SliceExpr

func (p *NeedleParser) SliceExpr() (localctx ISliceExprContext)

func (*NeedleParser) SourceMain

func (p *NeedleParser) SourceMain() (localctx ISourceMainContext)

func (*NeedleParser) Statement

func (p *NeedleParser) Statement() (localctx IStatementContext)

func (*NeedleParser) StatementList

func (p *NeedleParser) StatementList() (localctx IStatementListContext)

func (*NeedleParser) StringLiteral

func (p *NeedleParser) StringLiteral() (localctx IStringLiteralContext)

func (*NeedleParser) TypeName

func (p *NeedleParser) TypeName() (localctx ITypeNameContext)

func (*NeedleParser) Unary_op

func (p *NeedleParser) Unary_op() (localctx IUnary_opContext)

func (*NeedleParser) VarDef

func (p *NeedleParser) VarDef() (localctx IVarDefContext)

func (*NeedleParser) WhileStmt

func (p *NeedleParser) WhileStmt() (localctx IWhileStmtContext)

type NeedleParserListener

type NeedleParserListener interface {
	antlr.ParseTreeListener

	// EnterSourceMain is called when entering the sourceMain production.
	EnterSourceMain(c *SourceMainContext)

	// EnterContractDef is called when entering the contractDef production.
	EnterContractDef(c *ContractDefContext)

	// EnterContractPart is called when entering the contractPart production.
	EnterContractPart(c *ContractPartContext)

	// EnterDataDef is called when entering the dataDef production.
	EnterDataDef(c *DataDefContext)

	// EnterDataPart is called when entering the dataPart production.
	EnterDataPart(c *DataPartContext)

	// EnterSettingsDef is called when entering the settingsDef production.
	EnterSettingsDef(c *SettingsDefContext)

	// EnterFuncDef is called when entering the funcDef production.
	EnterFuncDef(c *FuncDefContext)

	// EnterDefaultFuncDef is called when entering the defaultFuncDef production.
	EnterDefaultFuncDef(c *DefaultFuncDefContext)

	// EnterFuncDescriptor is called when entering the funcDescriptor production.
	EnterFuncDescriptor(c *FuncDescriptorContext)

	// EnterFuncSignature is called when entering the funcSignature production.
	EnterFuncSignature(c *FuncSignatureContext)

	// EnterFuncTail is called when entering the funcTail production.
	EnterFuncTail(c *FuncTailContext)

	// EnterParameterList is called when entering the parameterList production.
	EnterParameterList(c *ParameterListContext)

	// EnterParameter is called when entering the parameter production.
	EnterParameter(c *ParameterContext)

	// EnterReturnParameters is called when entering the returnParameters production.
	EnterReturnParameters(c *ReturnParametersContext)

	// EnterBlock is called when entering the block production.
	EnterBlock(c *BlockContext)

	// EnterStatementList is called when entering the statementList production.
	EnterStatementList(c *StatementListContext)

	// EnterStatement is called when entering the statement production.
	EnterStatement(c *StatementContext)

	// EnterSimpleStmt is called when entering the simpleStmt production.
	EnterSimpleStmt(c *SimpleStmtContext)

	// EnterIncDecStmt is called when entering the incDecStmt production.
	EnterIncDecStmt(c *IncDecStmtContext)

	// EnterAssignment is called when entering the assignment production.
	EnterAssignment(c *AssignmentContext)

	// EnterVarDef is called when entering the varDef production.
	EnterVarDef(c *VarDefContext)

	// EnterIfStmt is called when entering the ifStmt production.
	EnterIfStmt(c *IfStmtContext)

	// EnterIfBody is called when entering the ifBody production.
	EnterIfBody(c *IfBodyContext)

	// EnterElseBody is called when entering the elseBody production.
	EnterElseBody(c *ElseBodyContext)

	// EnterReturnStmt is called when entering the returnStmt production.
	EnterReturnStmt(c *ReturnStmtContext)

	// EnterContinueStmt is called when entering the continueStmt production.
	EnterContinueStmt(c *ContinueStmtContext)

	// EnterBreakStmt is called when entering the breakStmt production.
	EnterBreakStmt(c *BreakStmtContext)

	// EnterWhileStmt is called when entering the whileStmt production.
	EnterWhileStmt(c *WhileStmtContext)

	// EnterErrorStmt is called when entering the errorStmt production.
	EnterErrorStmt(c *ErrorStmtContext)

	// EnterArrayExpr is called when entering the arrayExpr production.
	EnterArrayExpr(c *ArrayExprContext)

	// EnterMapExpr is called when entering the mapExpr production.
	EnterMapExpr(c *MapExprContext)

	// EnterPairList is called when entering the pairList production.
	EnterPairList(c *PairListContext)

	// EnterPair is called when entering the pair production.
	EnterPair(c *PairContext)

	// EnterArguments is called when entering the arguments production.
	EnterArguments(c *ArgumentsContext)

	// EnterExprList is called when entering the exprList production.
	EnterExprList(c *ExprListContext)

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

	// EnterPrimaryExpr is called when entering the primaryExpr production.
	EnterPrimaryExpr(c *PrimaryExprContext)

	// EnterIndexExpr is called when entering the indexExpr production.
	EnterIndexExpr(c *IndexExprContext)

	// EnterSliceExpr is called when entering the sliceExpr production.
	EnterSliceExpr(c *SliceExprContext)

	// EnterContractCall is called when entering the contractCall production.
	EnterContractCall(c *ContractCallContext)

	// EnterOperand is called when entering the operand production.
	EnterOperand(c *OperandContext)

	// EnterLiteral is called when entering the literal production.
	EnterLiteral(c *LiteralContext)

	// EnterTypeName is called when entering the typeName production.
	EnterTypeName(c *TypeNameContext)

	// EnterIncDec_op is called when entering the incDec_op production.
	EnterIncDec_op(c *IncDec_opContext)

	// EnterMul_op is called when entering the mul_op production.
	EnterMul_op(c *Mul_opContext)

	// EnterUnary_op is called when entering the unary_op production.
	EnterUnary_op(c *Unary_opContext)

	// EnterAdd_op is called when entering the add_op production.
	EnterAdd_op(c *Add_opContext)

	// EnterLogical_op is called when entering the logical_op production.
	EnterLogical_op(c *Logical_opContext)

	// EnterRel_op is called when entering the rel_op production.
	EnterRel_op(c *Rel_opContext)

	// EnterAssign_op is called when entering the assign_op production.
	EnterAssign_op(c *Assign_opContext)

	// EnterIdentifierVar is called when entering the identifierVar production.
	EnterIdentifierVar(c *IdentifierVarContext)

	// EnterIdentifierList is called when entering the identifierList production.
	EnterIdentifierList(c *IdentifierListContext)

	// EnterStringLiteral is called when entering the stringLiteral production.
	EnterStringLiteral(c *StringLiteralContext)

	// EnterNumberLiteral is called when entering the numberLiteral production.
	EnterNumberLiteral(c *NumberLiteralContext)

	// EnterBooleanLiteral is called when entering the booleanLiteral production.
	EnterBooleanLiteral(c *BooleanLiteralContext)

	// EnterEos is called when entering the eos production.
	EnterEos(c *EosContext)

	// ExitSourceMain is called when exiting the sourceMain production.
	ExitSourceMain(c *SourceMainContext)

	// ExitContractDef is called when exiting the contractDef production.
	ExitContractDef(c *ContractDefContext)

	// ExitContractPart is called when exiting the contractPart production.
	ExitContractPart(c *ContractPartContext)

	// ExitDataDef is called when exiting the dataDef production.
	ExitDataDef(c *DataDefContext)

	// ExitDataPart is called when exiting the dataPart production.
	ExitDataPart(c *DataPartContext)

	// ExitSettingsDef is called when exiting the settingsDef production.
	ExitSettingsDef(c *SettingsDefContext)

	// ExitFuncDef is called when exiting the funcDef production.
	ExitFuncDef(c *FuncDefContext)

	// ExitDefaultFuncDef is called when exiting the defaultFuncDef production.
	ExitDefaultFuncDef(c *DefaultFuncDefContext)

	// ExitFuncDescriptor is called when exiting the funcDescriptor production.
	ExitFuncDescriptor(c *FuncDescriptorContext)

	// ExitFuncSignature is called when exiting the funcSignature production.
	ExitFuncSignature(c *FuncSignatureContext)

	// ExitFuncTail is called when exiting the funcTail production.
	ExitFuncTail(c *FuncTailContext)

	// ExitParameterList is called when exiting the parameterList production.
	ExitParameterList(c *ParameterListContext)

	// ExitParameter is called when exiting the parameter production.
	ExitParameter(c *ParameterContext)

	// ExitReturnParameters is called when exiting the returnParameters production.
	ExitReturnParameters(c *ReturnParametersContext)

	// ExitBlock is called when exiting the block production.
	ExitBlock(c *BlockContext)

	// ExitStatementList is called when exiting the statementList production.
	ExitStatementList(c *StatementListContext)

	// ExitStatement is called when exiting the statement production.
	ExitStatement(c *StatementContext)

	// ExitSimpleStmt is called when exiting the simpleStmt production.
	ExitSimpleStmt(c *SimpleStmtContext)

	// ExitIncDecStmt is called when exiting the incDecStmt production.
	ExitIncDecStmt(c *IncDecStmtContext)

	// ExitAssignment is called when exiting the assignment production.
	ExitAssignment(c *AssignmentContext)

	// ExitVarDef is called when exiting the varDef production.
	ExitVarDef(c *VarDefContext)

	// ExitIfStmt is called when exiting the ifStmt production.
	ExitIfStmt(c *IfStmtContext)

	// ExitIfBody is called when exiting the ifBody production.
	ExitIfBody(c *IfBodyContext)

	// ExitElseBody is called when exiting the elseBody production.
	ExitElseBody(c *ElseBodyContext)

	// ExitReturnStmt is called when exiting the returnStmt production.
	ExitReturnStmt(c *ReturnStmtContext)

	// ExitContinueStmt is called when exiting the continueStmt production.
	ExitContinueStmt(c *ContinueStmtContext)

	// ExitBreakStmt is called when exiting the breakStmt production.
	ExitBreakStmt(c *BreakStmtContext)

	// ExitWhileStmt is called when exiting the whileStmt production.
	ExitWhileStmt(c *WhileStmtContext)

	// ExitErrorStmt is called when exiting the errorStmt production.
	ExitErrorStmt(c *ErrorStmtContext)

	// ExitArrayExpr is called when exiting the arrayExpr production.
	ExitArrayExpr(c *ArrayExprContext)

	// ExitMapExpr is called when exiting the mapExpr production.
	ExitMapExpr(c *MapExprContext)

	// ExitPairList is called when exiting the pairList production.
	ExitPairList(c *PairListContext)

	// ExitPair is called when exiting the pair production.
	ExitPair(c *PairContext)

	// ExitArguments is called when exiting the arguments production.
	ExitArguments(c *ArgumentsContext)

	// ExitExprList is called when exiting the exprList production.
	ExitExprList(c *ExprListContext)

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

	// ExitPrimaryExpr is called when exiting the primaryExpr production.
	ExitPrimaryExpr(c *PrimaryExprContext)

	// ExitIndexExpr is called when exiting the indexExpr production.
	ExitIndexExpr(c *IndexExprContext)

	// ExitSliceExpr is called when exiting the sliceExpr production.
	ExitSliceExpr(c *SliceExprContext)

	// ExitContractCall is called when exiting the contractCall production.
	ExitContractCall(c *ContractCallContext)

	// ExitOperand is called when exiting the operand production.
	ExitOperand(c *OperandContext)

	// ExitLiteral is called when exiting the literal production.
	ExitLiteral(c *LiteralContext)

	// ExitTypeName is called when exiting the typeName production.
	ExitTypeName(c *TypeNameContext)

	// ExitIncDec_op is called when exiting the incDec_op production.
	ExitIncDec_op(c *IncDec_opContext)

	// ExitMul_op is called when exiting the mul_op production.
	ExitMul_op(c *Mul_opContext)

	// ExitUnary_op is called when exiting the unary_op production.
	ExitUnary_op(c *Unary_opContext)

	// ExitAdd_op is called when exiting the add_op production.
	ExitAdd_op(c *Add_opContext)

	// ExitLogical_op is called when exiting the logical_op production.
	ExitLogical_op(c *Logical_opContext)

	// ExitRel_op is called when exiting the rel_op production.
	ExitRel_op(c *Rel_opContext)

	// ExitAssign_op is called when exiting the assign_op production.
	ExitAssign_op(c *Assign_opContext)

	// ExitIdentifierVar is called when exiting the identifierVar production.
	ExitIdentifierVar(c *IdentifierVarContext)

	// ExitIdentifierList is called when exiting the identifierList production.
	ExitIdentifierList(c *IdentifierListContext)

	// ExitStringLiteral is called when exiting the stringLiteral production.
	ExitStringLiteral(c *StringLiteralContext)

	// ExitNumberLiteral is called when exiting the numberLiteral production.
	ExitNumberLiteral(c *NumberLiteralContext)

	// ExitBooleanLiteral is called when exiting the booleanLiteral production.
	ExitBooleanLiteral(c *BooleanLiteralContext)

	// ExitEos is called when exiting the eos production.
	ExitEos(c *EosContext)
}

NeedleParserListener is a complete listener for a parse tree produced by NeedleParser.

type NumberLiteralContext

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

func NewEmptyNumberLiteralContext

func NewEmptyNumberLiteralContext() *NumberLiteralContext

func NewNumberLiteralContext

func NewNumberLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberLiteralContext

func (*NumberLiteralContext) BinaryLiteral

func (s *NumberLiteralContext) BinaryLiteral() antlr.TerminalNode

func (*NumberLiteralContext) DecimalLiteral

func (s *NumberLiteralContext) DecimalLiteral() antlr.TerminalNode

func (*NumberLiteralContext) EnterRule

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

func (*NumberLiteralContext) ExitRule

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

func (*NumberLiteralContext) FloatLiteral

func (s *NumberLiteralContext) FloatLiteral() antlr.TerminalNode

func (*NumberLiteralContext) GetParser

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

func (*NumberLiteralContext) GetRuleContext

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

func (*NumberLiteralContext) HexLiteral

func (s *NumberLiteralContext) HexLiteral() antlr.TerminalNode

func (*NumberLiteralContext) IsNumberLiteralContext

func (*NumberLiteralContext) IsNumberLiteralContext()

func (*NumberLiteralContext) OctalLiteral

func (s *NumberLiteralContext) OctalLiteral() antlr.TerminalNode

func (*NumberLiteralContext) ToStringTree

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

type OperandContext

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

func NewEmptyOperandContext

func NewEmptyOperandContext() *OperandContext

func NewOperandContext

func NewOperandContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperandContext

func (*OperandContext) EnterRule

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

func (*OperandContext) ExitRule

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

func (*OperandContext) Expr

func (s *OperandContext) Expr() IExprContext

func (*OperandContext) GetParser

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

func (*OperandContext) GetRuleContext

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

func (*OperandContext) IdentifierVar

func (s *OperandContext) IdentifierVar() IIdentifierVarContext

func (*OperandContext) IsOperandContext

func (*OperandContext) IsOperandContext()

func (*OperandContext) LPAREN

func (s *OperandContext) LPAREN() antlr.TerminalNode

func (*OperandContext) Literal

func (s *OperandContext) Literal() ILiteralContext

func (*OperandContext) RPAREN

func (s *OperandContext) RPAREN() antlr.TerminalNode

func (*OperandContext) ToStringTree

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

type PairContext

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

func NewEmptyPairContext

func NewEmptyPairContext() *PairContext

func NewPairContext

func NewPairContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PairContext

func (*PairContext) COLON

func (s *PairContext) COLON() antlr.TerminalNode

func (*PairContext) EnterRule

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

func (*PairContext) ExitRule

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

func (*PairContext) Expr

func (s *PairContext) Expr() IExprContext

func (*PairContext) GetParser

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

func (*PairContext) GetRuleContext

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

func (*PairContext) IdentifierVar

func (s *PairContext) IdentifierVar() IIdentifierVarContext

func (*PairContext) IsPairContext

func (*PairContext) IsPairContext()

func (*PairContext) StringLiteral

func (s *PairContext) StringLiteral() IStringLiteralContext

func (*PairContext) ToStringTree

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

type PairListContext

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

func NewEmptyPairListContext

func NewEmptyPairListContext() *PairListContext

func NewPairListContext

func NewPairListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PairListContext

func (*PairListContext) AllCOMMA

func (s *PairListContext) AllCOMMA() []antlr.TerminalNode

func (*PairListContext) AllPair

func (s *PairListContext) AllPair() []IPairContext

func (*PairListContext) COMMA

func (s *PairListContext) COMMA(i int) antlr.TerminalNode

func (*PairListContext) EnterRule

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

func (*PairListContext) Eos

func (s *PairListContext) Eos() IEosContext

func (*PairListContext) ExitRule

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

func (*PairListContext) GetParser

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

func (*PairListContext) GetRuleContext

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

func (*PairListContext) IsPairListContext

func (*PairListContext) IsPairListContext()

func (*PairListContext) Pair

func (s *PairListContext) Pair(i int) IPairContext

func (*PairListContext) ToStringTree

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

type ParameterContext

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

func NewEmptyParameterContext

func NewEmptyParameterContext() *ParameterContext

func NewParameterContext

func NewParameterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParameterContext

func (*ParameterContext) AllCOMMA

func (s *ParameterContext) AllCOMMA() []antlr.TerminalNode

func (*ParameterContext) AllIdentifierList

func (s *ParameterContext) AllIdentifierList() []IIdentifierListContext

func (*ParameterContext) AllTypeName

func (s *ParameterContext) AllTypeName() []ITypeNameContext

func (*ParameterContext) COMMA

func (s *ParameterContext) COMMA(i int) antlr.TerminalNode

func (*ParameterContext) EnterRule

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

func (*ParameterContext) ExitRule

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

func (*ParameterContext) GetParser

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

func (*ParameterContext) GetRuleContext

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

func (*ParameterContext) IdentifierList

func (s *ParameterContext) IdentifierList(i int) IIdentifierListContext

func (*ParameterContext) IsParameterContext

func (*ParameterContext) IsParameterContext()

func (*ParameterContext) ToStringTree

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

func (*ParameterContext) TypeName

func (s *ParameterContext) TypeName(i int) ITypeNameContext

type ParameterListContext

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

func NewEmptyParameterListContext

func NewEmptyParameterListContext() *ParameterListContext

func NewParameterListContext

func NewParameterListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParameterListContext

func (*ParameterListContext) COMMA

func (s *ParameterListContext) COMMA() antlr.TerminalNode

func (*ParameterListContext) EnterRule

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

func (*ParameterListContext) ExitRule

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

func (*ParameterListContext) GetParser

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

func (*ParameterListContext) GetRuleContext

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

func (*ParameterListContext) Identifier

func (s *ParameterListContext) Identifier() antlr.TerminalNode

func (*ParameterListContext) IsParameterListContext

func (*ParameterListContext) IsParameterListContext()

func (*ParameterListContext) LPAREN

func (s *ParameterListContext) LPAREN() antlr.TerminalNode

func (*ParameterListContext) Parameter

func (s *ParameterListContext) Parameter() IParameterContext

func (*ParameterListContext) RPAREN

func (s *ParameterListContext) RPAREN() antlr.TerminalNode

func (*ParameterListContext) TAIL

func (s *ParameterListContext) TAIL() antlr.TerminalNode

func (*ParameterListContext) ToStringTree

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

type PrimaryExprContext

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

func NewEmptyPrimaryExprContext

func NewEmptyPrimaryExprContext() *PrimaryExprContext

func NewPrimaryExprContext

func NewPrimaryExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PrimaryExprContext

func (*PrimaryExprContext) Arguments

func (s *PrimaryExprContext) Arguments() IArgumentsContext

func (*PrimaryExprContext) DOT

func (s *PrimaryExprContext) DOT() antlr.TerminalNode

func (*PrimaryExprContext) EnterRule

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

func (*PrimaryExprContext) ExitRule

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

func (*PrimaryExprContext) GetParser

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

func (*PrimaryExprContext) GetRuleContext

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

func (*PrimaryExprContext) Identifier

func (s *PrimaryExprContext) Identifier() antlr.TerminalNode

func (*PrimaryExprContext) IsPrimaryExprContext

func (*PrimaryExprContext) IsPrimaryExprContext()

func (*PrimaryExprContext) Operand

func (s *PrimaryExprContext) Operand() IOperandContext

func (*PrimaryExprContext) PrimaryExpr

func (s *PrimaryExprContext) PrimaryExpr() IPrimaryExprContext

func (*PrimaryExprContext) ToStringTree

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

type Rel_opContext

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

func NewEmptyRel_opContext

func NewEmptyRel_opContext() *Rel_opContext

func NewRel_opContext

func NewRel_opContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Rel_opContext

func (*Rel_opContext) EQ_EQ

func (s *Rel_opContext) EQ_EQ() antlr.TerminalNode

func (*Rel_opContext) EnterRule

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

func (*Rel_opContext) ExitRule

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

func (*Rel_opContext) GREATER

func (s *Rel_opContext) GREATER() antlr.TerminalNode

func (*Rel_opContext) GR_EQ

func (s *Rel_opContext) GR_EQ() antlr.TerminalNode

func (*Rel_opContext) GetParser

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

func (*Rel_opContext) GetRuleContext

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

func (*Rel_opContext) IsRel_opContext

func (*Rel_opContext) IsRel_opContext()

func (*Rel_opContext) LESS

func (s *Rel_opContext) LESS() antlr.TerminalNode

func (*Rel_opContext) LESS_EQ

func (s *Rel_opContext) LESS_EQ() antlr.TerminalNode

func (*Rel_opContext) NOT_EQ

func (s *Rel_opContext) NOT_EQ() antlr.TerminalNode

func (*Rel_opContext) ToStringTree

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

type ReturnParametersContext

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

func NewEmptyReturnParametersContext

func NewEmptyReturnParametersContext() *ReturnParametersContext

func NewReturnParametersContext

func NewReturnParametersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReturnParametersContext

func (*ReturnParametersContext) AllCOMMA

func (s *ReturnParametersContext) AllCOMMA() []antlr.TerminalNode

func (*ReturnParametersContext) AllTypeName

func (s *ReturnParametersContext) AllTypeName() []ITypeNameContext

func (*ReturnParametersContext) COMMA

func (s *ReturnParametersContext) COMMA(i int) antlr.TerminalNode

func (*ReturnParametersContext) EnterRule

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

func (*ReturnParametersContext) ExitRule

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

func (*ReturnParametersContext) GetParser

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

func (*ReturnParametersContext) GetRuleContext

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

func (*ReturnParametersContext) IsReturnParametersContext

func (*ReturnParametersContext) IsReturnParametersContext()

func (*ReturnParametersContext) ToStringTree

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

func (*ReturnParametersContext) TypeName

type ReturnStmtContext

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

func NewEmptyReturnStmtContext

func NewEmptyReturnStmtContext() *ReturnStmtContext

func NewReturnStmtContext

func NewReturnStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReturnStmtContext

func (*ReturnStmtContext) EnterRule

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

func (*ReturnStmtContext) ExitRule

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

func (*ReturnStmtContext) Expr

func (s *ReturnStmtContext) Expr() IExprContext

func (*ReturnStmtContext) GetParser

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

func (*ReturnStmtContext) GetRuleContext

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

func (*ReturnStmtContext) IsReturnStmtContext

func (*ReturnStmtContext) IsReturnStmtContext()

func (*ReturnStmtContext) RETURN

func (s *ReturnStmtContext) RETURN() antlr.TerminalNode

func (*ReturnStmtContext) ToStringTree

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

type SettingsDefContext

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

func NewEmptySettingsDefContext

func NewEmptySettingsDefContext() *SettingsDefContext

func NewSettingsDefContext

func NewSettingsDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SettingsDefContext

func (*SettingsDefContext) AllEQ

func (s *SettingsDefContext) AllEQ() []antlr.TerminalNode

func (*SettingsDefContext) AllEos

func (s *SettingsDefContext) AllEos() []IEosContext

func (*SettingsDefContext) AllIdentifier

func (s *SettingsDefContext) AllIdentifier() []antlr.TerminalNode

func (*SettingsDefContext) AllLiteral

func (s *SettingsDefContext) AllLiteral() []ILiteralContext

func (*SettingsDefContext) EQ

func (s *SettingsDefContext) EQ(i int) antlr.TerminalNode

func (*SettingsDefContext) EnterRule

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

func (*SettingsDefContext) Eos

func (*SettingsDefContext) ExitRule

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

func (*SettingsDefContext) GetParser

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

func (*SettingsDefContext) GetRuleContext

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

func (*SettingsDefContext) Identifier

func (s *SettingsDefContext) Identifier(i int) antlr.TerminalNode

func (*SettingsDefContext) IsSettingsDefContext

func (*SettingsDefContext) IsSettingsDefContext()

func (*SettingsDefContext) LBRACE

func (s *SettingsDefContext) LBRACE() antlr.TerminalNode

func (*SettingsDefContext) Literal

func (s *SettingsDefContext) Literal(i int) ILiteralContext

func (*SettingsDefContext) RBRACE

func (s *SettingsDefContext) RBRACE() antlr.TerminalNode

func (*SettingsDefContext) SETTINGS

func (s *SettingsDefContext) SETTINGS() antlr.TerminalNode

func (*SettingsDefContext) ToStringTree

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

type SimpleStmtContext

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

func NewEmptySimpleStmtContext

func NewEmptySimpleStmtContext() *SimpleStmtContext

func NewSimpleStmtContext

func NewSimpleStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SimpleStmtContext

func (*SimpleStmtContext) Assignment

func (s *SimpleStmtContext) Assignment() IAssignmentContext

func (*SimpleStmtContext) EnterRule

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

func (*SimpleStmtContext) ExitRule

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

func (*SimpleStmtContext) Expr

func (s *SimpleStmtContext) Expr() IExprContext

func (*SimpleStmtContext) GetParser

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

func (*SimpleStmtContext) GetRuleContext

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

func (*SimpleStmtContext) IncDecStmt

func (s *SimpleStmtContext) IncDecStmt() IIncDecStmtContext

func (*SimpleStmtContext) IsSimpleStmtContext

func (*SimpleStmtContext) IsSimpleStmtContext()

func (*SimpleStmtContext) ToStringTree

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

type SliceExprContext

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

func NewEmptySliceExprContext

func NewEmptySliceExprContext() *SliceExprContext

func NewSliceExprContext

func NewSliceExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SliceExprContext

func (*SliceExprContext) AllExpr

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

func (*SliceExprContext) COLON

func (s *SliceExprContext) COLON() antlr.TerminalNode

func (*SliceExprContext) EnterRule

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

func (*SliceExprContext) ExitRule

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

func (*SliceExprContext) Expr

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

func (*SliceExprContext) GetHigh

func (s *SliceExprContext) GetHigh() IExprContext

func (*SliceExprContext) GetLow

func (s *SliceExprContext) GetLow() IExprContext

func (*SliceExprContext) GetParser

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

func (*SliceExprContext) GetRuleContext

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

func (*SliceExprContext) IsSliceExprContext

func (*SliceExprContext) IsSliceExprContext()

func (*SliceExprContext) LBRACK

func (s *SliceExprContext) LBRACK() antlr.TerminalNode

func (*SliceExprContext) RBRACK

func (s *SliceExprContext) RBRACK() antlr.TerminalNode

func (*SliceExprContext) SetHigh

func (s *SliceExprContext) SetHigh(v IExprContext)

func (*SliceExprContext) SetLow

func (s *SliceExprContext) SetLow(v IExprContext)

func (*SliceExprContext) ToStringTree

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

type SourceMainContext

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

func NewEmptySourceMainContext

func NewEmptySourceMainContext() *SourceMainContext

func NewSourceMainContext

func NewSourceMainContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SourceMainContext

func (*SourceMainContext) AllContractDef

func (s *SourceMainContext) AllContractDef() []IContractDefContext

func (*SourceMainContext) AllEos

func (s *SourceMainContext) AllEos() []IEosContext

func (*SourceMainContext) AllFuncDef

func (s *SourceMainContext) AllFuncDef() []IFuncDefContext

func (*SourceMainContext) ContractDef

func (s *SourceMainContext) ContractDef(i int) IContractDefContext

func (*SourceMainContext) EOF

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

func (*SourceMainContext) EnterRule

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

func (*SourceMainContext) Eos

func (s *SourceMainContext) Eos(i int) IEosContext

func (*SourceMainContext) ExitRule

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

func (*SourceMainContext) FuncDef

func (s *SourceMainContext) FuncDef(i int) IFuncDefContext

func (*SourceMainContext) GetParser

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

func (*SourceMainContext) GetRuleContext

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

func (*SourceMainContext) IsSourceMainContext

func (*SourceMainContext) IsSourceMainContext()

func (*SourceMainContext) ToStringTree

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

type StatementContext

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

func NewEmptyStatementContext

func NewEmptyStatementContext() *StatementContext

func NewStatementContext

func NewStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StatementContext

func (*StatementContext) Block

func (s *StatementContext) Block() IBlockContext

func (*StatementContext) BreakStmt

func (s *StatementContext) BreakStmt() IBreakStmtContext

func (*StatementContext) ContinueStmt

func (s *StatementContext) ContinueStmt() IContinueStmtContext

func (*StatementContext) EnterRule

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

func (*StatementContext) ErrorStmt

func (s *StatementContext) ErrorStmt() IErrorStmtContext

func (*StatementContext) ExitRule

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

func (*StatementContext) GetParser

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

func (*StatementContext) GetRuleContext

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

func (*StatementContext) IfStmt

func (s *StatementContext) IfStmt() IIfStmtContext

func (*StatementContext) IsStatementContext

func (*StatementContext) IsStatementContext()

func (*StatementContext) ReturnStmt

func (s *StatementContext) ReturnStmt() IReturnStmtContext

func (*StatementContext) SimpleStmt

func (s *StatementContext) SimpleStmt() ISimpleStmtContext

func (*StatementContext) ToStringTree

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

func (*StatementContext) VarDef

func (s *StatementContext) VarDef() IVarDefContext

func (*StatementContext) WhileStmt

func (s *StatementContext) WhileStmt() IWhileStmtContext

type StatementListContext

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

func NewEmptyStatementListContext

func NewEmptyStatementListContext() *StatementListContext

func NewStatementListContext

func NewStatementListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StatementListContext

func (*StatementListContext) AllEOS

func (s *StatementListContext) AllEOS() []antlr.TerminalNode

func (*StatementListContext) AllEos

func (s *StatementListContext) AllEos() []IEosContext

func (*StatementListContext) AllSEMI

func (s *StatementListContext) AllSEMI() []antlr.TerminalNode

func (*StatementListContext) AllStatement

func (s *StatementListContext) AllStatement() []IStatementContext

func (*StatementListContext) EOS

func (s *StatementListContext) EOS(i int) antlr.TerminalNode

func (*StatementListContext) EnterRule

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

func (*StatementListContext) Eos

func (*StatementListContext) ExitRule

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

func (*StatementListContext) GetParser

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

func (*StatementListContext) GetRuleContext

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

func (*StatementListContext) IsStatementListContext

func (*StatementListContext) IsStatementListContext()

func (*StatementListContext) SEMI

func (s *StatementListContext) SEMI(i int) antlr.TerminalNode

func (*StatementListContext) Statement

func (s *StatementListContext) Statement(i int) IStatementContext

func (*StatementListContext) ToStringTree

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

type StringLiteralContext

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

func NewEmptyStringLiteralContext

func NewEmptyStringLiteralContext() *StringLiteralContext

func NewStringLiteralContext

func NewStringLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringLiteralContext

func (*StringLiteralContext) EnterRule

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

func (*StringLiteralContext) ExitRule

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

func (*StringLiteralContext) GetParser

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

func (*StringLiteralContext) GetRuleContext

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

func (*StringLiteralContext) InterpretedStringLiteral

func (s *StringLiteralContext) InterpretedStringLiteral() antlr.TerminalNode

func (*StringLiteralContext) IsStringLiteralContext

func (*StringLiteralContext) IsStringLiteralContext()

func (*StringLiteralContext) RawStringLiteral

func (s *StringLiteralContext) RawStringLiteral() antlr.TerminalNode

func (*StringLiteralContext) ToStringTree

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

type TypeNameContext

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

func NewEmptyTypeNameContext

func NewEmptyTypeNameContext() *TypeNameContext

func NewTypeNameContext

func NewTypeNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeNameContext

func (*TypeNameContext) ADDRESS

func (s *TypeNameContext) ADDRESS() antlr.TerminalNode

func (*TypeNameContext) ARRAY

func (s *TypeNameContext) ARRAY() antlr.TerminalNode

func (*TypeNameContext) BOOL

func (s *TypeNameContext) BOOL() antlr.TerminalNode

func (*TypeNameContext) BYTES

func (s *TypeNameContext) BYTES() antlr.TerminalNode

func (*TypeNameContext) EnterRule

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

func (*TypeNameContext) ExitRule

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

func (*TypeNameContext) FILE

func (s *TypeNameContext) FILE() antlr.TerminalNode

func (*TypeNameContext) FLOAT

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

func (*TypeNameContext) GetParser

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

func (*TypeNameContext) GetRuleContext

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

func (*TypeNameContext) INT

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

func (*TypeNameContext) IsTypeNameContext

func (*TypeNameContext) IsTypeNameContext()

func (*TypeNameContext) MAP

func (s *TypeNameContext) MAP() antlr.TerminalNode

func (*TypeNameContext) MONEY

func (s *TypeNameContext) MONEY() antlr.TerminalNode

func (*TypeNameContext) STRING

func (s *TypeNameContext) STRING() antlr.TerminalNode

func (*TypeNameContext) ToStringTree

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

type Unary_opContext

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

func NewEmptyUnary_opContext

func NewEmptyUnary_opContext() *Unary_opContext

func NewUnary_opContext

func NewUnary_opContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Unary_opContext

func (*Unary_opContext) ADD

func (s *Unary_opContext) ADD() antlr.TerminalNode

func (*Unary_opContext) EnterRule

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

func (*Unary_opContext) ExitRule

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

func (*Unary_opContext) GetParser

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

func (*Unary_opContext) GetRuleContext

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

func (*Unary_opContext) IsUnary_opContext

func (*Unary_opContext) IsUnary_opContext()

func (*Unary_opContext) NOT

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

func (*Unary_opContext) SUB

func (s *Unary_opContext) SUB() antlr.TerminalNode

func (*Unary_opContext) ToStringTree

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

type VarDefContext

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

func NewEmptyVarDefContext

func NewEmptyVarDefContext() *VarDefContext

func NewVarDefContext

func NewVarDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarDefContext

func (*VarDefContext) EnterRule

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

func (*VarDefContext) ExitRule

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

func (*VarDefContext) GetParser

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

func (*VarDefContext) GetRuleContext

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

func (*VarDefContext) IsVarDefContext

func (*VarDefContext) IsVarDefContext()

func (*VarDefContext) Parameter

func (s *VarDefContext) Parameter() IParameterContext

func (*VarDefContext) ToStringTree

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

func (*VarDefContext) VAR

func (s *VarDefContext) VAR() antlr.TerminalNode

type WhileStmtContext

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

func NewEmptyWhileStmtContext

func NewEmptyWhileStmtContext() *WhileStmtContext

func NewWhileStmtContext

func NewWhileStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *WhileStmtContext

func (*WhileStmtContext) Block

func (s *WhileStmtContext) Block() IBlockContext

func (*WhileStmtContext) EnterRule

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

func (*WhileStmtContext) ExitRule

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

func (*WhileStmtContext) Expr

func (s *WhileStmtContext) Expr() IExprContext

func (*WhileStmtContext) GetParser

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

func (*WhileStmtContext) GetRuleContext

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

func (*WhileStmtContext) IsWhileStmtContext

func (*WhileStmtContext) IsWhileStmtContext()

func (*WhileStmtContext) ToStringTree

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

func (*WhileStmtContext) WHILE

func (s *WhileStmtContext) WHILE() antlr.TerminalNode

Jump to

Keyboard shortcuts

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