parser

package
v0.0.0-...-76a08da Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JsonpathLexerT__0                 = 1
	JsonpathLexerT__1                 = 2
	JsonpathLexerT__2                 = 3
	JsonpathLexerT__3                 = 4
	JsonpathLexerT__4                 = 5
	JsonpathLexerT__5                 = 6
	JsonpathLexerT__6                 = 7
	JsonpathLexerT__7                 = 8
	JsonpathLexerT__8                 = 9
	JsonpathLexerT__9                 = 10
	JsonpathLexerT__10                = 11
	JsonpathLexerT__11                = 12
	JsonpathLexerT__12                = 13
	JsonpathLexerT__13                = 14
	JsonpathLexerT__14                = 15
	JsonpathLexerT__15                = 16
	JsonpathLexerT__16                = 17
	JsonpathLexerT__17                = 18
	JsonpathLexerT__18                = 19
	JsonpathLexerT__19                = 20
	JsonpathLexerT__20                = 21
	JsonpathLexerT__21                = 22
	JsonpathLexerT__22                = 23
	JsonpathLexerT__23                = 24
	JsonpathLexerT__24                = 25
	JsonpathLexerT__25                = 26
	JsonpathLexerT__26                = 27
	JsonpathLexerT__27                = 28
	JsonpathLexerT__28                = 29
	JsonpathLexerT__29                = 30
	JsonpathLexerT__30                = 31
	JsonpathLexerT__31                = 32
	JsonpathLexerT__32                = 33
	JsonpathLexerEllipsis             = 34
	JsonpathLexerNullLiteral          = 35
	JsonpathLexerBooleanLiteral       = 36
	JsonpathLexerDecimalLiteral       = 37
	JsonpathLexerStringLiteral        = 38
	JsonpathLexerHexIntegerLiteral    = 39
	JsonpathLexerOctalIntegerLiteral2 = 40
	JsonpathLexerBinaryIntegerLiteral = 41
	JsonpathLexerSP                   = 42
	JsonpathLexerIdentifier           = 43
)

JsonpathLexer tokens.

View Source
const (
	JsonpathParserEOF                  = antlr.TokenEOF
	JsonpathParserT__0                 = 1
	JsonpathParserT__1                 = 2
	JsonpathParserT__2                 = 3
	JsonpathParserT__3                 = 4
	JsonpathParserT__4                 = 5
	JsonpathParserT__5                 = 6
	JsonpathParserT__6                 = 7
	JsonpathParserT__7                 = 8
	JsonpathParserT__8                 = 9
	JsonpathParserT__9                 = 10
	JsonpathParserT__10                = 11
	JsonpathParserT__11                = 12
	JsonpathParserT__12                = 13
	JsonpathParserT__13                = 14
	JsonpathParserT__14                = 15
	JsonpathParserT__15                = 16
	JsonpathParserT__16                = 17
	JsonpathParserT__17                = 18
	JsonpathParserT__18                = 19
	JsonpathParserT__19                = 20
	JsonpathParserT__20                = 21
	JsonpathParserT__21                = 22
	JsonpathParserT__22                = 23
	JsonpathParserT__23                = 24
	JsonpathParserT__24                = 25
	JsonpathParserT__25                = 26
	JsonpathParserT__26                = 27
	JsonpathParserT__27                = 28
	JsonpathParserT__28                = 29
	JsonpathParserT__29                = 30
	JsonpathParserT__30                = 31
	JsonpathParserT__31                = 32
	JsonpathParserT__32                = 33
	JsonpathParserEllipsis             = 34
	JsonpathParserNullLiteral          = 35
	JsonpathParserBooleanLiteral       = 36
	JsonpathParserDecimalLiteral       = 37
	JsonpathParserStringLiteral        = 38
	JsonpathParserHexIntegerLiteral    = 39
	JsonpathParserOctalIntegerLiteral2 = 40
	JsonpathParserBinaryIntegerLiteral = 41
	JsonpathParserSP                   = 42
	JsonpathParserIdentifier           = 43
)

JsonpathParser tokens.

View Source
const (
	JsonpathParserRULE_path            = 0
	JsonpathParserRULE_simplePath      = 1
	JsonpathParserRULE_simplePathExpr  = 2
	JsonpathParserRULE_selector        = 3
	JsonpathParserRULE_arguments       = 4
	JsonpathParserRULE_slice           = 5
	JsonpathParserRULE_indexExpression = 6
	JsonpathParserRULE_expression      = 7
	JsonpathParserRULE_arrayLiteral    = 8
	JsonpathParserRULE_elementList     = 9
	JsonpathParserRULE_literal         = 10
	JsonpathParserRULE_identifier      = 11
	JsonpathParserRULE_numericLiteral  = 12
)

JsonpathParser rules.

Variables

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

Functions

func InitEmptyArgumentsContext

func InitEmptyArgumentsContext(p *ArgumentsContext)

func InitEmptyArrayLiteralContext

func InitEmptyArrayLiteralContext(p *ArrayLiteralContext)

func InitEmptyElementListContext

func InitEmptyElementListContext(p *ElementListContext)

func InitEmptyExpressionContext

func InitEmptyExpressionContext(p *ExpressionContext)

func InitEmptyIdentifierContext

func InitEmptyIdentifierContext(p *IdentifierContext)

func InitEmptyIndexExpressionContext

func InitEmptyIndexExpressionContext(p *IndexExpressionContext)

func InitEmptyLiteralContext

func InitEmptyLiteralContext(p *LiteralContext)

func InitEmptyNumericLiteralContext

func InitEmptyNumericLiteralContext(p *NumericLiteralContext)

func InitEmptyPathContext

func InitEmptyPathContext(p *PathContext)

func InitEmptySelectorContext

func InitEmptySelectorContext(p *SelectorContext)

func InitEmptySimplePathContext

func InitEmptySimplePathContext(p *SimplePathContext)

func InitEmptySimplePathExprContext

func InitEmptySimplePathExprContext(p *SimplePathExprContext)

func InitEmptySliceContext

func InitEmptySliceContext(p *SliceContext)

func JsonpathLexerInit

func JsonpathLexerInit()

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

func JsonpathParserInit

func JsonpathParserInit()

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

Types

type AdditiveExpressionContext

type AdditiveExpressionContext struct {
	ExpressionContext
}

func NewAdditiveExpressionContext

func NewAdditiveExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AdditiveExpressionContext

func (*AdditiveExpressionContext) AllExpression

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

func (*AdditiveExpressionContext) AllSP

func (s *AdditiveExpressionContext) AllSP() []antlr.TerminalNode

func (*AdditiveExpressionContext) EnterRule

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

func (*AdditiveExpressionContext) ExitRule

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

func (*AdditiveExpressionContext) Expression

func (*AdditiveExpressionContext) GetRuleContext

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

func (*AdditiveExpressionContext) SP

func (s *AdditiveExpressionContext) SP(i int) antlr.TerminalNode

type ArgumentsContext

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

func NewArgumentsContext

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

func NewEmptyArgumentsContext

func NewEmptyArgumentsContext() *ArgumentsContext

func (*ArgumentsContext) AllExpression

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

func (*ArgumentsContext) EnterRule

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

func (*ArgumentsContext) ExitRule

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

func (*ArgumentsContext) Expression

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

func (*ArgumentsContext) GetParser

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

func (*ArgumentsContext) GetRuleContext

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

func (*ArgumentsContext) IsArgumentsContext

func (*ArgumentsContext) IsArgumentsContext()

func (*ArgumentsContext) ToStringTree

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

type ArgumentsExpressionContext

type ArgumentsExpressionContext struct {
	ExpressionContext
}

func NewArgumentsExpressionContext

func NewArgumentsExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ArgumentsExpressionContext

func (*ArgumentsExpressionContext) Arguments

func (*ArgumentsExpressionContext) EnterRule

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

func (*ArgumentsExpressionContext) ExitRule

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

func (*ArgumentsExpressionContext) Expression

func (*ArgumentsExpressionContext) GetRuleContext

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

type ArrayLiteralContext

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

func NewArrayLiteralContext

func NewArrayLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayLiteralContext

func NewEmptyArrayLiteralContext

func NewEmptyArrayLiteralContext() *ArrayLiteralContext

func (*ArrayLiteralContext) AllSP

func (s *ArrayLiteralContext) AllSP() []antlr.TerminalNode

func (*ArrayLiteralContext) ElementList

func (s *ArrayLiteralContext) ElementList() IElementListContext

func (*ArrayLiteralContext) EnterRule

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

func (*ArrayLiteralContext) ExitRule

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

func (*ArrayLiteralContext) GetParser

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

func (*ArrayLiteralContext) GetRuleContext

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

func (*ArrayLiteralContext) IsArrayLiteralContext

func (*ArrayLiteralContext) IsArrayLiteralContext()

func (*ArrayLiteralContext) SP

func (s *ArrayLiteralContext) SP(i int) antlr.TerminalNode

func (*ArrayLiteralContext) ToStringTree

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

type ArrayLiteralExpressionContext

type ArrayLiteralExpressionContext struct {
	ExpressionContext
}

func NewArrayLiteralExpressionContext

func NewArrayLiteralExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ArrayLiteralExpressionContext

func (*ArrayLiteralExpressionContext) ArrayLiteral

func (*ArrayLiteralExpressionContext) EnterRule

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

func (*ArrayLiteralExpressionContext) ExitRule

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

func (*ArrayLiteralExpressionContext) GetRuleContext

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

type BaseJsonpathListener

type BaseJsonpathListener struct{}

BaseJsonpathListener is a complete listener for a parse tree produced by JsonpathParser.

func (*BaseJsonpathListener) EnterAdditiveExpression

func (s *BaseJsonpathListener) EnterAdditiveExpression(ctx *AdditiveExpressionContext)

EnterAdditiveExpression is called when production AdditiveExpression is entered.

func (*BaseJsonpathListener) EnterArguments

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

EnterArguments is called when production arguments is entered.

func (*BaseJsonpathListener) EnterArgumentsExpression

func (s *BaseJsonpathListener) EnterArgumentsExpression(ctx *ArgumentsExpressionContext)

EnterArgumentsExpression is called when production ArgumentsExpression is entered.

func (*BaseJsonpathListener) EnterArrayLiteral

func (s *BaseJsonpathListener) EnterArrayLiteral(ctx *ArrayLiteralContext)

EnterArrayLiteral is called when production arrayLiteral is entered.

func (*BaseJsonpathListener) EnterArrayLiteralExpression

func (s *BaseJsonpathListener) EnterArrayLiteralExpression(ctx *ArrayLiteralExpressionContext)

EnterArrayLiteralExpression is called when production ArrayLiteralExpression is entered.

func (*BaseJsonpathListener) EnterBitAndExpression

func (s *BaseJsonpathListener) EnterBitAndExpression(ctx *BitAndExpressionContext)

EnterBitAndExpression is called when production BitAndExpression is entered.

func (*BaseJsonpathListener) EnterBitNotExpression

func (s *BaseJsonpathListener) EnterBitNotExpression(ctx *BitNotExpressionContext)

EnterBitNotExpression is called when production BitNotExpression is entered.

func (*BaseJsonpathListener) EnterBitOrExpression

func (s *BaseJsonpathListener) EnterBitOrExpression(ctx *BitOrExpressionContext)

EnterBitOrExpression is called when production BitOrExpression is entered.

func (*BaseJsonpathListener) EnterBitXOrExpression

func (s *BaseJsonpathListener) EnterBitXOrExpression(ctx *BitXOrExpressionContext)

EnterBitXOrExpression is called when production BitXOrExpression is entered.

func (*BaseJsonpathListener) EnterChainExpression

func (s *BaseJsonpathListener) EnterChainExpression(ctx *ChainExpressionContext)

EnterChainExpression is called when production ChainExpression is entered.

func (*BaseJsonpathListener) EnterElementList

func (s *BaseJsonpathListener) EnterElementList(ctx *ElementListContext)

EnterElementList is called when production elementList is entered.

func (*BaseJsonpathListener) EnterEqualityExpression

func (s *BaseJsonpathListener) EnterEqualityExpression(ctx *EqualityExpressionContext)

EnterEqualityExpression is called when production EqualityExpression is entered.

func (*BaseJsonpathListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseJsonpathListener) EnterFilterExpression

func (s *BaseJsonpathListener) EnterFilterExpression(ctx *FilterExpressionContext)

EnterFilterExpression is called when production FilterExpression is entered.

func (*BaseJsonpathListener) EnterIdentifier

func (s *BaseJsonpathListener) EnterIdentifier(ctx *IdentifierContext)

EnterIdentifier is called when production identifier is entered.

func (*BaseJsonpathListener) EnterIdentifierExpression

func (s *BaseJsonpathListener) EnterIdentifierExpression(ctx *IdentifierExpressionContext)

EnterIdentifierExpression is called when production IdentifierExpression is entered.

func (*BaseJsonpathListener) EnterInExpression

func (s *BaseJsonpathListener) EnterInExpression(ctx *InExpressionContext)

EnterInExpression is called when production InExpression is entered.

func (*BaseJsonpathListener) EnterIndexExpression

func (s *BaseJsonpathListener) EnterIndexExpression(ctx *IndexExpressionContext)

EnterIndexExpression is called when production indexExpression is entered.

func (*BaseJsonpathListener) EnterLiteral

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

EnterLiteral is called when production literal is entered.

func (*BaseJsonpathListener) EnterLiteralExpression

func (s *BaseJsonpathListener) EnterLiteralExpression(ctx *LiteralExpressionContext)

EnterLiteralExpression is called when production LiteralExpression is entered.

func (*BaseJsonpathListener) EnterLogicalAndExpression

func (s *BaseJsonpathListener) EnterLogicalAndExpression(ctx *LogicalAndExpressionContext)

EnterLogicalAndExpression is called when production LogicalAndExpression is entered.

func (*BaseJsonpathListener) EnterLogicalOrExpression

func (s *BaseJsonpathListener) EnterLogicalOrExpression(ctx *LogicalOrExpressionContext)

EnterLogicalOrExpression is called when production LogicalOrExpression is entered.

func (*BaseJsonpathListener) EnterMemberIndexExpression

func (s *BaseJsonpathListener) EnterMemberIndexExpression(ctx *MemberIndexExpressionContext)

EnterMemberIndexExpression is called when production MemberIndexExpression is entered.

func (*BaseJsonpathListener) EnterMultiplicativeExpression

func (s *BaseJsonpathListener) EnterMultiplicativeExpression(ctx *MultiplicativeExpressionContext)

EnterMultiplicativeExpression is called when production MultiplicativeExpression is entered.

func (*BaseJsonpathListener) EnterNotExpression

func (s *BaseJsonpathListener) EnterNotExpression(ctx *NotExpressionContext)

EnterNotExpression is called when production NotExpression is entered.

func (*BaseJsonpathListener) EnterNumericLiteral

func (s *BaseJsonpathListener) EnterNumericLiteral(ctx *NumericLiteralContext)

EnterNumericLiteral is called when production numericLiteral is entered.

func (*BaseJsonpathListener) EnterParenthesizedExpression

func (s *BaseJsonpathListener) EnterParenthesizedExpression(ctx *ParenthesizedExpressionContext)

EnterParenthesizedExpression is called when production ParenthesizedExpression is entered.

func (*BaseJsonpathListener) EnterPath

func (s *BaseJsonpathListener) EnterPath(ctx *PathContext)

EnterPath is called when production path is entered.

func (*BaseJsonpathListener) EnterPowerExpression

func (s *BaseJsonpathListener) EnterPowerExpression(ctx *PowerExpressionContext)

EnterPowerExpression is called when production PowerExpression is entered.

func (*BaseJsonpathListener) EnterRecursiveDescentExpression

func (s *BaseJsonpathListener) EnterRecursiveDescentExpression(ctx *RecursiveDescentExpressionContext)

EnterRecursiveDescentExpression is called when production RecursiveDescentExpression is entered.

func (*BaseJsonpathListener) EnterRecursiveDescentMemberIndexExpression

func (s *BaseJsonpathListener) EnterRecursiveDescentMemberIndexExpression(ctx *RecursiveDescentMemberIndexExpressionContext)

EnterRecursiveDescentMemberIndexExpression is called when production RecursiveDescentMemberIndexExpression is entered.

func (*BaseJsonpathListener) EnterRecursiveDescentTermExpression

func (s *BaseJsonpathListener) EnterRecursiveDescentTermExpression(ctx *RecursiveDescentTermExpressionContext)

EnterRecursiveDescentTermExpression is called when production RecursiveDescentTermExpression is entered.

func (*BaseJsonpathListener) EnterRelationalExpression

func (s *BaseJsonpathListener) EnterRelationalExpression(ctx *RelationalExpressionContext)

EnterRelationalExpression is called when production RelationalExpression is entered.

func (*BaseJsonpathListener) EnterSelector

func (s *BaseJsonpathListener) EnterSelector(ctx *SelectorContext)

EnterSelector is called when production selector is entered.

func (*BaseJsonpathListener) EnterSelectorExpression

func (s *BaseJsonpathListener) EnterSelectorExpression(ctx *SelectorExpressionContext)

EnterSelectorExpression is called when production SelectorExpression is entered.

func (*BaseJsonpathListener) EnterSimplePath

func (s *BaseJsonpathListener) EnterSimplePath(ctx *SimplePathContext)

EnterSimplePath is called when production simplePath is entered.

func (*BaseJsonpathListener) EnterSimplePathExpr

func (s *BaseJsonpathListener) EnterSimplePathExpr(ctx *SimplePathExprContext)

EnterSimplePathExpr is called when production simplePathExpr is entered.

func (*BaseJsonpathListener) EnterSlice

func (s *BaseJsonpathListener) EnterSlice(ctx *SliceContext)

EnterSlice is called when production slice is entered.

func (*BaseJsonpathListener) EnterUnaryMinusExpression

func (s *BaseJsonpathListener) EnterUnaryMinusExpression(ctx *UnaryMinusExpressionContext)

EnterUnaryMinusExpression is called when production UnaryMinusExpression is entered.

func (*BaseJsonpathListener) EnterUnaryPlusExpression

func (s *BaseJsonpathListener) EnterUnaryPlusExpression(ctx *UnaryPlusExpressionContext)

EnterUnaryPlusExpression is called when production UnaryPlusExpression is entered.

func (*BaseJsonpathListener) ExitAdditiveExpression

func (s *BaseJsonpathListener) ExitAdditiveExpression(ctx *AdditiveExpressionContext)

ExitAdditiveExpression is called when production AdditiveExpression is exited.

func (*BaseJsonpathListener) ExitArguments

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

ExitArguments is called when production arguments is exited.

func (*BaseJsonpathListener) ExitArgumentsExpression

func (s *BaseJsonpathListener) ExitArgumentsExpression(ctx *ArgumentsExpressionContext)

ExitArgumentsExpression is called when production ArgumentsExpression is exited.

func (*BaseJsonpathListener) ExitArrayLiteral

func (s *BaseJsonpathListener) ExitArrayLiteral(ctx *ArrayLiteralContext)

ExitArrayLiteral is called when production arrayLiteral is exited.

func (*BaseJsonpathListener) ExitArrayLiteralExpression

func (s *BaseJsonpathListener) ExitArrayLiteralExpression(ctx *ArrayLiteralExpressionContext)

ExitArrayLiteralExpression is called when production ArrayLiteralExpression is exited.

func (*BaseJsonpathListener) ExitBitAndExpression

func (s *BaseJsonpathListener) ExitBitAndExpression(ctx *BitAndExpressionContext)

ExitBitAndExpression is called when production BitAndExpression is exited.

func (*BaseJsonpathListener) ExitBitNotExpression

func (s *BaseJsonpathListener) ExitBitNotExpression(ctx *BitNotExpressionContext)

ExitBitNotExpression is called when production BitNotExpression is exited.

func (*BaseJsonpathListener) ExitBitOrExpression

func (s *BaseJsonpathListener) ExitBitOrExpression(ctx *BitOrExpressionContext)

ExitBitOrExpression is called when production BitOrExpression is exited.

func (*BaseJsonpathListener) ExitBitXOrExpression

func (s *BaseJsonpathListener) ExitBitXOrExpression(ctx *BitXOrExpressionContext)

ExitBitXOrExpression is called when production BitXOrExpression is exited.

func (*BaseJsonpathListener) ExitChainExpression

func (s *BaseJsonpathListener) ExitChainExpression(ctx *ChainExpressionContext)

ExitChainExpression is called when production ChainExpression is exited.

func (*BaseJsonpathListener) ExitElementList

func (s *BaseJsonpathListener) ExitElementList(ctx *ElementListContext)

ExitElementList is called when production elementList is exited.

func (*BaseJsonpathListener) ExitEqualityExpression

func (s *BaseJsonpathListener) ExitEqualityExpression(ctx *EqualityExpressionContext)

ExitEqualityExpression is called when production EqualityExpression is exited.

func (*BaseJsonpathListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseJsonpathListener) ExitFilterExpression

func (s *BaseJsonpathListener) ExitFilterExpression(ctx *FilterExpressionContext)

ExitFilterExpression is called when production FilterExpression is exited.

func (*BaseJsonpathListener) ExitIdentifier

func (s *BaseJsonpathListener) ExitIdentifier(ctx *IdentifierContext)

ExitIdentifier is called when production identifier is exited.

func (*BaseJsonpathListener) ExitIdentifierExpression

func (s *BaseJsonpathListener) ExitIdentifierExpression(ctx *IdentifierExpressionContext)

ExitIdentifierExpression is called when production IdentifierExpression is exited.

func (*BaseJsonpathListener) ExitInExpression

func (s *BaseJsonpathListener) ExitInExpression(ctx *InExpressionContext)

ExitInExpression is called when production InExpression is exited.

func (*BaseJsonpathListener) ExitIndexExpression

func (s *BaseJsonpathListener) ExitIndexExpression(ctx *IndexExpressionContext)

ExitIndexExpression is called when production indexExpression is exited.

func (*BaseJsonpathListener) ExitLiteral

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

ExitLiteral is called when production literal is exited.

func (*BaseJsonpathListener) ExitLiteralExpression

func (s *BaseJsonpathListener) ExitLiteralExpression(ctx *LiteralExpressionContext)

ExitLiteralExpression is called when production LiteralExpression is exited.

func (*BaseJsonpathListener) ExitLogicalAndExpression

func (s *BaseJsonpathListener) ExitLogicalAndExpression(ctx *LogicalAndExpressionContext)

ExitLogicalAndExpression is called when production LogicalAndExpression is exited.

func (*BaseJsonpathListener) ExitLogicalOrExpression

func (s *BaseJsonpathListener) ExitLogicalOrExpression(ctx *LogicalOrExpressionContext)

ExitLogicalOrExpression is called when production LogicalOrExpression is exited.

func (*BaseJsonpathListener) ExitMemberIndexExpression

func (s *BaseJsonpathListener) ExitMemberIndexExpression(ctx *MemberIndexExpressionContext)

ExitMemberIndexExpression is called when production MemberIndexExpression is exited.

func (*BaseJsonpathListener) ExitMultiplicativeExpression

func (s *BaseJsonpathListener) ExitMultiplicativeExpression(ctx *MultiplicativeExpressionContext)

ExitMultiplicativeExpression is called when production MultiplicativeExpression is exited.

func (*BaseJsonpathListener) ExitNotExpression

func (s *BaseJsonpathListener) ExitNotExpression(ctx *NotExpressionContext)

ExitNotExpression is called when production NotExpression is exited.

func (*BaseJsonpathListener) ExitNumericLiteral

func (s *BaseJsonpathListener) ExitNumericLiteral(ctx *NumericLiteralContext)

ExitNumericLiteral is called when production numericLiteral is exited.

func (*BaseJsonpathListener) ExitParenthesizedExpression

func (s *BaseJsonpathListener) ExitParenthesizedExpression(ctx *ParenthesizedExpressionContext)

ExitParenthesizedExpression is called when production ParenthesizedExpression is exited.

func (*BaseJsonpathListener) ExitPath

func (s *BaseJsonpathListener) ExitPath(ctx *PathContext)

ExitPath is called when production path is exited.

func (*BaseJsonpathListener) ExitPowerExpression

func (s *BaseJsonpathListener) ExitPowerExpression(ctx *PowerExpressionContext)

ExitPowerExpression is called when production PowerExpression is exited.

func (*BaseJsonpathListener) ExitRecursiveDescentExpression

func (s *BaseJsonpathListener) ExitRecursiveDescentExpression(ctx *RecursiveDescentExpressionContext)

ExitRecursiveDescentExpression is called when production RecursiveDescentExpression is exited.

func (*BaseJsonpathListener) ExitRecursiveDescentMemberIndexExpression

func (s *BaseJsonpathListener) ExitRecursiveDescentMemberIndexExpression(ctx *RecursiveDescentMemberIndexExpressionContext)

ExitRecursiveDescentMemberIndexExpression is called when production RecursiveDescentMemberIndexExpression is exited.

func (*BaseJsonpathListener) ExitRecursiveDescentTermExpression

func (s *BaseJsonpathListener) ExitRecursiveDescentTermExpression(ctx *RecursiveDescentTermExpressionContext)

ExitRecursiveDescentTermExpression is called when production RecursiveDescentTermExpression is exited.

func (*BaseJsonpathListener) ExitRelationalExpression

func (s *BaseJsonpathListener) ExitRelationalExpression(ctx *RelationalExpressionContext)

ExitRelationalExpression is called when production RelationalExpression is exited.

func (*BaseJsonpathListener) ExitSelector

func (s *BaseJsonpathListener) ExitSelector(ctx *SelectorContext)

ExitSelector is called when production selector is exited.

func (*BaseJsonpathListener) ExitSelectorExpression

func (s *BaseJsonpathListener) ExitSelectorExpression(ctx *SelectorExpressionContext)

ExitSelectorExpression is called when production SelectorExpression is exited.

func (*BaseJsonpathListener) ExitSimplePath

func (s *BaseJsonpathListener) ExitSimplePath(ctx *SimplePathContext)

ExitSimplePath is called when production simplePath is exited.

func (*BaseJsonpathListener) ExitSimplePathExpr

func (s *BaseJsonpathListener) ExitSimplePathExpr(ctx *SimplePathExprContext)

ExitSimplePathExpr is called when production simplePathExpr is exited.

func (*BaseJsonpathListener) ExitSlice

func (s *BaseJsonpathListener) ExitSlice(ctx *SliceContext)

ExitSlice is called when production slice is exited.

func (*BaseJsonpathListener) ExitUnaryMinusExpression

func (s *BaseJsonpathListener) ExitUnaryMinusExpression(ctx *UnaryMinusExpressionContext)

ExitUnaryMinusExpression is called when production UnaryMinusExpression is exited.

func (*BaseJsonpathListener) ExitUnaryPlusExpression

func (s *BaseJsonpathListener) ExitUnaryPlusExpression(ctx *UnaryPlusExpressionContext)

ExitUnaryPlusExpression is called when production UnaryPlusExpression is exited.

func (*BaseJsonpathListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseJsonpathListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type BitAndExpressionContext

type BitAndExpressionContext struct {
	ExpressionContext
}

func NewBitAndExpressionContext

func NewBitAndExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BitAndExpressionContext

func (*BitAndExpressionContext) AllExpression

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

func (*BitAndExpressionContext) AllSP

func (s *BitAndExpressionContext) AllSP() []antlr.TerminalNode

func (*BitAndExpressionContext) EnterRule

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

func (*BitAndExpressionContext) ExitRule

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

func (*BitAndExpressionContext) Expression

func (*BitAndExpressionContext) GetRuleContext

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

func (*BitAndExpressionContext) SP

func (s *BitAndExpressionContext) SP(i int) antlr.TerminalNode

type BitNotExpressionContext

type BitNotExpressionContext struct {
	ExpressionContext
}

func NewBitNotExpressionContext

func NewBitNotExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BitNotExpressionContext

func (*BitNotExpressionContext) EnterRule

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

func (*BitNotExpressionContext) ExitRule

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

func (*BitNotExpressionContext) Expression

func (*BitNotExpressionContext) GetRuleContext

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

func (*BitNotExpressionContext) SP

func (s *BitNotExpressionContext) SP() antlr.TerminalNode

type BitOrExpressionContext

type BitOrExpressionContext struct {
	ExpressionContext
}

func NewBitOrExpressionContext

func NewBitOrExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BitOrExpressionContext

func (*BitOrExpressionContext) AllExpression

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

func (*BitOrExpressionContext) AllSP

func (s *BitOrExpressionContext) AllSP() []antlr.TerminalNode

func (*BitOrExpressionContext) EnterRule

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

func (*BitOrExpressionContext) ExitRule

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

func (*BitOrExpressionContext) Expression

func (*BitOrExpressionContext) GetRuleContext

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

func (*BitOrExpressionContext) SP

func (s *BitOrExpressionContext) SP(i int) antlr.TerminalNode

type BitXOrExpressionContext

type BitXOrExpressionContext struct {
	ExpressionContext
}

func NewBitXOrExpressionContext

func NewBitXOrExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BitXOrExpressionContext

func (*BitXOrExpressionContext) AllExpression

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

func (*BitXOrExpressionContext) AllSP

func (s *BitXOrExpressionContext) AllSP() []antlr.TerminalNode

func (*BitXOrExpressionContext) EnterRule

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

func (*BitXOrExpressionContext) ExitRule

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

func (*BitXOrExpressionContext) Expression

func (*BitXOrExpressionContext) GetRuleContext

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

func (*BitXOrExpressionContext) SP

func (s *BitXOrExpressionContext) SP(i int) antlr.TerminalNode

type ChainExpressionContext

type ChainExpressionContext struct {
	ExpressionContext
}

func NewChainExpressionContext

func NewChainExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ChainExpressionContext

func (*ChainExpressionContext) AllExpression

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

func (*ChainExpressionContext) AllSP

func (s *ChainExpressionContext) AllSP() []antlr.TerminalNode

func (*ChainExpressionContext) EnterRule

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

func (*ChainExpressionContext) ExitRule

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

func (*ChainExpressionContext) Expression

func (*ChainExpressionContext) GetRuleContext

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

func (*ChainExpressionContext) SP

func (s *ChainExpressionContext) SP(i int) antlr.TerminalNode

type ElementListContext

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

func NewElementListContext

func NewElementListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ElementListContext

func NewEmptyElementListContext

func NewEmptyElementListContext() *ElementListContext

func (*ElementListContext) AllExpression

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

func (*ElementListContext) AllSP

func (s *ElementListContext) AllSP() []antlr.TerminalNode

func (*ElementListContext) EnterRule

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

func (*ElementListContext) ExitRule

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

func (*ElementListContext) Expression

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

func (*ElementListContext) GetParser

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

func (*ElementListContext) GetRuleContext

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

func (*ElementListContext) IsElementListContext

func (*ElementListContext) IsElementListContext()

func (*ElementListContext) SP

func (s *ElementListContext) SP(i int) antlr.TerminalNode

func (*ElementListContext) ToStringTree

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

type EqualityExpressionContext

type EqualityExpressionContext struct {
	ExpressionContext
}

func NewEqualityExpressionContext

func NewEqualityExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *EqualityExpressionContext

func (*EqualityExpressionContext) AllExpression

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

func (*EqualityExpressionContext) AllSP

func (s *EqualityExpressionContext) AllSP() []antlr.TerminalNode

func (*EqualityExpressionContext) EnterRule

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

func (*EqualityExpressionContext) ExitRule

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

func (*EqualityExpressionContext) Expression

func (*EqualityExpressionContext) GetRuleContext

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

func (*EqualityExpressionContext) SP

func (s *EqualityExpressionContext) SP(i int) antlr.TerminalNode

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

func (s *ExpressionContext) CopyAll(ctx *ExpressionContext)

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

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

type FilterExpressionContext

type FilterExpressionContext struct {
	ExpressionContext
}

func NewFilterExpressionContext

func NewFilterExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FilterExpressionContext

func (*FilterExpressionContext) EnterRule

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

func (*FilterExpressionContext) ExitRule

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

func (*FilterExpressionContext) Expression

func (*FilterExpressionContext) GetRuleContext

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

type IArgumentsContext

type IArgumentsContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllExpression() []IExpressionContext
	Expression(i int) IExpressionContext

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

IArgumentsContext is an interface to support dynamic dispatch.

type IArrayLiteralContext

type IArrayLiteralContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	ElementList() IElementListContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

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

IArrayLiteralContext is an interface to support dynamic dispatch.

type IElementListContext

type IElementListContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode
	AllExpression() []IExpressionContext
	Expression(i int) IExpressionContext

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

IElementListContext is an interface to support dynamic dispatch.

type IExpressionContext

type IExpressionContext interface {
	antlr.ParserRuleContext

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

IExpressionContext is an interface to support dynamic dispatch.

type IIdentifierContext

type IIdentifierContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Identifier() antlr.TerminalNode

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

IIdentifierContext is an interface to support dynamic dispatch.

type IIndexExpressionContext

type IIndexExpressionContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Slice() ISliceContext
	Expression() IExpressionContext

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

IIndexExpressionContext is an interface to support dynamic dispatch.

type ILiteralContext

type ILiteralContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	NullLiteral() antlr.TerminalNode
	BooleanLiteral() antlr.TerminalNode
	NumericLiteral() INumericLiteralContext
	StringLiteral() antlr.TerminalNode

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

ILiteralContext is an interface to support dynamic dispatch.

type INumericLiteralContext

type INumericLiteralContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	DecimalLiteral() antlr.TerminalNode
	HexIntegerLiteral() antlr.TerminalNode
	OctalIntegerLiteral2() antlr.TerminalNode
	BinaryIntegerLiteral() antlr.TerminalNode

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

INumericLiteralContext is an interface to support dynamic dispatch.

type IPathContext

type IPathContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Expression() IExpressionContext
	EOF() antlr.TerminalNode
	SP() antlr.TerminalNode

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

IPathContext is an interface to support dynamic dispatch.

type ISelectorContext

type ISelectorContext interface {
	antlr.ParserRuleContext

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

ISelectorContext is an interface to support dynamic dispatch.

type ISimplePathContext

type ISimplePathContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	SimplePathExpr() ISimplePathExprContext
	EOF() antlr.TerminalNode
	SP() antlr.TerminalNode

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

ISimplePathContext is an interface to support dynamic dispatch.

type ISimplePathExprContext

type ISimplePathExprContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Literal() ILiteralContext
	Identifier() IIdentifierContext
	AllSimplePathExpr() []ISimplePathExprContext
	SimplePathExpr(i int) ISimplePathExprContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

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

ISimplePathExprContext is an interface to support dynamic dispatch.

type ISliceContext

type ISliceContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllExpression() []IExpressionContext
	Expression(i int) IExpressionContext

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

ISliceContext is an interface to support dynamic dispatch.

type IdentifierContext

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

func NewEmptyIdentifierContext

func NewEmptyIdentifierContext() *IdentifierContext

func NewIdentifierContext

func NewIdentifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierContext

func (*IdentifierContext) EnterRule

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

func (*IdentifierContext) ExitRule

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

func (*IdentifierContext) GetParser

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

func (*IdentifierContext) GetRuleContext

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

func (*IdentifierContext) Identifier

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

func (*IdentifierContext) IsIdentifierContext

func (*IdentifierContext) IsIdentifierContext()

func (*IdentifierContext) ToStringTree

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

type IdentifierExpressionContext

type IdentifierExpressionContext struct {
	ExpressionContext
}

func NewIdentifierExpressionContext

func NewIdentifierExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IdentifierExpressionContext

func (*IdentifierExpressionContext) EnterRule

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

func (*IdentifierExpressionContext) ExitRule

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

func (*IdentifierExpressionContext) GetRuleContext

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

func (*IdentifierExpressionContext) Identifier

type InExpressionContext

type InExpressionContext struct {
	ExpressionContext
}

func NewInExpressionContext

func NewInExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InExpressionContext

func (*InExpressionContext) AllExpression

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

func (*InExpressionContext) AllSP

func (s *InExpressionContext) AllSP() []antlr.TerminalNode

func (*InExpressionContext) EnterRule

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

func (*InExpressionContext) ExitRule

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

func (*InExpressionContext) Expression

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

func (*InExpressionContext) GetRuleContext

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

func (*InExpressionContext) SP

func (s *InExpressionContext) SP(i int) antlr.TerminalNode

type IndexExpressionContext

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

func NewEmptyIndexExpressionContext

func NewEmptyIndexExpressionContext() *IndexExpressionContext

func NewIndexExpressionContext

func NewIndexExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IndexExpressionContext

func (*IndexExpressionContext) EnterRule

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

func (*IndexExpressionContext) ExitRule

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

func (*IndexExpressionContext) Expression

func (*IndexExpressionContext) GetParser

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

func (*IndexExpressionContext) GetRuleContext

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

func (*IndexExpressionContext) IsIndexExpressionContext

func (*IndexExpressionContext) IsIndexExpressionContext()

func (*IndexExpressionContext) Slice

func (*IndexExpressionContext) ToStringTree

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

type JsonpathLexer

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

func NewJsonpathLexer

func NewJsonpathLexer(input antlr.CharStream) *JsonpathLexer

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

type JsonpathListener

type JsonpathListener interface {
	antlr.ParseTreeListener

	// EnterPath is called when entering the path production.
	EnterPath(c *PathContext)

	// EnterSimplePath is called when entering the simplePath production.
	EnterSimplePath(c *SimplePathContext)

	// EnterSimplePathExpr is called when entering the simplePathExpr production.
	EnterSimplePathExpr(c *SimplePathExprContext)

	// EnterSelector is called when entering the selector production.
	EnterSelector(c *SelectorContext)

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

	// EnterSlice is called when entering the slice production.
	EnterSlice(c *SliceContext)

	// EnterIndexExpression is called when entering the indexExpression production.
	EnterIndexExpression(c *IndexExpressionContext)

	// EnterChainExpression is called when entering the ChainExpression production.
	EnterChainExpression(c *ChainExpressionContext)

	// EnterLogicalAndExpression is called when entering the LogicalAndExpression production.
	EnterLogicalAndExpression(c *LogicalAndExpressionContext)

	// EnterPowerExpression is called when entering the PowerExpression production.
	EnterPowerExpression(c *PowerExpressionContext)

	// EnterInExpression is called when entering the InExpression production.
	EnterInExpression(c *InExpressionContext)

	// EnterLogicalOrExpression is called when entering the LogicalOrExpression production.
	EnterLogicalOrExpression(c *LogicalOrExpressionContext)

	// EnterNotExpression is called when entering the NotExpression production.
	EnterNotExpression(c *NotExpressionContext)

	// EnterSelectorExpression is called when entering the SelectorExpression production.
	EnterSelectorExpression(c *SelectorExpressionContext)

	// EnterRecursiveDescentTermExpression is called when entering the RecursiveDescentTermExpression production.
	EnterRecursiveDescentTermExpression(c *RecursiveDescentTermExpressionContext)

	// EnterArgumentsExpression is called when entering the ArgumentsExpression production.
	EnterArgumentsExpression(c *ArgumentsExpressionContext)

	// EnterUnaryMinusExpression is called when entering the UnaryMinusExpression production.
	EnterUnaryMinusExpression(c *UnaryMinusExpressionContext)

	// EnterUnaryPlusExpression is called when entering the UnaryPlusExpression production.
	EnterUnaryPlusExpression(c *UnaryPlusExpressionContext)

	// EnterFilterExpression is called when entering the FilterExpression production.
	EnterFilterExpression(c *FilterExpressionContext)

	// EnterEqualityExpression is called when entering the EqualityExpression production.
	EnterEqualityExpression(c *EqualityExpressionContext)

	// EnterBitXOrExpression is called when entering the BitXOrExpression production.
	EnterBitXOrExpression(c *BitXOrExpressionContext)

	// EnterMultiplicativeExpression is called when entering the MultiplicativeExpression production.
	EnterMultiplicativeExpression(c *MultiplicativeExpressionContext)

	// EnterParenthesizedExpression is called when entering the ParenthesizedExpression production.
	EnterParenthesizedExpression(c *ParenthesizedExpressionContext)

	// EnterAdditiveExpression is called when entering the AdditiveExpression production.
	EnterAdditiveExpression(c *AdditiveExpressionContext)

	// EnterRelationalExpression is called when entering the RelationalExpression production.
	EnterRelationalExpression(c *RelationalExpressionContext)

	// EnterRecursiveDescentExpression is called when entering the RecursiveDescentExpression production.
	EnterRecursiveDescentExpression(c *RecursiveDescentExpressionContext)

	// EnterBitNotExpression is called when entering the BitNotExpression production.
	EnterBitNotExpression(c *BitNotExpressionContext)

	// EnterLiteralExpression is called when entering the LiteralExpression production.
	EnterLiteralExpression(c *LiteralExpressionContext)

	// EnterArrayLiteralExpression is called when entering the ArrayLiteralExpression production.
	EnterArrayLiteralExpression(c *ArrayLiteralExpressionContext)

	// EnterMemberIndexExpression is called when entering the MemberIndexExpression production.
	EnterMemberIndexExpression(c *MemberIndexExpressionContext)

	// EnterIdentifierExpression is called when entering the IdentifierExpression production.
	EnterIdentifierExpression(c *IdentifierExpressionContext)

	// EnterBitAndExpression is called when entering the BitAndExpression production.
	EnterBitAndExpression(c *BitAndExpressionContext)

	// EnterBitOrExpression is called when entering the BitOrExpression production.
	EnterBitOrExpression(c *BitOrExpressionContext)

	// EnterRecursiveDescentMemberIndexExpression is called when entering the RecursiveDescentMemberIndexExpression production.
	EnterRecursiveDescentMemberIndexExpression(c *RecursiveDescentMemberIndexExpressionContext)

	// EnterArrayLiteral is called when entering the arrayLiteral production.
	EnterArrayLiteral(c *ArrayLiteralContext)

	// EnterElementList is called when entering the elementList production.
	EnterElementList(c *ElementListContext)

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

	// EnterIdentifier is called when entering the identifier production.
	EnterIdentifier(c *IdentifierContext)

	// EnterNumericLiteral is called when entering the numericLiteral production.
	EnterNumericLiteral(c *NumericLiteralContext)

	// ExitPath is called when exiting the path production.
	ExitPath(c *PathContext)

	// ExitSimplePath is called when exiting the simplePath production.
	ExitSimplePath(c *SimplePathContext)

	// ExitSimplePathExpr is called when exiting the simplePathExpr production.
	ExitSimplePathExpr(c *SimplePathExprContext)

	// ExitSelector is called when exiting the selector production.
	ExitSelector(c *SelectorContext)

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

	// ExitSlice is called when exiting the slice production.
	ExitSlice(c *SliceContext)

	// ExitIndexExpression is called when exiting the indexExpression production.
	ExitIndexExpression(c *IndexExpressionContext)

	// ExitChainExpression is called when exiting the ChainExpression production.
	ExitChainExpression(c *ChainExpressionContext)

	// ExitLogicalAndExpression is called when exiting the LogicalAndExpression production.
	ExitLogicalAndExpression(c *LogicalAndExpressionContext)

	// ExitPowerExpression is called when exiting the PowerExpression production.
	ExitPowerExpression(c *PowerExpressionContext)

	// ExitInExpression is called when exiting the InExpression production.
	ExitInExpression(c *InExpressionContext)

	// ExitLogicalOrExpression is called when exiting the LogicalOrExpression production.
	ExitLogicalOrExpression(c *LogicalOrExpressionContext)

	// ExitNotExpression is called when exiting the NotExpression production.
	ExitNotExpression(c *NotExpressionContext)

	// ExitSelectorExpression is called when exiting the SelectorExpression production.
	ExitSelectorExpression(c *SelectorExpressionContext)

	// ExitRecursiveDescentTermExpression is called when exiting the RecursiveDescentTermExpression production.
	ExitRecursiveDescentTermExpression(c *RecursiveDescentTermExpressionContext)

	// ExitArgumentsExpression is called when exiting the ArgumentsExpression production.
	ExitArgumentsExpression(c *ArgumentsExpressionContext)

	// ExitUnaryMinusExpression is called when exiting the UnaryMinusExpression production.
	ExitUnaryMinusExpression(c *UnaryMinusExpressionContext)

	// ExitUnaryPlusExpression is called when exiting the UnaryPlusExpression production.
	ExitUnaryPlusExpression(c *UnaryPlusExpressionContext)

	// ExitFilterExpression is called when exiting the FilterExpression production.
	ExitFilterExpression(c *FilterExpressionContext)

	// ExitEqualityExpression is called when exiting the EqualityExpression production.
	ExitEqualityExpression(c *EqualityExpressionContext)

	// ExitBitXOrExpression is called when exiting the BitXOrExpression production.
	ExitBitXOrExpression(c *BitXOrExpressionContext)

	// ExitMultiplicativeExpression is called when exiting the MultiplicativeExpression production.
	ExitMultiplicativeExpression(c *MultiplicativeExpressionContext)

	// ExitParenthesizedExpression is called when exiting the ParenthesizedExpression production.
	ExitParenthesizedExpression(c *ParenthesizedExpressionContext)

	// ExitAdditiveExpression is called when exiting the AdditiveExpression production.
	ExitAdditiveExpression(c *AdditiveExpressionContext)

	// ExitRelationalExpression is called when exiting the RelationalExpression production.
	ExitRelationalExpression(c *RelationalExpressionContext)

	// ExitRecursiveDescentExpression is called when exiting the RecursiveDescentExpression production.
	ExitRecursiveDescentExpression(c *RecursiveDescentExpressionContext)

	// ExitBitNotExpression is called when exiting the BitNotExpression production.
	ExitBitNotExpression(c *BitNotExpressionContext)

	// ExitLiteralExpression is called when exiting the LiteralExpression production.
	ExitLiteralExpression(c *LiteralExpressionContext)

	// ExitArrayLiteralExpression is called when exiting the ArrayLiteralExpression production.
	ExitArrayLiteralExpression(c *ArrayLiteralExpressionContext)

	// ExitMemberIndexExpression is called when exiting the MemberIndexExpression production.
	ExitMemberIndexExpression(c *MemberIndexExpressionContext)

	// ExitIdentifierExpression is called when exiting the IdentifierExpression production.
	ExitIdentifierExpression(c *IdentifierExpressionContext)

	// ExitBitAndExpression is called when exiting the BitAndExpression production.
	ExitBitAndExpression(c *BitAndExpressionContext)

	// ExitBitOrExpression is called when exiting the BitOrExpression production.
	ExitBitOrExpression(c *BitOrExpressionContext)

	// ExitRecursiveDescentMemberIndexExpression is called when exiting the RecursiveDescentMemberIndexExpression production.
	ExitRecursiveDescentMemberIndexExpression(c *RecursiveDescentMemberIndexExpressionContext)

	// ExitArrayLiteral is called when exiting the arrayLiteral production.
	ExitArrayLiteral(c *ArrayLiteralContext)

	// ExitElementList is called when exiting the elementList production.
	ExitElementList(c *ElementListContext)

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

	// ExitIdentifier is called when exiting the identifier production.
	ExitIdentifier(c *IdentifierContext)

	// ExitNumericLiteral is called when exiting the numericLiteral production.
	ExitNumericLiteral(c *NumericLiteralContext)
}

JsonpathListener is a complete listener for a parse tree produced by JsonpathParser.

type JsonpathParser

type JsonpathParser struct {
	*antlr.BaseParser
}

func NewJsonpathParser

func NewJsonpathParser(input antlr.TokenStream) *JsonpathParser

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

func (*JsonpathParser) Arguments

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

func (*JsonpathParser) ArrayLiteral

func (p *JsonpathParser) ArrayLiteral() (localctx IArrayLiteralContext)

func (*JsonpathParser) ElementList

func (p *JsonpathParser) ElementList() (localctx IElementListContext)

func (*JsonpathParser) Expression

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

func (*JsonpathParser) Expression_Sempred

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

func (*JsonpathParser) Identifier

func (p *JsonpathParser) Identifier() (localctx IIdentifierContext)

func (*JsonpathParser) IndexExpression

func (p *JsonpathParser) IndexExpression() (localctx IIndexExpressionContext)

func (*JsonpathParser) Literal

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

func (*JsonpathParser) NumericLiteral

func (p *JsonpathParser) NumericLiteral() (localctx INumericLiteralContext)

func (*JsonpathParser) Path

func (p *JsonpathParser) Path() (localctx IPathContext)

func (*JsonpathParser) Selector

func (p *JsonpathParser) Selector() (localctx ISelectorContext)

func (*JsonpathParser) Sempred

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

func (*JsonpathParser) SimplePath

func (p *JsonpathParser) SimplePath() (localctx ISimplePathContext)

func (*JsonpathParser) SimplePathExpr

func (p *JsonpathParser) SimplePathExpr() (localctx ISimplePathExprContext)

func (*JsonpathParser) SimplePathExpr_Sempred

func (p *JsonpathParser) SimplePathExpr_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*JsonpathParser) Slice

func (p *JsonpathParser) Slice() (localctx ISliceContext)

type LiteralContext

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

func NewEmptyLiteralContext

func NewEmptyLiteralContext() *LiteralContext

func NewLiteralContext

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

func (*LiteralContext) BooleanLiteral

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

func (*LiteralContext) EnterRule

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

func (*LiteralContext) ExitRule

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

func (*LiteralContext) GetParser

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

func (*LiteralContext) GetRuleContext

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

func (*LiteralContext) IsLiteralContext

func (*LiteralContext) IsLiteralContext()

func (*LiteralContext) NullLiteral

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

func (*LiteralContext) NumericLiteral

func (s *LiteralContext) NumericLiteral() INumericLiteralContext

func (*LiteralContext) StringLiteral

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

func (*LiteralContext) ToStringTree

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

type LiteralExpressionContext

type LiteralExpressionContext struct {
	ExpressionContext
}

func NewLiteralExpressionContext

func NewLiteralExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LiteralExpressionContext

func (*LiteralExpressionContext) EnterRule

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

func (*LiteralExpressionContext) ExitRule

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

func (*LiteralExpressionContext) GetRuleContext

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

func (*LiteralExpressionContext) Literal

type LogicalAndExpressionContext

type LogicalAndExpressionContext struct {
	ExpressionContext
}

func NewLogicalAndExpressionContext

func NewLogicalAndExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LogicalAndExpressionContext

func (*LogicalAndExpressionContext) AllExpression

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

func (*LogicalAndExpressionContext) AllSP

func (s *LogicalAndExpressionContext) AllSP() []antlr.TerminalNode

func (*LogicalAndExpressionContext) EnterRule

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

func (*LogicalAndExpressionContext) ExitRule

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

func (*LogicalAndExpressionContext) Expression

func (*LogicalAndExpressionContext) GetRuleContext

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

func (*LogicalAndExpressionContext) SP

func (s *LogicalAndExpressionContext) SP(i int) antlr.TerminalNode

type LogicalOrExpressionContext

type LogicalOrExpressionContext struct {
	ExpressionContext
}

func NewLogicalOrExpressionContext

func NewLogicalOrExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LogicalOrExpressionContext

func (*LogicalOrExpressionContext) AllExpression

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

func (*LogicalOrExpressionContext) AllSP

func (s *LogicalOrExpressionContext) AllSP() []antlr.TerminalNode

func (*LogicalOrExpressionContext) EnterRule

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

func (*LogicalOrExpressionContext) ExitRule

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

func (*LogicalOrExpressionContext) Expression

func (*LogicalOrExpressionContext) GetRuleContext

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

func (*LogicalOrExpressionContext) SP

func (s *LogicalOrExpressionContext) SP(i int) antlr.TerminalNode

type MemberIndexExpressionContext

type MemberIndexExpressionContext struct {
	ExpressionContext
}

func NewMemberIndexExpressionContext

func NewMemberIndexExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MemberIndexExpressionContext

func (*MemberIndexExpressionContext) AllIndexExpression

func (s *MemberIndexExpressionContext) AllIndexExpression() []IIndexExpressionContext

func (*MemberIndexExpressionContext) AllSP

func (s *MemberIndexExpressionContext) AllSP() []antlr.TerminalNode

func (*MemberIndexExpressionContext) EnterRule

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

func (*MemberIndexExpressionContext) ExitRule

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

func (*MemberIndexExpressionContext) Expression

func (*MemberIndexExpressionContext) GetRuleContext

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

func (*MemberIndexExpressionContext) IndexExpression

func (*MemberIndexExpressionContext) SP

func (s *MemberIndexExpressionContext) SP(i int) antlr.TerminalNode

type MultiplicativeExpressionContext

type MultiplicativeExpressionContext struct {
	ExpressionContext
}

func NewMultiplicativeExpressionContext

func NewMultiplicativeExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MultiplicativeExpressionContext

func (*MultiplicativeExpressionContext) AllExpression

func (*MultiplicativeExpressionContext) AllSP

func (s *MultiplicativeExpressionContext) AllSP() []antlr.TerminalNode

func (*MultiplicativeExpressionContext) EnterRule

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

func (*MultiplicativeExpressionContext) ExitRule

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

func (*MultiplicativeExpressionContext) Expression

func (*MultiplicativeExpressionContext) GetRuleContext

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

func (*MultiplicativeExpressionContext) SP

func (s *MultiplicativeExpressionContext) SP(i int) antlr.TerminalNode

type NotExpressionContext

type NotExpressionContext struct {
	ExpressionContext
}

func NewNotExpressionContext

func NewNotExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NotExpressionContext

func (*NotExpressionContext) EnterRule

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

func (*NotExpressionContext) ExitRule

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

func (*NotExpressionContext) Expression

func (s *NotExpressionContext) Expression() IExpressionContext

func (*NotExpressionContext) GetRuleContext

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

func (*NotExpressionContext) SP

func (s *NotExpressionContext) SP() antlr.TerminalNode

type NumericLiteralContext

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

func NewEmptyNumericLiteralContext

func NewEmptyNumericLiteralContext() *NumericLiteralContext

func NewNumericLiteralContext

func NewNumericLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumericLiteralContext

func (*NumericLiteralContext) BinaryIntegerLiteral

func (s *NumericLiteralContext) BinaryIntegerLiteral() antlr.TerminalNode

func (*NumericLiteralContext) DecimalLiteral

func (s *NumericLiteralContext) DecimalLiteral() antlr.TerminalNode

func (*NumericLiteralContext) EnterRule

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

func (*NumericLiteralContext) ExitRule

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

func (*NumericLiteralContext) GetParser

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

func (*NumericLiteralContext) GetRuleContext

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

func (*NumericLiteralContext) HexIntegerLiteral

func (s *NumericLiteralContext) HexIntegerLiteral() antlr.TerminalNode

func (*NumericLiteralContext) IsNumericLiteralContext

func (*NumericLiteralContext) IsNumericLiteralContext()

func (*NumericLiteralContext) OctalIntegerLiteral2

func (s *NumericLiteralContext) OctalIntegerLiteral2() antlr.TerminalNode

func (*NumericLiteralContext) ToStringTree

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

type ParenthesizedExpressionContext

type ParenthesizedExpressionContext struct {
	ExpressionContext
}

func NewParenthesizedExpressionContext

func NewParenthesizedExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParenthesizedExpressionContext

func (*ParenthesizedExpressionContext) EnterRule

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

func (*ParenthesizedExpressionContext) ExitRule

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

func (*ParenthesizedExpressionContext) Expression

func (*ParenthesizedExpressionContext) GetRuleContext

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

type PathContext

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

func NewEmptyPathContext

func NewEmptyPathContext() *PathContext

func NewPathContext

func NewPathContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PathContext

func (*PathContext) EOF

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

func (*PathContext) EnterRule

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

func (*PathContext) ExitRule

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

func (*PathContext) Expression

func (s *PathContext) Expression() IExpressionContext

func (*PathContext) GetParser

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

func (*PathContext) GetRuleContext

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

func (*PathContext) IsPathContext

func (*PathContext) IsPathContext()

func (*PathContext) SP

func (s *PathContext) SP() antlr.TerminalNode

func (*PathContext) ToStringTree

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

type PowerExpressionContext

type PowerExpressionContext struct {
	ExpressionContext
}

func NewPowerExpressionContext

func NewPowerExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PowerExpressionContext

func (*PowerExpressionContext) AllExpression

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

func (*PowerExpressionContext) AllSP

func (s *PowerExpressionContext) AllSP() []antlr.TerminalNode

func (*PowerExpressionContext) EnterRule

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

func (*PowerExpressionContext) ExitRule

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

func (*PowerExpressionContext) Expression

func (*PowerExpressionContext) GetRuleContext

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

func (*PowerExpressionContext) SP

func (s *PowerExpressionContext) SP(i int) antlr.TerminalNode

type RecursiveDescentExpressionContext

type RecursiveDescentExpressionContext struct {
	ExpressionContext
}

func NewRecursiveDescentExpressionContext

func NewRecursiveDescentExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *RecursiveDescentExpressionContext

func (*RecursiveDescentExpressionContext) AllExpression

func (*RecursiveDescentExpressionContext) AllSP

func (s *RecursiveDescentExpressionContext) AllSP() []antlr.TerminalNode

func (*RecursiveDescentExpressionContext) EnterRule

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

func (*RecursiveDescentExpressionContext) ExitRule

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

func (*RecursiveDescentExpressionContext) Expression

func (*RecursiveDescentExpressionContext) GetRuleContext

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

func (*RecursiveDescentExpressionContext) SP

func (s *RecursiveDescentExpressionContext) SP(i int) antlr.TerminalNode

type RecursiveDescentMemberIndexExpressionContext

type RecursiveDescentMemberIndexExpressionContext struct {
	ExpressionContext
}

func NewRecursiveDescentMemberIndexExpressionContext

func NewRecursiveDescentMemberIndexExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *RecursiveDescentMemberIndexExpressionContext

func (*RecursiveDescentMemberIndexExpressionContext) AllIndexExpression

func (*RecursiveDescentMemberIndexExpressionContext) AllSP

func (s *RecursiveDescentMemberIndexExpressionContext) AllSP() []antlr.TerminalNode

func (*RecursiveDescentMemberIndexExpressionContext) EnterRule

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

func (*RecursiveDescentMemberIndexExpressionContext) ExitRule

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

func (*RecursiveDescentMemberIndexExpressionContext) Expression

func (*RecursiveDescentMemberIndexExpressionContext) GetRuleContext

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

func (*RecursiveDescentMemberIndexExpressionContext) IndexExpression

func (*RecursiveDescentMemberIndexExpressionContext) SP

func (s *RecursiveDescentMemberIndexExpressionContext) SP(i int) antlr.TerminalNode

type RecursiveDescentTermExpressionContext

type RecursiveDescentTermExpressionContext struct {
	ExpressionContext
}

func NewRecursiveDescentTermExpressionContext

func NewRecursiveDescentTermExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *RecursiveDescentTermExpressionContext

func (*RecursiveDescentTermExpressionContext) EnterRule

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

func (*RecursiveDescentTermExpressionContext) ExitRule

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

func (*RecursiveDescentTermExpressionContext) Expression

func (*RecursiveDescentTermExpressionContext) GetRuleContext

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

func (*RecursiveDescentTermExpressionContext) SP

func (s *RecursiveDescentTermExpressionContext) SP() antlr.TerminalNode

type RelationalExpressionContext

type RelationalExpressionContext struct {
	ExpressionContext
}

func NewRelationalExpressionContext

func NewRelationalExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *RelationalExpressionContext

func (*RelationalExpressionContext) AllExpression

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

func (*RelationalExpressionContext) AllSP

func (s *RelationalExpressionContext) AllSP() []antlr.TerminalNode

func (*RelationalExpressionContext) EnterRule

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

func (*RelationalExpressionContext) ExitRule

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

func (*RelationalExpressionContext) Expression

func (*RelationalExpressionContext) GetRuleContext

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

func (*RelationalExpressionContext) SP

func (s *RelationalExpressionContext) SP(i int) antlr.TerminalNode

type SelectorContext

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

func NewEmptySelectorContext

func NewEmptySelectorContext() *SelectorContext

func NewSelectorContext

func NewSelectorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SelectorContext

func (*SelectorContext) EnterRule

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

func (*SelectorContext) ExitRule

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

func (*SelectorContext) GetParser

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

func (*SelectorContext) GetRuleContext

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

func (*SelectorContext) IsSelectorContext

func (*SelectorContext) IsSelectorContext()

func (*SelectorContext) ToStringTree

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

type SelectorExpressionContext

type SelectorExpressionContext struct {
	ExpressionContext
}

func NewSelectorExpressionContext

func NewSelectorExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SelectorExpressionContext

func (*SelectorExpressionContext) EnterRule

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

func (*SelectorExpressionContext) ExitRule

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

func (*SelectorExpressionContext) GetRuleContext

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

func (*SelectorExpressionContext) Selector

type SimplePathContext

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

func NewEmptySimplePathContext

func NewEmptySimplePathContext() *SimplePathContext

func NewSimplePathContext

func NewSimplePathContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SimplePathContext

func (*SimplePathContext) EOF

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

func (*SimplePathContext) EnterRule

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

func (*SimplePathContext) ExitRule

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

func (*SimplePathContext) GetParser

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

func (*SimplePathContext) GetRuleContext

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

func (*SimplePathContext) IsSimplePathContext

func (*SimplePathContext) IsSimplePathContext()

func (*SimplePathContext) SP

func (s *SimplePathContext) SP() antlr.TerminalNode

func (*SimplePathContext) SimplePathExpr

func (s *SimplePathContext) SimplePathExpr() ISimplePathExprContext

func (*SimplePathContext) ToStringTree

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

type SimplePathExprContext

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

func NewEmptySimplePathExprContext

func NewEmptySimplePathExprContext() *SimplePathExprContext

func NewSimplePathExprContext

func NewSimplePathExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SimplePathExprContext

func (*SimplePathExprContext) AllSP

func (s *SimplePathExprContext) AllSP() []antlr.TerminalNode

func (*SimplePathExprContext) AllSimplePathExpr

func (s *SimplePathExprContext) AllSimplePathExpr() []ISimplePathExprContext

func (*SimplePathExprContext) EnterRule

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

func (*SimplePathExprContext) ExitRule

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

func (*SimplePathExprContext) GetParser

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

func (*SimplePathExprContext) GetRuleContext

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

func (*SimplePathExprContext) Identifier

func (s *SimplePathExprContext) Identifier() IIdentifierContext

func (*SimplePathExprContext) IsSimplePathExprContext

func (*SimplePathExprContext) IsSimplePathExprContext()

func (*SimplePathExprContext) Literal

func (*SimplePathExprContext) SP

func (s *SimplePathExprContext) SP(i int) antlr.TerminalNode

func (*SimplePathExprContext) SimplePathExpr

func (s *SimplePathExprContext) SimplePathExpr(i int) ISimplePathExprContext

func (*SimplePathExprContext) ToStringTree

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

type SliceContext

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

func NewEmptySliceContext

func NewEmptySliceContext() *SliceContext

func NewSliceContext

func NewSliceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SliceContext

func (*SliceContext) AllExpression

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

func (*SliceContext) EnterRule

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

func (*SliceContext) ExitRule

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

func (*SliceContext) Expression

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

func (*SliceContext) GetParser

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

func (*SliceContext) GetRuleContext

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

func (*SliceContext) IsSliceContext

func (*SliceContext) IsSliceContext()

func (*SliceContext) ToStringTree

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

type UnaryMinusExpressionContext

type UnaryMinusExpressionContext struct {
	ExpressionContext
}

func NewUnaryMinusExpressionContext

func NewUnaryMinusExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *UnaryMinusExpressionContext

func (*UnaryMinusExpressionContext) EnterRule

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

func (*UnaryMinusExpressionContext) ExitRule

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

func (*UnaryMinusExpressionContext) Expression

func (*UnaryMinusExpressionContext) GetRuleContext

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

func (*UnaryMinusExpressionContext) SP

func (s *UnaryMinusExpressionContext) SP() antlr.TerminalNode

type UnaryPlusExpressionContext

type UnaryPlusExpressionContext struct {
	ExpressionContext
}

func NewUnaryPlusExpressionContext

func NewUnaryPlusExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *UnaryPlusExpressionContext

func (*UnaryPlusExpressionContext) EnterRule

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

func (*UnaryPlusExpressionContext) ExitRule

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

func (*UnaryPlusExpressionContext) Expression

func (*UnaryPlusExpressionContext) GetRuleContext

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

func (*UnaryPlusExpressionContext) SP

func (s *UnaryPlusExpressionContext) SP() antlr.TerminalNode

Jump to

Keyboard shortcuts

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