antlr

package
v0.0.0-...-58ee2e9 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EqlLexerPLUS         = 1
	EqlLexerMINUS        = 2
	EqlLexerDIV          = 3
	EqlLexerMULT         = 4
	EqlLexerLPAREN       = 5
	EqlLexerRPAREN       = 6
	EqlLexerLCURLY       = 7
	EqlLexerRCURLY       = 8
	EqlLexerLBRACKET     = 9
	EqlLexerRBRACKET     = 10
	EqlLexerEQUAL        = 11
	EqlLexerSEMI         = 12
	EqlLexerCOLON        = 13
	EqlLexerCOMMA        = 14
	EqlLexerDOT          = 15
	EqlLexerGREATER_THAN = 16
	EqlLexerLESS_THAN    = 17
	EqlLexerDOLAR        = 18
	EqlLexerTRUE         = 19
	EqlLexerFALSE        = 20
	EqlLexerPRINT        = 21
	EqlLexerRANGE        = 22
	EqlLexerSUM          = 23
	EqlLexerABS          = 24
	EqlLexerAVG          = 25
	EqlLexerADD          = 26
	EqlLexerDIVIDE       = 27
	EqlLexerMULTIPLY     = 28
	EqlLexerEQ           = 29
	EqlLexerCONCAT       = 30
	EqlLexerGT           = 31
	EqlLexerGTE          = 32
	EqlLexerLAMBDA       = 33
	EqlLexerLT           = 34
	EqlLexerINT          = 35
	EqlLexerDECIMAL      = 36
	EqlLexerDIGIT        = 37
	EqlLexerSTRING       = 38
	EqlLexerIF           = 39
	EqlLexerALPHABET     = 40
	EqlLexerIDENT        = 41
	EqlLexerWS           = 42
	EqlLexerEOS          = 43
)

EqlLexer tokens.

View Source
const (
	EqlParserEOF          = antlr.TokenEOF
	EqlParserPLUS         = 1
	EqlParserMINUS        = 2
	EqlParserDIV          = 3
	EqlParserMULT         = 4
	EqlParserLPAREN       = 5
	EqlParserRPAREN       = 6
	EqlParserLCURLY       = 7
	EqlParserRCURLY       = 8
	EqlParserLBRACKET     = 9
	EqlParserRBRACKET     = 10
	EqlParserEQUAL        = 11
	EqlParserSEMI         = 12
	EqlParserCOLON        = 13
	EqlParserCOMMA        = 14
	EqlParserDOT          = 15
	EqlParserGREATER_THAN = 16
	EqlParserLESS_THAN    = 17
	EqlParserDOLAR        = 18
	EqlParserTRUE         = 19
	EqlParserFALSE        = 20
	EqlParserPRINT        = 21
	EqlParserRANGE        = 22
	EqlParserSUM          = 23
	EqlParserABS          = 24
	EqlParserAVG          = 25
	EqlParserADD          = 26
	EqlParserDIVIDE       = 27
	EqlParserMULTIPLY     = 28
	EqlParserEQ           = 29
	EqlParserCONCAT       = 30
	EqlParserGT           = 31
	EqlParserGTE          = 32
	EqlParserLAMBDA       = 33
	EqlParserLT           = 34
	EqlParserINT          = 35
	EqlParserDECIMAL      = 36
	EqlParserDIGIT        = 37
	EqlParserSTRING       = 38
	EqlParserIF           = 39
	EqlParserALPHABET     = 40
	EqlParserIDENT        = 41
	EqlParserWS           = 42
	EqlParserEOS          = 43
)

EqlParser tokens.

View Source
const (
	EqlParserRULE_program     = 0
	EqlParserRULE_statement   = 1
	EqlParserRULE_declarement = 2
	EqlParserRULE_function    = 3
	EqlParserRULE_loop        = 4
	EqlParserRULE_expression  = 5
	EqlParserRULE_compair     = 6
	EqlParserRULE_term        = 7
	EqlParserRULE_actionSpec  = 8
	EqlParserRULE_param       = 9
	EqlParserRULE_type        = 10
	EqlParserRULE_math        = 11
	EqlParserRULE_operator    = 12
	EqlParserRULE_logical     = 13
	EqlParserRULE_inputRange  = 14
	EqlParserRULE_cell        = 15
	EqlParserRULE_number      = 16
	EqlParserRULE_factor      = 17
)

EqlParser rules.

Variables

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

Functions

func EqlLexerInit

func EqlLexerInit()

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

func EqlParserInit

func EqlParserInit()

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

func InitEmptyActionSpecContext

func InitEmptyActionSpecContext(p *ActionSpecContext)

func InitEmptyCellContext

func InitEmptyCellContext(p *CellContext)

func InitEmptyCompairContext

func InitEmptyCompairContext(p *CompairContext)

func InitEmptyDeclarementContext

func InitEmptyDeclarementContext(p *DeclarementContext)

func InitEmptyExpressionContext

func InitEmptyExpressionContext(p *ExpressionContext)

func InitEmptyFactorContext

func InitEmptyFactorContext(p *FactorContext)

func InitEmptyFunctionContext

func InitEmptyFunctionContext(p *FunctionContext)

func InitEmptyInputRangeContext

func InitEmptyInputRangeContext(p *InputRangeContext)

func InitEmptyLogicalContext

func InitEmptyLogicalContext(p *LogicalContext)

func InitEmptyLoopContext

func InitEmptyLoopContext(p *LoopContext)

func InitEmptyMathContext

func InitEmptyMathContext(p *MathContext)

func InitEmptyNumberContext

func InitEmptyNumberContext(p *NumberContext)

func InitEmptyOperatorContext

func InitEmptyOperatorContext(p *OperatorContext)

func InitEmptyParamContext

func InitEmptyParamContext(p *ParamContext)

func InitEmptyProgramContext

func InitEmptyProgramContext(p *ProgramContext)

func InitEmptyStatementContext

func InitEmptyStatementContext(p *StatementContext)

func InitEmptyTermContext

func InitEmptyTermContext(p *TermContext)

func InitEmptyTypeContext

func InitEmptyTypeContext(p *TypeContext)

Types

type ActionSpecContext

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

func NewActionSpecContext

func NewActionSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ActionSpecContext

func NewEmptyActionSpecContext

func NewEmptyActionSpecContext() *ActionSpecContext

func (*ActionSpecContext) AllCOMMA

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

func (*ActionSpecContext) AllParam

func (s *ActionSpecContext) AllParam() []IParamContext

func (*ActionSpecContext) COMMA

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

func (*ActionSpecContext) EnterRule

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

func (*ActionSpecContext) ExitRule

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

func (*ActionSpecContext) GetParser

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

func (*ActionSpecContext) GetRuleContext

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

func (*ActionSpecContext) IsActionSpecContext

func (*ActionSpecContext) IsActionSpecContext()

func (*ActionSpecContext) LPAREN

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

func (*ActionSpecContext) Param

func (s *ActionSpecContext) Param(i int) IParamContext

func (*ActionSpecContext) RPAREN

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

func (*ActionSpecContext) ToStringTree

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

func (*ActionSpecContext) Type_

func (s *ActionSpecContext) Type_() ITypeContext

type BaseEqlParserListener

type BaseEqlParserListener struct{}

BaseEqlParserListener is a complete listener for a parse tree produced by EqlParser.

func (*BaseEqlParserListener) EnterActionSpec

func (s *BaseEqlParserListener) EnterActionSpec(ctx *ActionSpecContext)

EnterActionSpec is called when production actionSpec is entered.

func (*BaseEqlParserListener) EnterCell

func (s *BaseEqlParserListener) EnterCell(ctx *CellContext)

EnterCell is called when production cell is entered.

func (*BaseEqlParserListener) EnterCompair

func (s *BaseEqlParserListener) EnterCompair(ctx *CompairContext)

EnterCompair is called when production compair is entered.

func (*BaseEqlParserListener) EnterDeclarement

func (s *BaseEqlParserListener) EnterDeclarement(ctx *DeclarementContext)

EnterDeclarement is called when production declarement is entered.

func (*BaseEqlParserListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseEqlParserListener) EnterExpression

func (s *BaseEqlParserListener) EnterExpression(ctx *ExpressionContext)

EnterExpression is called when production expression is entered.

func (*BaseEqlParserListener) EnterFactor

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

EnterFactor is called when production factor is entered.

func (*BaseEqlParserListener) EnterFunction

func (s *BaseEqlParserListener) EnterFunction(ctx *FunctionContext)

EnterFunction is called when production function is entered.

func (*BaseEqlParserListener) EnterInputRange

func (s *BaseEqlParserListener) EnterInputRange(ctx *InputRangeContext)

EnterInputRange is called when production inputRange is entered.

func (*BaseEqlParserListener) EnterLogical

func (s *BaseEqlParserListener) EnterLogical(ctx *LogicalContext)

EnterLogical is called when production logical is entered.

func (*BaseEqlParserListener) EnterLoop

func (s *BaseEqlParserListener) EnterLoop(ctx *LoopContext)

EnterLoop is called when production loop is entered.

func (*BaseEqlParserListener) EnterMath

func (s *BaseEqlParserListener) EnterMath(ctx *MathContext)

EnterMath is called when production math is entered.

func (*BaseEqlParserListener) EnterNumber

func (s *BaseEqlParserListener) EnterNumber(ctx *NumberContext)

EnterNumber is called when production number is entered.

func (*BaseEqlParserListener) EnterOperator

func (s *BaseEqlParserListener) EnterOperator(ctx *OperatorContext)

EnterOperator is called when production operator is entered.

func (*BaseEqlParserListener) EnterParam

func (s *BaseEqlParserListener) EnterParam(ctx *ParamContext)

EnterParam is called when production param is entered.

func (*BaseEqlParserListener) EnterProgram

func (s *BaseEqlParserListener) EnterProgram(ctx *ProgramContext)

EnterProgram is called when production program is entered.

func (*BaseEqlParserListener) EnterStatement

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

EnterStatement is called when production statement is entered.

func (*BaseEqlParserListener) EnterTerm

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

EnterTerm is called when production term is entered.

func (*BaseEqlParserListener) EnterType

func (s *BaseEqlParserListener) EnterType(ctx *TypeContext)

EnterType is called when production type is entered.

func (*BaseEqlParserListener) ExitActionSpec

func (s *BaseEqlParserListener) ExitActionSpec(ctx *ActionSpecContext)

ExitActionSpec is called when production actionSpec is exited.

func (*BaseEqlParserListener) ExitCell

func (s *BaseEqlParserListener) ExitCell(ctx *CellContext)

ExitCell is called when production cell is exited.

func (*BaseEqlParserListener) ExitCompair

func (s *BaseEqlParserListener) ExitCompair(ctx *CompairContext)

ExitCompair is called when production compair is exited.

func (*BaseEqlParserListener) ExitDeclarement

func (s *BaseEqlParserListener) ExitDeclarement(ctx *DeclarementContext)

ExitDeclarement is called when production declarement is exited.

func (*BaseEqlParserListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseEqlParserListener) ExitExpression

func (s *BaseEqlParserListener) ExitExpression(ctx *ExpressionContext)

ExitExpression is called when production expression is exited.

func (*BaseEqlParserListener) ExitFactor

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

ExitFactor is called when production factor is exited.

func (*BaseEqlParserListener) ExitFunction

func (s *BaseEqlParserListener) ExitFunction(ctx *FunctionContext)

ExitFunction is called when production function is exited.

func (*BaseEqlParserListener) ExitInputRange

func (s *BaseEqlParserListener) ExitInputRange(ctx *InputRangeContext)

ExitInputRange is called when production inputRange is exited.

func (*BaseEqlParserListener) ExitLogical

func (s *BaseEqlParserListener) ExitLogical(ctx *LogicalContext)

ExitLogical is called when production logical is exited.

func (*BaseEqlParserListener) ExitLoop

func (s *BaseEqlParserListener) ExitLoop(ctx *LoopContext)

ExitLoop is called when production loop is exited.

func (*BaseEqlParserListener) ExitMath

func (s *BaseEqlParserListener) ExitMath(ctx *MathContext)

ExitMath is called when production math is exited.

func (*BaseEqlParserListener) ExitNumber

func (s *BaseEqlParserListener) ExitNumber(ctx *NumberContext)

ExitNumber is called when production number is exited.

func (*BaseEqlParserListener) ExitOperator

func (s *BaseEqlParserListener) ExitOperator(ctx *OperatorContext)

ExitOperator is called when production operator is exited.

func (*BaseEqlParserListener) ExitParam

func (s *BaseEqlParserListener) ExitParam(ctx *ParamContext)

ExitParam is called when production param is exited.

func (*BaseEqlParserListener) ExitProgram

func (s *BaseEqlParserListener) ExitProgram(ctx *ProgramContext)

ExitProgram is called when production program is exited.

func (*BaseEqlParserListener) ExitStatement

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

ExitStatement is called when production statement is exited.

func (*BaseEqlParserListener) ExitTerm

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

ExitTerm is called when production term is exited.

func (*BaseEqlParserListener) ExitType

func (s *BaseEqlParserListener) ExitType(ctx *TypeContext)

ExitType is called when production type is exited.

func (*BaseEqlParserListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseEqlParserListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type CellContext

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

func NewCellContext

func NewCellContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CellContext

func NewEmptyCellContext

func NewEmptyCellContext() *CellContext

func (*CellContext) ALPHABET

func (s *CellContext) ALPHABET() antlr.TerminalNode

func (*CellContext) EnterRule

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

func (*CellContext) ExitRule

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

func (*CellContext) GetParser

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

func (*CellContext) GetRuleContext

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

func (*CellContext) INT

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

func (*CellContext) IsCellContext

func (*CellContext) IsCellContext()

func (*CellContext) ToStringTree

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

type CompairContext

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

func NewCompairContext

func NewCompairContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CompairContext

func NewEmptyCompairContext

func NewEmptyCompairContext() *CompairContext

func (*CompairContext) EQUAL

func (s *CompairContext) EQUAL() antlr.TerminalNode

func (*CompairContext) EnterRule

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

func (*CompairContext) ExitRule

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

func (*CompairContext) GREATER_THAN

func (s *CompairContext) GREATER_THAN() antlr.TerminalNode

func (*CompairContext) GetParser

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

func (*CompairContext) GetRuleContext

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

func (*CompairContext) IsCompairContext

func (*CompairContext) IsCompairContext()

func (*CompairContext) LESS_THAN

func (s *CompairContext) LESS_THAN() antlr.TerminalNode

func (*CompairContext) ToStringTree

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

type DeclarementContext

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

func NewDeclarementContext

func NewDeclarementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DeclarementContext

func NewEmptyDeclarementContext

func NewEmptyDeclarementContext() *DeclarementContext

func (*DeclarementContext) Cell

func (s *DeclarementContext) Cell() ICellContext

func (*DeclarementContext) EQUAL

func (s *DeclarementContext) EQUAL() antlr.TerminalNode

func (*DeclarementContext) EnterRule

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

func (*DeclarementContext) ExitRule

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

func (*DeclarementContext) Expression

func (s *DeclarementContext) Expression() IExpressionContext

func (*DeclarementContext) GetParser

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

func (*DeclarementContext) GetRuleContext

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

func (*DeclarementContext) IDENT

func (s *DeclarementContext) IDENT() antlr.TerminalNode

func (*DeclarementContext) IsDeclarementContext

func (*DeclarementContext) IsDeclarementContext()

func (*DeclarementContext) ToStringTree

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

type EqlLexer

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

func NewEqlLexer

func NewEqlLexer(input antlr.CharStream) *EqlLexer

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

type EqlParser

type EqlParser struct {
	*antlr.BaseParser
}

func NewEqlParser

func NewEqlParser(input antlr.TokenStream) *EqlParser

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

func (*EqlParser) ActionSpec

func (p *EqlParser) ActionSpec() (localctx IActionSpecContext)

func (*EqlParser) Cell

func (p *EqlParser) Cell() (localctx ICellContext)

func (*EqlParser) Compair

func (p *EqlParser) Compair() (localctx ICompairContext)

func (*EqlParser) Declarement

func (p *EqlParser) Declarement() (localctx IDeclarementContext)

func (*EqlParser) Expression

func (p *EqlParser) Expression() (localctx IExpressionContext)

func (*EqlParser) Factor

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

func (*EqlParser) Function

func (p *EqlParser) Function() (localctx IFunctionContext)

func (*EqlParser) InputRange

func (p *EqlParser) InputRange() (localctx IInputRangeContext)

func (*EqlParser) Logical

func (p *EqlParser) Logical() (localctx ILogicalContext)

func (*EqlParser) Loop

func (p *EqlParser) Loop() (localctx ILoopContext)

func (*EqlParser) Math

func (p *EqlParser) Math() (localctx IMathContext)

func (*EqlParser) Number

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

func (*EqlParser) Operator

func (p *EqlParser) Operator() (localctx IOperatorContext)

func (*EqlParser) Param

func (p *EqlParser) Param() (localctx IParamContext)

func (*EqlParser) Program

func (p *EqlParser) Program() (localctx IProgramContext)

func (*EqlParser) Statement

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

func (*EqlParser) Term

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

func (*EqlParser) Type_

func (p *EqlParser) Type_() (localctx ITypeContext)

type EqlParserListener

type EqlParserListener interface {
	antlr.ParseTreeListener

	// EnterProgram is called when entering the program production.
	EnterProgram(c *ProgramContext)

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

	// EnterDeclarement is called when entering the declarement production.
	EnterDeclarement(c *DeclarementContext)

	// EnterFunction is called when entering the function production.
	EnterFunction(c *FunctionContext)

	// EnterLoop is called when entering the loop production.
	EnterLoop(c *LoopContext)

	// EnterExpression is called when entering the expression production.
	EnterExpression(c *ExpressionContext)

	// EnterCompair is called when entering the compair production.
	EnterCompair(c *CompairContext)

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

	// EnterActionSpec is called when entering the actionSpec production.
	EnterActionSpec(c *ActionSpecContext)

	// EnterParam is called when entering the param production.
	EnterParam(c *ParamContext)

	// EnterType is called when entering the type production.
	EnterType(c *TypeContext)

	// EnterMath is called when entering the math production.
	EnterMath(c *MathContext)

	// EnterOperator is called when entering the operator production.
	EnterOperator(c *OperatorContext)

	// EnterLogical is called when entering the logical production.
	EnterLogical(c *LogicalContext)

	// EnterInputRange is called when entering the inputRange production.
	EnterInputRange(c *InputRangeContext)

	// EnterCell is called when entering the cell production.
	EnterCell(c *CellContext)

	// EnterNumber is called when entering the number production.
	EnterNumber(c *NumberContext)

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

	// ExitProgram is called when exiting the program production.
	ExitProgram(c *ProgramContext)

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

	// ExitDeclarement is called when exiting the declarement production.
	ExitDeclarement(c *DeclarementContext)

	// ExitFunction is called when exiting the function production.
	ExitFunction(c *FunctionContext)

	// ExitLoop is called when exiting the loop production.
	ExitLoop(c *LoopContext)

	// ExitExpression is called when exiting the expression production.
	ExitExpression(c *ExpressionContext)

	// ExitCompair is called when exiting the compair production.
	ExitCompair(c *CompairContext)

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

	// ExitActionSpec is called when exiting the actionSpec production.
	ExitActionSpec(c *ActionSpecContext)

	// ExitParam is called when exiting the param production.
	ExitParam(c *ParamContext)

	// ExitType is called when exiting the type production.
	ExitType(c *TypeContext)

	// ExitMath is called when exiting the math production.
	ExitMath(c *MathContext)

	// ExitOperator is called when exiting the operator production.
	ExitOperator(c *OperatorContext)

	// ExitLogical is called when exiting the logical production.
	ExitLogical(c *LogicalContext)

	// ExitInputRange is called when exiting the inputRange production.
	ExitInputRange(c *InputRangeContext)

	// ExitCell is called when exiting the cell production.
	ExitCell(c *CellContext)

	// ExitNumber is called when exiting the number production.
	ExitNumber(c *NumberContext)

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

EqlParserListener is a complete listener for a parse tree produced by EqlParser.

type ExpressionContext

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

func NewEmptyExpressionContext

func NewEmptyExpressionContext() *ExpressionContext

func NewExpressionContext

func NewExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionContext

func (*ExpressionContext) AllMINUS

func (s *ExpressionContext) AllMINUS() []antlr.TerminalNode

func (*ExpressionContext) AllPLUS

func (s *ExpressionContext) AllPLUS() []antlr.TerminalNode

func (*ExpressionContext) AllTerm

func (s *ExpressionContext) AllTerm() []ITermContext

func (*ExpressionContext) Compair

func (s *ExpressionContext) Compair() ICompairContext

func (*ExpressionContext) EnterRule

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

func (*ExpressionContext) ExitRule

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

func (*ExpressionContext) GetParser

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

func (*ExpressionContext) GetRuleContext

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

func (*ExpressionContext) IsExpressionContext

func (*ExpressionContext) IsExpressionContext()

func (*ExpressionContext) MINUS

func (s *ExpressionContext) MINUS(i int) antlr.TerminalNode

func (*ExpressionContext) PLUS

func (s *ExpressionContext) PLUS(i int) antlr.TerminalNode

func (*ExpressionContext) Term

func (s *ExpressionContext) Term(i int) ITermContext

func (*ExpressionContext) ToStringTree

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

type FactorContext

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

func NewEmptyFactorContext

func NewEmptyFactorContext() *FactorContext

func NewFactorContext

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

func (*FactorContext) ActionSpec

func (s *FactorContext) ActionSpec() IActionSpecContext

func (*FactorContext) Cell

func (s *FactorContext) Cell() ICellContext

func (*FactorContext) EnterRule

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

func (*FactorContext) ExitRule

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

func (*FactorContext) Expression

func (s *FactorContext) Expression() IExpressionContext

func (*FactorContext) FALSE

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

func (*FactorContext) GetParser

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

func (*FactorContext) GetRuleContext

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

func (*FactorContext) IDENT

func (s *FactorContext) IDENT() antlr.TerminalNode

func (*FactorContext) IsFactorContext

func (*FactorContext) IsFactorContext()

func (*FactorContext) LPAREN

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

func (*FactorContext) Number

func (s *FactorContext) Number() INumberContext

func (*FactorContext) RPAREN

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

func (*FactorContext) STRING

func (s *FactorContext) STRING() antlr.TerminalNode

func (*FactorContext) TRUE

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

func (*FactorContext) ToStringTree

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

type FunctionContext

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

func NewEmptyFunctionContext

func NewEmptyFunctionContext() *FunctionContext

func NewFunctionContext

func NewFunctionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionContext

func (*FunctionContext) EnterRule

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

func (*FunctionContext) ExitRule

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

func (*FunctionContext) Expression

func (s *FunctionContext) Expression() IExpressionContext

func (*FunctionContext) GetParser

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

func (*FunctionContext) GetRuleContext

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

func (*FunctionContext) IsFunctionContext

func (*FunctionContext) IsFunctionContext()

func (*FunctionContext) LPAREN

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

func (*FunctionContext) PRINT

func (s *FunctionContext) PRINT() antlr.TerminalNode

func (*FunctionContext) RPAREN

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

func (*FunctionContext) ToStringTree

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

type IActionSpecContext

type IActionSpecContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Type_() ITypeContext
	LPAREN() antlr.TerminalNode
	RPAREN() antlr.TerminalNode
	AllParam() []IParamContext
	Param(i int) IParamContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IActionSpecContext is an interface to support dynamic dispatch.

type ICellContext

type ICellContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	ALPHABET() antlr.TerminalNode
	INT() antlr.TerminalNode

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

ICellContext is an interface to support dynamic dispatch.

type ICompairContext

type ICompairContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	EQUAL() antlr.TerminalNode
	GREATER_THAN() antlr.TerminalNode
	LESS_THAN() antlr.TerminalNode

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

ICompairContext is an interface to support dynamic dispatch.

type IDeclarementContext

type IDeclarementContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	EQUAL() antlr.TerminalNode
	Expression() IExpressionContext
	Cell() ICellContext
	IDENT() antlr.TerminalNode

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

IDeclarementContext is an interface to support dynamic dispatch.

type IExpressionContext

type IExpressionContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllTerm() []ITermContext
	Term(i int) ITermContext
	AllPLUS() []antlr.TerminalNode
	PLUS(i int) antlr.TerminalNode
	AllMINUS() []antlr.TerminalNode
	MINUS(i int) antlr.TerminalNode
	Compair() ICompairContext

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

IExpressionContext is an interface to support dynamic dispatch.

type IFactorContext

type IFactorContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Number() INumberContext
	Cell() ICellContext
	ActionSpec() IActionSpecContext
	TRUE() antlr.TerminalNode
	FALSE() antlr.TerminalNode
	IDENT() antlr.TerminalNode
	STRING() antlr.TerminalNode
	LPAREN() antlr.TerminalNode
	Expression() IExpressionContext
	RPAREN() antlr.TerminalNode

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

IFactorContext is an interface to support dynamic dispatch.

type IFunctionContext

type IFunctionContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	PRINT() antlr.TerminalNode
	LPAREN() antlr.TerminalNode
	Expression() IExpressionContext
	RPAREN() antlr.TerminalNode

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

IFunctionContext is an interface to support dynamic dispatch.

type IInputRangeContext

type IInputRangeContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllCell() []ICellContext
	Cell(i int) ICellContext
	COLON() antlr.TerminalNode

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

IInputRangeContext is an interface to support dynamic dispatch.

type ILogicalContext

type ILogicalContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	IF() antlr.TerminalNode
	LAMBDA() antlr.TerminalNode

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

ILogicalContext is an interface to support dynamic dispatch.

type ILoopContext

type ILoopContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	LPAREN() antlr.TerminalNode
	IDENT() antlr.TerminalNode
	RANGE() antlr.TerminalNode
	InputRange() IInputRangeContext
	RPAREN() antlr.TerminalNode
	LCURLY() antlr.TerminalNode
	RCURLY() antlr.TerminalNode
	MINUS() antlr.TerminalNode
	GREATER_THAN() antlr.TerminalNode
	AllStatement() []IStatementContext
	Statement(i int) IStatementContext

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

ILoopContext is an interface to support dynamic dispatch.

type IMathContext

type IMathContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	SUM() antlr.TerminalNode
	ABS() antlr.TerminalNode

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

IMathContext is an interface to support dynamic dispatch.

type INumberContext

type INumberContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	INT() antlr.TerminalNode
	DECIMAL() antlr.TerminalNode

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

INumberContext is an interface to support dynamic dispatch.

type IOperatorContext

type IOperatorContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AVG() antlr.TerminalNode
	ADD() antlr.TerminalNode
	EQ() antlr.TerminalNode
	CONCAT() antlr.TerminalNode
	DIVIDE() antlr.TerminalNode
	MULTIPLY() antlr.TerminalNode
	GT() antlr.TerminalNode
	GTE() antlr.TerminalNode
	LT() antlr.TerminalNode

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

IOperatorContext is an interface to support dynamic dispatch.

type IParamContext

type IParamContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	InputRange() IInputRangeContext
	Expression() IExpressionContext

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

IParamContext is an interface to support dynamic dispatch.

type IProgramContext

type IProgramContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllStatement() []IStatementContext
	Statement(i int) IStatementContext

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

IProgramContext is an interface to support dynamic dispatch.

type IStatementContext

type IStatementContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Declarement() IDeclarementContext
	Expression() IExpressionContext
	Function() IFunctionContext
	Loop() ILoopContext

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

IStatementContext is an interface to support dynamic dispatch.

type ITermContext

type ITermContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllFactor() []IFactorContext
	Factor(i int) IFactorContext
	AllMULT() []antlr.TerminalNode
	MULT(i int) antlr.TerminalNode
	AllDIV() []antlr.TerminalNode
	DIV(i int) antlr.TerminalNode

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

ITermContext is an interface to support dynamic dispatch.

type ITypeContext

type ITypeContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Math() IMathContext
	Operator() IOperatorContext
	Logical() ILogicalContext

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

ITypeContext is an interface to support dynamic dispatch.

type InputRangeContext

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

func NewEmptyInputRangeContext

func NewEmptyInputRangeContext() *InputRangeContext

func NewInputRangeContext

func NewInputRangeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InputRangeContext

func (*InputRangeContext) AllCell

func (s *InputRangeContext) AllCell() []ICellContext

func (*InputRangeContext) COLON

func (s *InputRangeContext) COLON() antlr.TerminalNode

func (*InputRangeContext) Cell

func (s *InputRangeContext) Cell(i int) ICellContext

func (*InputRangeContext) EnterRule

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

func (*InputRangeContext) ExitRule

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

func (*InputRangeContext) GetParser

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

func (*InputRangeContext) GetRuleContext

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

func (*InputRangeContext) IsInputRangeContext

func (*InputRangeContext) IsInputRangeContext()

func (*InputRangeContext) ToStringTree

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

type LogicalContext

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

func NewEmptyLogicalContext

func NewEmptyLogicalContext() *LogicalContext

func NewLogicalContext

func NewLogicalContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LogicalContext

func (*LogicalContext) EnterRule

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

func (*LogicalContext) ExitRule

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

func (*LogicalContext) GetParser

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

func (*LogicalContext) GetRuleContext

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

func (*LogicalContext) IF

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

func (*LogicalContext) IsLogicalContext

func (*LogicalContext) IsLogicalContext()

func (*LogicalContext) LAMBDA

func (s *LogicalContext) LAMBDA() antlr.TerminalNode

func (*LogicalContext) ToStringTree

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

type LoopContext

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

func NewEmptyLoopContext

func NewEmptyLoopContext() *LoopContext

func NewLoopContext

func NewLoopContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LoopContext

func (*LoopContext) AllStatement

func (s *LoopContext) AllStatement() []IStatementContext

func (*LoopContext) EnterRule

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

func (*LoopContext) ExitRule

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

func (*LoopContext) GREATER_THAN

func (s *LoopContext) GREATER_THAN() antlr.TerminalNode

func (*LoopContext) GetParser

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

func (*LoopContext) GetRuleContext

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

func (*LoopContext) IDENT

func (s *LoopContext) IDENT() antlr.TerminalNode

func (*LoopContext) InputRange

func (s *LoopContext) InputRange() IInputRangeContext

func (*LoopContext) IsLoopContext

func (*LoopContext) IsLoopContext()

func (*LoopContext) LCURLY

func (s *LoopContext) LCURLY() antlr.TerminalNode

func (*LoopContext) LPAREN

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

func (*LoopContext) MINUS

func (s *LoopContext) MINUS() antlr.TerminalNode

func (*LoopContext) RANGE

func (s *LoopContext) RANGE() antlr.TerminalNode

func (*LoopContext) RCURLY

func (s *LoopContext) RCURLY() antlr.TerminalNode

func (*LoopContext) RPAREN

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

func (*LoopContext) Statement

func (s *LoopContext) Statement(i int) IStatementContext

func (*LoopContext) ToStringTree

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

type MathContext

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

func NewEmptyMathContext

func NewEmptyMathContext() *MathContext

func NewMathContext

func NewMathContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MathContext

func (*MathContext) ABS

func (s *MathContext) ABS() antlr.TerminalNode

func (*MathContext) EnterRule

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

func (*MathContext) ExitRule

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

func (*MathContext) GetParser

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

func (*MathContext) GetRuleContext

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

func (*MathContext) IsMathContext

func (*MathContext) IsMathContext()

func (*MathContext) SUM

func (s *MathContext) SUM() antlr.TerminalNode

func (*MathContext) ToStringTree

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

type NumberContext

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

func NewEmptyNumberContext

func NewEmptyNumberContext() *NumberContext

func NewNumberContext

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

func (*NumberContext) DECIMAL

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

func (*NumberContext) EnterRule

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

func (*NumberContext) ExitRule

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

func (*NumberContext) GetParser

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

func (*NumberContext) GetRuleContext

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

func (*NumberContext) INT

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

func (*NumberContext) IsNumberContext

func (*NumberContext) IsNumberContext()

func (*NumberContext) ToStringTree

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

type OperatorContext

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

func NewEmptyOperatorContext

func NewEmptyOperatorContext() *OperatorContext

func NewOperatorContext

func NewOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperatorContext

func (*OperatorContext) ADD

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

func (*OperatorContext) AVG

func (s *OperatorContext) AVG() antlr.TerminalNode

func (*OperatorContext) CONCAT

func (s *OperatorContext) CONCAT() antlr.TerminalNode

func (*OperatorContext) DIVIDE

func (s *OperatorContext) DIVIDE() antlr.TerminalNode

func (*OperatorContext) EQ

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

func (*OperatorContext) EnterRule

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

func (*OperatorContext) ExitRule

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

func (*OperatorContext) GT

func (s *OperatorContext) GT() antlr.TerminalNode

func (*OperatorContext) GTE

func (s *OperatorContext) GTE() antlr.TerminalNode

func (*OperatorContext) GetParser

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

func (*OperatorContext) GetRuleContext

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

func (*OperatorContext) IsOperatorContext

func (*OperatorContext) IsOperatorContext()

func (*OperatorContext) LT

func (s *OperatorContext) LT() antlr.TerminalNode

func (*OperatorContext) MULTIPLY

func (s *OperatorContext) MULTIPLY() antlr.TerminalNode

func (*OperatorContext) ToStringTree

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

type ParamContext

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

func NewEmptyParamContext

func NewEmptyParamContext() *ParamContext

func NewParamContext

func NewParamContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParamContext

func (*ParamContext) EnterRule

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

func (*ParamContext) ExitRule

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

func (*ParamContext) Expression

func (s *ParamContext) Expression() IExpressionContext

func (*ParamContext) GetParser

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

func (*ParamContext) GetRuleContext

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

func (*ParamContext) InputRange

func (s *ParamContext) InputRange() IInputRangeContext

func (*ParamContext) IsParamContext

func (*ParamContext) IsParamContext()

func (*ParamContext) ToStringTree

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

type ProgramContext

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

func NewEmptyProgramContext

func NewEmptyProgramContext() *ProgramContext

func NewProgramContext

func NewProgramContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProgramContext

func (*ProgramContext) AllStatement

func (s *ProgramContext) AllStatement() []IStatementContext

func (*ProgramContext) EnterRule

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

func (*ProgramContext) ExitRule

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

func (*ProgramContext) GetParser

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

func (*ProgramContext) GetRuleContext

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

func (*ProgramContext) IsProgramContext

func (*ProgramContext) IsProgramContext()

func (*ProgramContext) Statement

func (s *ProgramContext) Statement(i int) IStatementContext

func (*ProgramContext) ToStringTree

func (s *ProgramContext) 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) Declarement

func (s *StatementContext) Declarement() IDeclarementContext

func (*StatementContext) EnterRule

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

func (*StatementContext) ExitRule

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

func (*StatementContext) Expression

func (s *StatementContext) Expression() IExpressionContext

func (*StatementContext) Function

func (s *StatementContext) Function() IFunctionContext

func (*StatementContext) GetParser

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

func (*StatementContext) GetRuleContext

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

func (*StatementContext) IsStatementContext

func (*StatementContext) IsStatementContext()

func (*StatementContext) Loop

func (s *StatementContext) Loop() ILoopContext

func (*StatementContext) ToStringTree

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

type TermContext

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

func NewEmptyTermContext

func NewEmptyTermContext() *TermContext

func NewTermContext

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

func (*TermContext) AllDIV

func (s *TermContext) AllDIV() []antlr.TerminalNode

func (*TermContext) AllFactor

func (s *TermContext) AllFactor() []IFactorContext

func (*TermContext) AllMULT

func (s *TermContext) AllMULT() []antlr.TerminalNode

func (*TermContext) DIV

func (s *TermContext) DIV(i int) antlr.TerminalNode

func (*TermContext) EnterRule

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

func (*TermContext) ExitRule

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

func (*TermContext) Factor

func (s *TermContext) Factor(i int) IFactorContext

func (*TermContext) GetParser

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

func (*TermContext) GetRuleContext

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

func (*TermContext) IsTermContext

func (*TermContext) IsTermContext()

func (*TermContext) MULT

func (s *TermContext) MULT(i int) antlr.TerminalNode

func (*TermContext) ToStringTree

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

type TypeContext

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

func NewEmptyTypeContext

func NewEmptyTypeContext() *TypeContext

func NewTypeContext

func NewTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeContext

func (*TypeContext) EnterRule

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

func (*TypeContext) ExitRule

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

func (*TypeContext) GetParser

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

func (*TypeContext) GetRuleContext

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

func (*TypeContext) IsTypeContext

func (*TypeContext) IsTypeContext()

func (*TypeContext) Logical

func (s *TypeContext) Logical() ILogicalContext

func (*TypeContext) Math

func (s *TypeContext) Math() IMathContext

func (*TypeContext) Operator

func (s *TypeContext) Operator() IOperatorContext

func (*TypeContext) ToStringTree

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

Jump to

Keyboard shortcuts

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