Versions in this module Expand all Collapse all v0 v0.0.2 Sep 11, 2025 v0.0.1 Sep 10, 2025 Changes in this version + const VLexerCOMMA + const VLexerEQUAL + const VLexerFLOAT + const VLexerGREATER_OR_EQUAL + const VLexerGREATER_THAN + const VLexerIDENTIFIER + const VLexerINTEGER + const VLexerKW_DOLLAR + const VLexerKW_NIL + const VLexerLEFT_PAREN + const VLexerLESS_OR_EQUAL + const VLexerLESS_THAN + const VLexerLOGICAL_AND + const VLexerLOGICAL_NOT + const VLexerLOGICAL_OR + const VLexerNOT_EQUAL + const VLexerRIGHT_PAREN + const VLexerSTRING + const VLexerWHITESPACE + const VLexerWS_CHAN + const VParserCOMMA + const VParserEOF + const VParserEQUAL + const VParserFLOAT + const VParserGREATER_OR_EQUAL + const VParserGREATER_THAN + const VParserIDENTIFIER + const VParserINTEGER + const VParserKW_DOLLAR + const VParserKW_NIL + const VParserLEFT_PAREN + const VParserLESS_OR_EQUAL + const VParserLESS_THAN + const VParserLOGICAL_AND + const VParserLOGICAL_NOT + const VParserLOGICAL_OR + const VParserNOT_EQUAL + const VParserRIGHT_PAREN + const VParserRULE_equalityExpr + const VParserRULE_functionCall + const VParserRULE_logicalAndExpr + const VParserRULE_logicalOrExpr + const VParserRULE_primaryExpr + const VParserRULE_relationalExpr + const VParserRULE_unaryExpr + const VParserRULE_validateExpr + const VParserSTRING + const VParserWHITESPACE + var VLexerLexerStaticData struct + var VParserParserStaticData struct + func InitEmptyEqualityExprContext(p *EqualityExprContext) + func InitEmptyFunctionCallContext(p *FunctionCallContext) + func InitEmptyLogicalAndExprContext(p *LogicalAndExprContext) + func InitEmptyLogicalOrExprContext(p *LogicalOrExprContext) + func InitEmptyPrimaryExprContext(p *PrimaryExprContext) + func InitEmptyRelationalExprContext(p *RelationalExprContext) + func InitEmptyUnaryExprContext(p *UnaryExprContext) + func InitEmptyValidateExprContext(p *ValidateExprContext) + func VLexerInit() + func VParserInit() + type BaseVParserListener struct + func (s *BaseVParserListener) EnterEqualityExpr(ctx *EqualityExprContext) + func (s *BaseVParserListener) EnterEveryRule(ctx antlr.ParserRuleContext) + func (s *BaseVParserListener) EnterFunctionCall(ctx *FunctionCallContext) + func (s *BaseVParserListener) EnterLogicalAndExpr(ctx *LogicalAndExprContext) + func (s *BaseVParserListener) EnterLogicalOrExpr(ctx *LogicalOrExprContext) + func (s *BaseVParserListener) EnterPrimaryExpr(ctx *PrimaryExprContext) + func (s *BaseVParserListener) EnterRelationalExpr(ctx *RelationalExprContext) + func (s *BaseVParserListener) EnterUnaryExpr(ctx *UnaryExprContext) + func (s *BaseVParserListener) EnterValidateExpr(ctx *ValidateExprContext) + func (s *BaseVParserListener) ExitEqualityExpr(ctx *EqualityExprContext) + func (s *BaseVParserListener) ExitEveryRule(ctx antlr.ParserRuleContext) + func (s *BaseVParserListener) ExitFunctionCall(ctx *FunctionCallContext) + func (s *BaseVParserListener) ExitLogicalAndExpr(ctx *LogicalAndExprContext) + func (s *BaseVParserListener) ExitLogicalOrExpr(ctx *LogicalOrExprContext) + func (s *BaseVParserListener) ExitPrimaryExpr(ctx *PrimaryExprContext) + func (s *BaseVParserListener) ExitRelationalExpr(ctx *RelationalExprContext) + func (s *BaseVParserListener) ExitUnaryExpr(ctx *UnaryExprContext) + func (s *BaseVParserListener) ExitValidateExpr(ctx *ValidateExprContext) + func (s *BaseVParserListener) VisitErrorNode(node antlr.ErrorNode) + func (s *BaseVParserListener) VisitTerminal(node antlr.TerminalNode) + type BinaryExpr struct + Left Expr + Op string + Right Expr + func (e BinaryExpr) Text() string + type EqualityExprContext struct + func NewEmptyEqualityExprContext() *EqualityExprContext + func NewEqualityExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EqualityExprContext + func (*EqualityExprContext) IsEqualityExprContext() + func (s *EqualityExprContext) AllRelationalExpr() []IRelationalExprContext + func (s *EqualityExprContext) EQUAL() antlr.TerminalNode + func (s *EqualityExprContext) EnterRule(listener antlr.ParseTreeListener) + func (s *EqualityExprContext) ExitRule(listener antlr.ParseTreeListener) + func (s *EqualityExprContext) GetParser() antlr.Parser + func (s *EqualityExprContext) GetRuleContext() antlr.RuleContext + func (s *EqualityExprContext) NOT_EQUAL() antlr.TerminalNode + func (s *EqualityExprContext) RelationalExpr(i int) IRelationalExprContext + func (s *EqualityExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + type ErrorListener struct + func (l *ErrorListener) SyntaxError(_ antlr.Recognizer, _ any, line, column int, msg string, ...) + type Expr interface + Text func() string + func Parse(s string) (expr Expr, err error) + type FuncCall struct + Args []Expr + Name string + func (f FuncCall) Text() string + type FunctionCallContext struct + func NewEmptyFunctionCallContext() *FunctionCallContext + func NewFunctionCallContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionCallContext + func (*FunctionCallContext) IsFunctionCallContext() + func (s *FunctionCallContext) AllCOMMA() []antlr.TerminalNode + func (s *FunctionCallContext) AllValidateExpr() []IValidateExprContext + func (s *FunctionCallContext) COMMA(i int) antlr.TerminalNode + func (s *FunctionCallContext) EnterRule(listener antlr.ParseTreeListener) + func (s *FunctionCallContext) ExitRule(listener antlr.ParseTreeListener) + func (s *FunctionCallContext) GetParser() antlr.Parser + func (s *FunctionCallContext) GetRuleContext() antlr.RuleContext + func (s *FunctionCallContext) IDENTIFIER() antlr.TerminalNode + func (s *FunctionCallContext) LEFT_PAREN() antlr.TerminalNode + func (s *FunctionCallContext) RIGHT_PAREN() antlr.TerminalNode + func (s *FunctionCallContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + func (s *FunctionCallContext) ValidateExpr(i int) IValidateExprContext + type IEqualityExprContext interface + AllRelationalExpr func() []IRelationalExprContext + EQUAL func() antlr.TerminalNode + GetParser func() antlr.Parser + IsEqualityExprContext func() + NOT_EQUAL func() antlr.TerminalNode + RelationalExpr func(i int) IRelationalExprContext + type IFunctionCallContext interface + AllCOMMA func() []antlr.TerminalNode + AllValidateExpr func() []IValidateExprContext + COMMA func(i int) antlr.TerminalNode + GetParser func() antlr.Parser + IDENTIFIER func() antlr.TerminalNode + IsFunctionCallContext func() + LEFT_PAREN func() antlr.TerminalNode + RIGHT_PAREN func() antlr.TerminalNode + ValidateExpr func(i int) IValidateExprContext + type ILogicalAndExprContext interface + AllEqualityExpr func() []IEqualityExprContext + EqualityExpr func(i int) IEqualityExprContext + GetParser func() antlr.Parser + IsLogicalAndExprContext func() + LOGICAL_AND func() antlr.TerminalNode + type ILogicalOrExprContext interface + AllLogicalAndExpr func() []ILogicalAndExprContext + GetParser func() antlr.Parser + IsLogicalOrExprContext func() + LOGICAL_OR func() antlr.TerminalNode + LogicalAndExpr func(i int) ILogicalAndExprContext + type IPrimaryExprContext interface + FLOAT func() antlr.TerminalNode + FunctionCall func() IFunctionCallContext + GetParser func() antlr.Parser + IDENTIFIER func() antlr.TerminalNode + INTEGER func() antlr.TerminalNode + IsPrimaryExprContext func() + KW_DOLLAR func() antlr.TerminalNode + KW_NIL func() antlr.TerminalNode + LEFT_PAREN func() antlr.TerminalNode + RIGHT_PAREN func() antlr.TerminalNode + STRING func() antlr.TerminalNode + ValidateExpr func() IValidateExprContext + type IRelationalExprContext interface + AllUnaryExpr func() []IUnaryExprContext + GREATER_OR_EQUAL func() antlr.TerminalNode + GREATER_THAN func() antlr.TerminalNode + GetParser func() antlr.Parser + IsRelationalExprContext func() + LESS_OR_EQUAL func() antlr.TerminalNode + LESS_THAN func() antlr.TerminalNode + UnaryExpr func(i int) IUnaryExprContext + type IUnaryExprContext interface + GetParser func() antlr.Parser + IsUnaryExprContext func() + LOGICAL_NOT func() antlr.TerminalNode + PrimaryExpr func() IPrimaryExprContext + UnaryExpr func() IUnaryExprContext + type IValidateExprContext interface + GetParser func() antlr.Parser + IsValidateExprContext func() + LogicalOrExpr func() ILogicalOrExprContext + type InnerExpr struct + Expr Expr + func (e InnerExpr) Text() string + type LogicalAndExprContext struct + func NewEmptyLogicalAndExprContext() *LogicalAndExprContext + func NewLogicalAndExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LogicalAndExprContext + func (*LogicalAndExprContext) IsLogicalAndExprContext() + func (s *LogicalAndExprContext) AllEqualityExpr() []IEqualityExprContext + func (s *LogicalAndExprContext) EnterRule(listener antlr.ParseTreeListener) + func (s *LogicalAndExprContext) EqualityExpr(i int) IEqualityExprContext + func (s *LogicalAndExprContext) ExitRule(listener antlr.ParseTreeListener) + func (s *LogicalAndExprContext) GetParser() antlr.Parser + func (s *LogicalAndExprContext) GetRuleContext() antlr.RuleContext + func (s *LogicalAndExprContext) LOGICAL_AND() antlr.TerminalNode + func (s *LogicalAndExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + type LogicalOrExprContext struct + func NewEmptyLogicalOrExprContext() *LogicalOrExprContext + func NewLogicalOrExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LogicalOrExprContext + func (*LogicalOrExprContext) IsLogicalOrExprContext() + func (s *LogicalOrExprContext) AllLogicalAndExpr() []ILogicalAndExprContext + func (s *LogicalOrExprContext) EnterRule(listener antlr.ParseTreeListener) + func (s *LogicalOrExprContext) ExitRule(listener antlr.ParseTreeListener) + func (s *LogicalOrExprContext) GetParser() antlr.Parser + func (s *LogicalOrExprContext) GetRuleContext() antlr.RuleContext + func (s *LogicalOrExprContext) LOGICAL_OR() antlr.TerminalNode + func (s *LogicalOrExprContext) LogicalAndExpr(i int) ILogicalAndExprContext + func (s *LogicalOrExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + type ParseTreeListener struct + Expr Expr + Tokens *antlr.CommonTokenStream + func (l *ParseTreeListener) ExitValidateExpr(ctx *ValidateExprContext) + type PrimaryExpr struct + Call *FuncCall + Inner *InnerExpr + Value string + func (e PrimaryExpr) Text() string + type PrimaryExprContext struct + func NewEmptyPrimaryExprContext() *PrimaryExprContext + func NewPrimaryExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PrimaryExprContext + func (*PrimaryExprContext) IsPrimaryExprContext() + func (s *PrimaryExprContext) EnterRule(listener antlr.ParseTreeListener) + func (s *PrimaryExprContext) ExitRule(listener antlr.ParseTreeListener) + func (s *PrimaryExprContext) FLOAT() antlr.TerminalNode + func (s *PrimaryExprContext) FunctionCall() IFunctionCallContext + func (s *PrimaryExprContext) GetParser() antlr.Parser + func (s *PrimaryExprContext) GetRuleContext() antlr.RuleContext + func (s *PrimaryExprContext) IDENTIFIER() antlr.TerminalNode + func (s *PrimaryExprContext) INTEGER() antlr.TerminalNode + func (s *PrimaryExprContext) KW_DOLLAR() antlr.TerminalNode + func (s *PrimaryExprContext) KW_NIL() antlr.TerminalNode + func (s *PrimaryExprContext) LEFT_PAREN() antlr.TerminalNode + func (s *PrimaryExprContext) RIGHT_PAREN() antlr.TerminalNode + func (s *PrimaryExprContext) STRING() antlr.TerminalNode + func (s *PrimaryExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + func (s *PrimaryExprContext) ValidateExpr() IValidateExprContext + type RelationalExprContext struct + func NewEmptyRelationalExprContext() *RelationalExprContext + func NewRelationalExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RelationalExprContext + func (*RelationalExprContext) IsRelationalExprContext() + func (s *RelationalExprContext) AllUnaryExpr() []IUnaryExprContext + func (s *RelationalExprContext) EnterRule(listener antlr.ParseTreeListener) + func (s *RelationalExprContext) ExitRule(listener antlr.ParseTreeListener) + func (s *RelationalExprContext) GREATER_OR_EQUAL() antlr.TerminalNode + func (s *RelationalExprContext) GREATER_THAN() antlr.TerminalNode + func (s *RelationalExprContext) GetParser() antlr.Parser + func (s *RelationalExprContext) GetRuleContext() antlr.RuleContext + func (s *RelationalExprContext) LESS_OR_EQUAL() antlr.TerminalNode + func (s *RelationalExprContext) LESS_THAN() antlr.TerminalNode + func (s *RelationalExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + func (s *RelationalExprContext) UnaryExpr(i int) IUnaryExprContext + type UnaryExpr struct + Expr Expr + Op string + func (e UnaryExpr) Text() string + type UnaryExprContext struct + func NewEmptyUnaryExprContext() *UnaryExprContext + func NewUnaryExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UnaryExprContext + func (*UnaryExprContext) IsUnaryExprContext() + func (s *UnaryExprContext) EnterRule(listener antlr.ParseTreeListener) + func (s *UnaryExprContext) ExitRule(listener antlr.ParseTreeListener) + func (s *UnaryExprContext) GetParser() antlr.Parser + func (s *UnaryExprContext) GetRuleContext() antlr.RuleContext + func (s *UnaryExprContext) LOGICAL_NOT() antlr.TerminalNode + func (s *UnaryExprContext) PrimaryExpr() IPrimaryExprContext + func (s *UnaryExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + func (s *UnaryExprContext) UnaryExpr() IUnaryExprContext + type VLexer struct + func NewVLexer(input antlr.CharStream) *VLexer + type VParser struct + func NewVParser(input antlr.TokenStream) *VParser + func (p *VParser) EqualityExpr() (localctx IEqualityExprContext) + func (p *VParser) FunctionCall() (localctx IFunctionCallContext) + func (p *VParser) LogicalAndExpr() (localctx ILogicalAndExprContext) + func (p *VParser) LogicalOrExpr() (localctx ILogicalOrExprContext) + func (p *VParser) PrimaryExpr() (localctx IPrimaryExprContext) + func (p *VParser) RelationalExpr() (localctx IRelationalExprContext) + func (p *VParser) UnaryExpr() (localctx IUnaryExprContext) + func (p *VParser) ValidateExpr() (localctx IValidateExprContext) + type VParserListener interface + EnterEqualityExpr func(c *EqualityExprContext) + EnterFunctionCall func(c *FunctionCallContext) + EnterLogicalAndExpr func(c *LogicalAndExprContext) + EnterLogicalOrExpr func(c *LogicalOrExprContext) + EnterPrimaryExpr func(c *PrimaryExprContext) + EnterRelationalExpr func(c *RelationalExprContext) + EnterUnaryExpr func(c *UnaryExprContext) + EnterValidateExpr func(c *ValidateExprContext) + ExitEqualityExpr func(c *EqualityExprContext) + ExitFunctionCall func(c *FunctionCallContext) + ExitLogicalAndExpr func(c *LogicalAndExprContext) + ExitLogicalOrExpr func(c *LogicalOrExprContext) + ExitPrimaryExpr func(c *PrimaryExprContext) + ExitRelationalExpr func(c *RelationalExprContext) + ExitUnaryExpr func(c *UnaryExprContext) + ExitValidateExpr func(c *ValidateExprContext) + type ValidateExprContext struct + func NewEmptyValidateExprContext() *ValidateExprContext + func NewValidateExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValidateExprContext + func (*ValidateExprContext) IsValidateExprContext() + func (s *ValidateExprContext) EnterRule(listener antlr.ParseTreeListener) + func (s *ValidateExprContext) ExitRule(listener antlr.ParseTreeListener) + func (s *ValidateExprContext) GetParser() antlr.Parser + func (s *ValidateExprContext) GetRuleContext() antlr.RuleContext + func (s *ValidateExprContext) LogicalOrExpr() ILogicalOrExprContext + func (s *ValidateExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string