parser

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CAQLLexerDOT                 = 1
	CAQLLexerT_REGEX_MATCH       = 2
	CAQLLexerT_REGEX_NON_MATCH   = 3
	CAQLLexerT_EQ                = 4
	CAQLLexerT_NE                = 5
	CAQLLexerT_LT                = 6
	CAQLLexerT_GT                = 7
	CAQLLexerT_LE                = 8
	CAQLLexerT_GE                = 9
	CAQLLexerT_PLUS              = 10
	CAQLLexerT_MINUS             = 11
	CAQLLexerT_TIMES             = 12
	CAQLLexerT_DIV               = 13
	CAQLLexerT_MOD               = 14
	CAQLLexerT_QUESTION          = 15
	CAQLLexerT_COLON             = 16
	CAQLLexerT_SCOPE             = 17
	CAQLLexerT_RANGE             = 18
	CAQLLexerT_COMMA             = 19
	CAQLLexerT_OPEN              = 20
	CAQLLexerT_CLOSE             = 21
	CAQLLexerT_OBJECT_OPEN       = 22
	CAQLLexerT_OBJECT_CLOSE      = 23
	CAQLLexerT_ARRAY_OPEN        = 24
	CAQLLexerT_ARRAY_CLOSE       = 25
	CAQLLexerT_AGGREGATE         = 26
	CAQLLexerT_ALL               = 27
	CAQLLexerT_AND               = 28
	CAQLLexerT_ANY               = 29
	CAQLLexerT_ASC               = 30
	CAQLLexerT_COLLECT           = 31
	CAQLLexerT_DESC              = 32
	CAQLLexerT_DISTINCT          = 33
	CAQLLexerT_FALSE             = 34
	CAQLLexerT_FILTER            = 35
	CAQLLexerT_FOR               = 36
	CAQLLexerT_GRAPH             = 37
	CAQLLexerT_IN                = 38
	CAQLLexerT_INBOUND           = 39
	CAQLLexerT_INSERT            = 40
	CAQLLexerT_INTO              = 41
	CAQLLexerT_K_SHORTEST_PATHS  = 42
	CAQLLexerT_LET               = 43
	CAQLLexerT_LIKE              = 44
	CAQLLexerT_LIMIT             = 45
	CAQLLexerT_NONE              = 46
	CAQLLexerT_NOT               = 47
	CAQLLexerT_NULL              = 48
	CAQLLexerT_OR                = 49
	CAQLLexerT_OUTBOUND          = 50
	CAQLLexerT_REMOVE            = 51
	CAQLLexerT_REPLACE           = 52
	CAQLLexerT_RETURN            = 53
	CAQLLexerT_SHORTEST_PATH     = 54
	CAQLLexerT_SORT              = 55
	CAQLLexerT_TRUE              = 56
	CAQLLexerT_UPDATE            = 57
	CAQLLexerT_UPSERT            = 58
	CAQLLexerT_WITH              = 59
	CAQLLexerT_KEEP              = 60
	CAQLLexerT_COUNT             = 61
	CAQLLexerT_OPTIONS           = 62
	CAQLLexerT_PRUNE             = 63
	CAQLLexerT_SEARCH            = 64
	CAQLLexerT_TO                = 65
	CAQLLexerT_CURRENT           = 66
	CAQLLexerT_NEW               = 67
	CAQLLexerT_OLD               = 68
	CAQLLexerT_STRING            = 69
	CAQLLexerT_INT               = 70
	CAQLLexerT_FLOAT             = 71
	CAQLLexerT_PARAMETER         = 72
	CAQLLexerT_QUOTED_STRING     = 73
	CAQLLexerSINGLE_LINE_COMMENT = 74
	CAQLLexerMULTILINE_COMMENT   = 75
	CAQLLexerSPACES              = 76
	CAQLLexerUNEXPECTED_CHAR     = 77
	CAQLLexerERROR_RECONGNIGION  = 78
)

CAQLLexer tokens.

View Source
const (
	CAQLParserEOF                 = antlr.TokenEOF
	CAQLParserDOT                 = 1
	CAQLParserT_REGEX_MATCH       = 2
	CAQLParserT_REGEX_NON_MATCH   = 3
	CAQLParserT_EQ                = 4
	CAQLParserT_NE                = 5
	CAQLParserT_LT                = 6
	CAQLParserT_GT                = 7
	CAQLParserT_LE                = 8
	CAQLParserT_GE                = 9
	CAQLParserT_PLUS              = 10
	CAQLParserT_MINUS             = 11
	CAQLParserT_TIMES             = 12
	CAQLParserT_DIV               = 13
	CAQLParserT_MOD               = 14
	CAQLParserT_QUESTION          = 15
	CAQLParserT_COLON             = 16
	CAQLParserT_SCOPE             = 17
	CAQLParserT_RANGE             = 18
	CAQLParserT_COMMA             = 19
	CAQLParserT_OPEN              = 20
	CAQLParserT_CLOSE             = 21
	CAQLParserT_OBJECT_OPEN       = 22
	CAQLParserT_OBJECT_CLOSE      = 23
	CAQLParserT_ARRAY_OPEN        = 24
	CAQLParserT_ARRAY_CLOSE       = 25
	CAQLParserT_AGGREGATE         = 26
	CAQLParserT_ALL               = 27
	CAQLParserT_AND               = 28
	CAQLParserT_ANY               = 29
	CAQLParserT_ASC               = 30
	CAQLParserT_COLLECT           = 31
	CAQLParserT_DESC              = 32
	CAQLParserT_DISTINCT          = 33
	CAQLParserT_FALSE             = 34
	CAQLParserT_FILTER            = 35
	CAQLParserT_FOR               = 36
	CAQLParserT_GRAPH             = 37
	CAQLParserT_IN                = 38
	CAQLParserT_INBOUND           = 39
	CAQLParserT_INSERT            = 40
	CAQLParserT_INTO              = 41
	CAQLParserT_K_SHORTEST_PATHS  = 42
	CAQLParserT_LET               = 43
	CAQLParserT_LIKE              = 44
	CAQLParserT_LIMIT             = 45
	CAQLParserT_NONE              = 46
	CAQLParserT_NOT               = 47
	CAQLParserT_NULL              = 48
	CAQLParserT_OR                = 49
	CAQLParserT_OUTBOUND          = 50
	CAQLParserT_REMOVE            = 51
	CAQLParserT_REPLACE           = 52
	CAQLParserT_RETURN            = 53
	CAQLParserT_SHORTEST_PATH     = 54
	CAQLParserT_SORT              = 55
	CAQLParserT_TRUE              = 56
	CAQLParserT_UPDATE            = 57
	CAQLParserT_UPSERT            = 58
	CAQLParserT_WITH              = 59
	CAQLParserT_KEEP              = 60
	CAQLParserT_COUNT             = 61
	CAQLParserT_OPTIONS           = 62
	CAQLParserT_PRUNE             = 63
	CAQLParserT_SEARCH            = 64
	CAQLParserT_TO                = 65
	CAQLParserT_CURRENT           = 66
	CAQLParserT_NEW               = 67
	CAQLParserT_OLD               = 68
	CAQLParserT_STRING            = 69
	CAQLParserT_INT               = 70
	CAQLParserT_FLOAT             = 71
	CAQLParserT_PARAMETER         = 72
	CAQLParserT_QUOTED_STRING     = 73
	CAQLParserSINGLE_LINE_COMMENT = 74
	CAQLParserMULTILINE_COMMENT   = 75
	CAQLParserSPACES              = 76
	CAQLParserUNEXPECTED_CHAR     = 77
	CAQLParserERROR_RECONGNIGION  = 78
)

CAQLParser tokens.

View Source
const (
	CAQLParserRULE_parse               = 0
	CAQLParserRULE_expression          = 1
	CAQLParserRULE_operator_unary      = 2
	CAQLParserRULE_reference           = 3
	CAQLParserRULE_compound_value      = 4
	CAQLParserRULE_function_call       = 5
	CAQLParserRULE_value_literal       = 6
	CAQLParserRULE_array               = 7
	CAQLParserRULE_object              = 8
	CAQLParserRULE_object_element      = 9
	CAQLParserRULE_object_element_name = 10
)

CAQLParser rules.

View Source
const CAQLLexerERRORCHANNEL = 2

CAQLLexerERRORCHANNEL is the CAQLLexer channel.

Variables

This section is empty.

Functions

func CAQLLexerInit added in v0.10.0

func CAQLLexerInit()

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

func CAQLParserInit added in v0.10.0

func CAQLParserInit()

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

Types

type ArrayContext

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

func NewArrayContext

func NewArrayContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayContext

func NewEmptyArrayContext

func NewEmptyArrayContext() *ArrayContext

func (*ArrayContext) AllExpression

func (s *ArrayContext) AllExpression() []IExpressionContext

func (*ArrayContext) AllT_COMMA

func (s *ArrayContext) AllT_COMMA() []antlr.TerminalNode

func (*ArrayContext) EnterRule

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

func (*ArrayContext) ExitRule

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

func (*ArrayContext) Expression

func (s *ArrayContext) Expression(i int) IExpressionContext

func (*ArrayContext) GetParser

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

func (*ArrayContext) GetRuleContext

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

func (*ArrayContext) IsArrayContext

func (*ArrayContext) IsArrayContext()

func (*ArrayContext) T_ARRAY_CLOSE

func (s *ArrayContext) T_ARRAY_CLOSE() antlr.TerminalNode

func (*ArrayContext) T_ARRAY_OPEN

func (s *ArrayContext) T_ARRAY_OPEN() antlr.TerminalNode

func (*ArrayContext) T_COMMA

func (s *ArrayContext) T_COMMA(i int) antlr.TerminalNode

func (*ArrayContext) ToStringTree

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

type BaseCAQLParserListener

type BaseCAQLParserListener struct{}

BaseCAQLParserListener is a complete listener for a parse tree produced by CAQLParser.

func (*BaseCAQLParserListener) EnterArray

func (s *BaseCAQLParserListener) EnterArray(ctx *ArrayContext)

EnterArray is called when production array is entered.

func (*BaseCAQLParserListener) EnterCompound_value

func (s *BaseCAQLParserListener) EnterCompound_value(ctx *Compound_valueContext)

EnterCompound_value is called when production compound_value is entered.

func (*BaseCAQLParserListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseCAQLParserListener) EnterExpression

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

EnterExpression is called when production expression is entered.

func (*BaseCAQLParserListener) EnterFunction_call

func (s *BaseCAQLParserListener) EnterFunction_call(ctx *Function_callContext)

EnterFunction_call is called when production function_call is entered.

func (*BaseCAQLParserListener) EnterObject

func (s *BaseCAQLParserListener) EnterObject(ctx *ObjectContext)

EnterObject is called when production object is entered.

func (*BaseCAQLParserListener) EnterObject_element

func (s *BaseCAQLParserListener) EnterObject_element(ctx *Object_elementContext)

EnterObject_element is called when production object_element is entered.

func (*BaseCAQLParserListener) EnterObject_element_name

func (s *BaseCAQLParserListener) EnterObject_element_name(ctx *Object_element_nameContext)

EnterObject_element_name is called when production object_element_name is entered.

func (*BaseCAQLParserListener) EnterOperator_unary

func (s *BaseCAQLParserListener) EnterOperator_unary(ctx *Operator_unaryContext)

EnterOperator_unary is called when production operator_unary is entered.

func (*BaseCAQLParserListener) EnterParse

func (s *BaseCAQLParserListener) EnterParse(ctx *ParseContext)

EnterParse is called when production parse is entered.

func (*BaseCAQLParserListener) EnterReference

func (s *BaseCAQLParserListener) EnterReference(ctx *ReferenceContext)

EnterReference is called when production reference is entered.

func (*BaseCAQLParserListener) EnterValue_literal

func (s *BaseCAQLParserListener) EnterValue_literal(ctx *Value_literalContext)

EnterValue_literal is called when production value_literal is entered.

func (*BaseCAQLParserListener) ExitArray

func (s *BaseCAQLParserListener) ExitArray(ctx *ArrayContext)

ExitArray is called when production array is exited.

func (*BaseCAQLParserListener) ExitCompound_value

func (s *BaseCAQLParserListener) ExitCompound_value(ctx *Compound_valueContext)

ExitCompound_value is called when production compound_value is exited.

func (*BaseCAQLParserListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseCAQLParserListener) ExitExpression

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

ExitExpression is called when production expression is exited.

func (*BaseCAQLParserListener) ExitFunction_call

func (s *BaseCAQLParserListener) ExitFunction_call(ctx *Function_callContext)

ExitFunction_call is called when production function_call is exited.

func (*BaseCAQLParserListener) ExitObject

func (s *BaseCAQLParserListener) ExitObject(ctx *ObjectContext)

ExitObject is called when production object is exited.

func (*BaseCAQLParserListener) ExitObject_element

func (s *BaseCAQLParserListener) ExitObject_element(ctx *Object_elementContext)

ExitObject_element is called when production object_element is exited.

func (*BaseCAQLParserListener) ExitObject_element_name

func (s *BaseCAQLParserListener) ExitObject_element_name(ctx *Object_element_nameContext)

ExitObject_element_name is called when production object_element_name is exited.

func (*BaseCAQLParserListener) ExitOperator_unary

func (s *BaseCAQLParserListener) ExitOperator_unary(ctx *Operator_unaryContext)

ExitOperator_unary is called when production operator_unary is exited.

func (*BaseCAQLParserListener) ExitParse

func (s *BaseCAQLParserListener) ExitParse(ctx *ParseContext)

ExitParse is called when production parse is exited.

func (*BaseCAQLParserListener) ExitReference

func (s *BaseCAQLParserListener) ExitReference(ctx *ReferenceContext)

ExitReference is called when production reference is exited.

func (*BaseCAQLParserListener) ExitValue_literal

func (s *BaseCAQLParserListener) ExitValue_literal(ctx *Value_literalContext)

ExitValue_literal is called when production value_literal is exited.

func (*BaseCAQLParserListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseCAQLParserListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type CAQLLexer

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

func NewCAQLLexer

func NewCAQLLexer(input antlr.CharStream) *CAQLLexer

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

type CAQLParser

type CAQLParser struct {
	*antlr.BaseParser
}

func NewCAQLParser

func NewCAQLParser(input antlr.TokenStream) *CAQLParser

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

func (*CAQLParser) Array

func (p *CAQLParser) Array() (localctx IArrayContext)

func (*CAQLParser) Compound_value

func (p *CAQLParser) Compound_value() (localctx ICompound_valueContext)

func (*CAQLParser) Expression

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

func (*CAQLParser) Expression_Sempred

func (p *CAQLParser) Expression_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*CAQLParser) Function_call

func (p *CAQLParser) Function_call() (localctx IFunction_callContext)

func (*CAQLParser) Object

func (p *CAQLParser) Object() (localctx IObjectContext)

func (*CAQLParser) Object_element

func (p *CAQLParser) Object_element() (localctx IObject_elementContext)

func (*CAQLParser) Object_element_name

func (p *CAQLParser) Object_element_name() (localctx IObject_element_nameContext)

func (*CAQLParser) Operator_unary

func (p *CAQLParser) Operator_unary() (localctx IOperator_unaryContext)

func (*CAQLParser) Parse

func (p *CAQLParser) Parse() (localctx IParseContext)

func (*CAQLParser) Reference

func (p *CAQLParser) Reference() (localctx IReferenceContext)

func (*CAQLParser) Reference_Sempred

func (p *CAQLParser) Reference_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*CAQLParser) Sempred

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

func (*CAQLParser) Value_literal

func (p *CAQLParser) Value_literal() (localctx IValue_literalContext)

type CAQLParserListener

type CAQLParserListener interface {
	antlr.ParseTreeListener

	// EnterParse is called when entering the parse production.
	EnterParse(c *ParseContext)

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

	// EnterOperator_unary is called when entering the operator_unary production.
	EnterOperator_unary(c *Operator_unaryContext)

	// EnterReference is called when entering the reference production.
	EnterReference(c *ReferenceContext)

	// EnterCompound_value is called when entering the compound_value production.
	EnterCompound_value(c *Compound_valueContext)

	// EnterFunction_call is called when entering the function_call production.
	EnterFunction_call(c *Function_callContext)

	// EnterValue_literal is called when entering the value_literal production.
	EnterValue_literal(c *Value_literalContext)

	// EnterArray is called when entering the array production.
	EnterArray(c *ArrayContext)

	// EnterObject is called when entering the object production.
	EnterObject(c *ObjectContext)

	// EnterObject_element is called when entering the object_element production.
	EnterObject_element(c *Object_elementContext)

	// EnterObject_element_name is called when entering the object_element_name production.
	EnterObject_element_name(c *Object_element_nameContext)

	// ExitParse is called when exiting the parse production.
	ExitParse(c *ParseContext)

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

	// ExitOperator_unary is called when exiting the operator_unary production.
	ExitOperator_unary(c *Operator_unaryContext)

	// ExitReference is called when exiting the reference production.
	ExitReference(c *ReferenceContext)

	// ExitCompound_value is called when exiting the compound_value production.
	ExitCompound_value(c *Compound_valueContext)

	// ExitFunction_call is called when exiting the function_call production.
	ExitFunction_call(c *Function_callContext)

	// ExitValue_literal is called when exiting the value_literal production.
	ExitValue_literal(c *Value_literalContext)

	// ExitArray is called when exiting the array production.
	ExitArray(c *ArrayContext)

	// ExitObject is called when exiting the object production.
	ExitObject(c *ObjectContext)

	// ExitObject_element is called when exiting the object_element production.
	ExitObject_element(c *Object_elementContext)

	// ExitObject_element_name is called when exiting the object_element_name production.
	ExitObject_element_name(c *Object_element_nameContext)
}

CAQLParserListener is a complete listener for a parse tree produced by CAQLParser.

type Compound_valueContext

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

func NewCompound_valueContext

func NewCompound_valueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Compound_valueContext

func NewEmptyCompound_valueContext

func NewEmptyCompound_valueContext() *Compound_valueContext

func (*Compound_valueContext) Array

func (*Compound_valueContext) EnterRule

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

func (*Compound_valueContext) ExitRule

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

func (*Compound_valueContext) GetParser

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

func (*Compound_valueContext) GetRuleContext

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

func (*Compound_valueContext) IsCompound_valueContext

func (*Compound_valueContext) IsCompound_valueContext()

func (*Compound_valueContext) Object

func (*Compound_valueContext) ToStringTree

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

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

func (s *ExpressionContext) AllExpression() []IExpressionContext

func (*ExpressionContext) EnterRule

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

func (*ExpressionContext) ExitRule

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

func (*ExpressionContext) Expression

func (s *ExpressionContext) Expression(i int) IExpressionContext

func (*ExpressionContext) GetEq_op

func (s *ExpressionContext) GetEq_op() antlr.Token

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

func (s *ExpressionContext) Operator_unary() IOperator_unaryContext

func (*ExpressionContext) Reference

func (s *ExpressionContext) Reference() IReferenceContext

func (*ExpressionContext) SetEq_op

func (s *ExpressionContext) SetEq_op(v antlr.Token)

func (*ExpressionContext) T_ALL

func (*ExpressionContext) T_AND

func (*ExpressionContext) T_ANY

func (*ExpressionContext) T_COLON

func (s *ExpressionContext) T_COLON() antlr.TerminalNode

func (*ExpressionContext) T_DIV

func (*ExpressionContext) T_EQ

func (*ExpressionContext) T_GE

func (*ExpressionContext) T_GT

func (*ExpressionContext) T_IN

func (*ExpressionContext) T_LE

func (*ExpressionContext) T_LIKE

func (s *ExpressionContext) T_LIKE() antlr.TerminalNode

func (*ExpressionContext) T_LT

func (*ExpressionContext) T_MINUS

func (s *ExpressionContext) T_MINUS() antlr.TerminalNode

func (*ExpressionContext) T_MOD

func (*ExpressionContext) T_NE

func (*ExpressionContext) T_NONE

func (s *ExpressionContext) T_NONE() antlr.TerminalNode

func (*ExpressionContext) T_NOT

func (*ExpressionContext) T_OR

func (*ExpressionContext) T_PLUS

func (s *ExpressionContext) T_PLUS() antlr.TerminalNode

func (*ExpressionContext) T_QUESTION

func (s *ExpressionContext) T_QUESTION() antlr.TerminalNode

func (*ExpressionContext) T_RANGE

func (s *ExpressionContext) T_RANGE() antlr.TerminalNode

func (*ExpressionContext) T_REGEX_MATCH

func (s *ExpressionContext) T_REGEX_MATCH() antlr.TerminalNode

func (*ExpressionContext) T_REGEX_NON_MATCH

func (s *ExpressionContext) T_REGEX_NON_MATCH() antlr.TerminalNode

func (*ExpressionContext) T_TIMES

func (s *ExpressionContext) T_TIMES() antlr.TerminalNode

func (*ExpressionContext) ToStringTree

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

func (*ExpressionContext) Value_literal

func (s *ExpressionContext) Value_literal() IValue_literalContext

type Function_callContext

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

func NewEmptyFunction_callContext

func NewEmptyFunction_callContext() *Function_callContext

func NewFunction_callContext

func NewFunction_callContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Function_callContext

func (*Function_callContext) AllExpression

func (s *Function_callContext) AllExpression() []IExpressionContext

func (*Function_callContext) AllT_COMMA

func (s *Function_callContext) AllT_COMMA() []antlr.TerminalNode

func (*Function_callContext) EnterRule

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

func (*Function_callContext) ExitRule

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

func (*Function_callContext) Expression

func (s *Function_callContext) Expression(i int) IExpressionContext

func (*Function_callContext) GetParser

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

func (*Function_callContext) GetRuleContext

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

func (*Function_callContext) IsFunction_callContext

func (*Function_callContext) IsFunction_callContext()

func (*Function_callContext) T_CLOSE

func (*Function_callContext) T_COMMA

func (*Function_callContext) T_OPEN

func (*Function_callContext) T_STRING

func (s *Function_callContext) T_STRING() antlr.TerminalNode

func (*Function_callContext) ToStringTree

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

type IArrayContext

type IArrayContext interface {
	antlr.ParserRuleContext

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

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

IArrayContext is an interface to support dynamic dispatch.

type ICompound_valueContext

type ICompound_valueContext interface {
	antlr.ParserRuleContext

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

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

ICompound_valueContext is an interface to support dynamic dispatch.

type IExpressionContext

type IExpressionContext interface {
	antlr.ParserRuleContext

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

	// GetEq_op returns the eq_op token.
	GetEq_op() antlr.Token

	// SetEq_op sets the eq_op token.
	SetEq_op(antlr.Token)

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

IExpressionContext is an interface to support dynamic dispatch.

type IFunction_callContext

type IFunction_callContext interface {
	antlr.ParserRuleContext

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

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

IFunction_callContext is an interface to support dynamic dispatch.

type IObjectContext

type IObjectContext interface {
	antlr.ParserRuleContext

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

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

IObjectContext is an interface to support dynamic dispatch.

type IObject_elementContext

type IObject_elementContext interface {
	antlr.ParserRuleContext

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

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

IObject_elementContext is an interface to support dynamic dispatch.

type IObject_element_nameContext

type IObject_element_nameContext interface {
	antlr.ParserRuleContext

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

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

IObject_element_nameContext is an interface to support dynamic dispatch.

type IOperator_unaryContext

type IOperator_unaryContext interface {
	antlr.ParserRuleContext

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

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

IOperator_unaryContext is an interface to support dynamic dispatch.

type IParseContext

type IParseContext interface {
	antlr.ParserRuleContext

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

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

IParseContext is an interface to support dynamic dispatch.

type IReferenceContext

type IReferenceContext interface {
	antlr.ParserRuleContext

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

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

IReferenceContext is an interface to support dynamic dispatch.

type IValue_literalContext

type IValue_literalContext interface {
	antlr.ParserRuleContext

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

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

IValue_literalContext is an interface to support dynamic dispatch.

type ObjectContext

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

func NewEmptyObjectContext

func NewEmptyObjectContext() *ObjectContext

func NewObjectContext

func NewObjectContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ObjectContext

func (*ObjectContext) AllObject_element

func (s *ObjectContext) AllObject_element() []IObject_elementContext

func (*ObjectContext) AllT_COMMA

func (s *ObjectContext) AllT_COMMA() []antlr.TerminalNode

func (*ObjectContext) EnterRule

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

func (*ObjectContext) ExitRule

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

func (*ObjectContext) GetParser

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

func (*ObjectContext) GetRuleContext

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

func (*ObjectContext) IsObjectContext

func (*ObjectContext) IsObjectContext()

func (*ObjectContext) Object_element

func (s *ObjectContext) Object_element(i int) IObject_elementContext

func (*ObjectContext) T_COMMA

func (s *ObjectContext) T_COMMA(i int) antlr.TerminalNode

func (*ObjectContext) T_OBJECT_CLOSE

func (s *ObjectContext) T_OBJECT_CLOSE() antlr.TerminalNode

func (*ObjectContext) T_OBJECT_OPEN

func (s *ObjectContext) T_OBJECT_OPEN() antlr.TerminalNode

func (*ObjectContext) ToStringTree

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

type Object_elementContext

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

func NewEmptyObject_elementContext

func NewEmptyObject_elementContext() *Object_elementContext

func NewObject_elementContext

func NewObject_elementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Object_elementContext

func (*Object_elementContext) AllExpression

func (s *Object_elementContext) AllExpression() []IExpressionContext

func (*Object_elementContext) EnterRule

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

func (*Object_elementContext) ExitRule

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

func (*Object_elementContext) Expression

func (s *Object_elementContext) Expression(i int) IExpressionContext

func (*Object_elementContext) GetParser

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

func (*Object_elementContext) GetRuleContext

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

func (*Object_elementContext) IsObject_elementContext

func (*Object_elementContext) IsObject_elementContext()

func (*Object_elementContext) Object_element_name

func (s *Object_elementContext) Object_element_name() IObject_element_nameContext

func (*Object_elementContext) T_ARRAY_CLOSE

func (s *Object_elementContext) T_ARRAY_CLOSE() antlr.TerminalNode

func (*Object_elementContext) T_ARRAY_OPEN

func (s *Object_elementContext) T_ARRAY_OPEN() antlr.TerminalNode

func (*Object_elementContext) T_COLON

func (*Object_elementContext) T_STRING

func (*Object_elementContext) ToStringTree

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

type Object_element_nameContext

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

func NewEmptyObject_element_nameContext

func NewEmptyObject_element_nameContext() *Object_element_nameContext

func NewObject_element_nameContext

func NewObject_element_nameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Object_element_nameContext

func (*Object_element_nameContext) EnterRule

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

func (*Object_element_nameContext) ExitRule

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

func (*Object_element_nameContext) GetParser

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

func (*Object_element_nameContext) GetRuleContext

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

func (*Object_element_nameContext) IsObject_element_nameContext

func (*Object_element_nameContext) IsObject_element_nameContext()

func (*Object_element_nameContext) T_QUOTED_STRING

func (s *Object_element_nameContext) T_QUOTED_STRING() antlr.TerminalNode

func (*Object_element_nameContext) T_STRING

func (*Object_element_nameContext) ToStringTree

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

type Operator_unaryContext

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

func NewEmptyOperator_unaryContext

func NewEmptyOperator_unaryContext() *Operator_unaryContext

func NewOperator_unaryContext

func NewOperator_unaryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Operator_unaryContext

func (*Operator_unaryContext) EnterRule

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

func (*Operator_unaryContext) ExitRule

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

func (*Operator_unaryContext) Expression

func (s *Operator_unaryContext) Expression() IExpressionContext

func (*Operator_unaryContext) GetParser

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

func (*Operator_unaryContext) GetRuleContext

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

func (*Operator_unaryContext) IsOperator_unaryContext

func (*Operator_unaryContext) IsOperator_unaryContext()

func (*Operator_unaryContext) T_MINUS

func (*Operator_unaryContext) T_NOT

func (*Operator_unaryContext) T_PLUS

func (*Operator_unaryContext) ToStringTree

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

type ParseContext

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

func NewEmptyParseContext

func NewEmptyParseContext() *ParseContext

func NewParseContext

func NewParseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParseContext

func (*ParseContext) EOF

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

func (*ParseContext) EnterRule

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

func (*ParseContext) ExitRule

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

func (*ParseContext) Expression

func (s *ParseContext) Expression() IExpressionContext

func (*ParseContext) GetParser

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

func (*ParseContext) GetRuleContext

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

func (*ParseContext) IsParseContext

func (*ParseContext) IsParseContext()

func (*ParseContext) ToStringTree

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

type ReferenceContext

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

func NewEmptyReferenceContext

func NewEmptyReferenceContext() *ReferenceContext

func NewReferenceContext

func NewReferenceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReferenceContext

func (*ReferenceContext) Compound_value

func (s *ReferenceContext) Compound_value() ICompound_valueContext

func (*ReferenceContext) DOT

func (*ReferenceContext) EnterRule

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

func (*ReferenceContext) ExitRule

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

func (*ReferenceContext) Expression

func (s *ReferenceContext) Expression() IExpressionContext

func (*ReferenceContext) Function_call

func (s *ReferenceContext) Function_call() IFunction_callContext

func (*ReferenceContext) GetParser

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

func (*ReferenceContext) GetRuleContext

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

func (*ReferenceContext) IsReferenceContext

func (*ReferenceContext) IsReferenceContext()

func (*ReferenceContext) Reference

func (s *ReferenceContext) Reference() IReferenceContext

func (*ReferenceContext) T_ARRAY_CLOSE

func (s *ReferenceContext) T_ARRAY_CLOSE() antlr.TerminalNode

func (*ReferenceContext) T_ARRAY_OPEN

func (s *ReferenceContext) T_ARRAY_OPEN() antlr.TerminalNode

func (*ReferenceContext) T_CLOSE

func (s *ReferenceContext) T_CLOSE() antlr.TerminalNode

func (*ReferenceContext) T_OPEN

func (s *ReferenceContext) T_OPEN() antlr.TerminalNode

func (*ReferenceContext) T_STRING

func (s *ReferenceContext) T_STRING() antlr.TerminalNode

func (*ReferenceContext) ToStringTree

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

type Value_literalContext

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

func NewEmptyValue_literalContext

func NewEmptyValue_literalContext() *Value_literalContext

func NewValue_literalContext

func NewValue_literalContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Value_literalContext

func (*Value_literalContext) EnterRule

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

func (*Value_literalContext) ExitRule

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

func (*Value_literalContext) GetParser

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

func (*Value_literalContext) GetRuleContext

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

func (*Value_literalContext) IsValue_literalContext

func (*Value_literalContext) IsValue_literalContext()

func (*Value_literalContext) T_FALSE

func (*Value_literalContext) T_FLOAT

func (*Value_literalContext) T_INT

func (*Value_literalContext) T_NULL

func (*Value_literalContext) T_QUOTED_STRING

func (s *Value_literalContext) T_QUOTED_STRING() antlr.TerminalNode

func (*Value_literalContext) T_TRUE

func (*Value_literalContext) ToStringTree

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