parser

package
v0.0.0-...-f9dd102 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func InitEmptyAggregationContext

func InitEmptyAggregationContext(p *AggregationContext)

func InitEmptyBracketParamContext

func InitEmptyBracketParamContext(p *BracketParamContext)

func InitEmptyExpressionContext

func InitEmptyExpressionContext(p *ExpressionContext)

func InitEmptyIdentifierContext

func InitEmptyIdentifierContext(p *IdentifierContext)

func InitEmptyInvocationContext

func InitEmptyInvocationContext(p *InvocationContext)

func InitEmptyListEntriesContext

func InitEmptyListEntriesContext(p *ListEntriesContext)

func InitEmptyLiteralContext

func InitEmptyLiteralContext(p *LiteralContext)

func InitEmptyMapEntriesContext

func InitEmptyMapEntriesContext(p *MapEntriesContext)

func InitEmptyParamListContext

func InitEmptyParamListContext(p *ParamListContext)

func InitEmptyPathContext

func InitEmptyPathContext(p *PathContext)

func InitEmptyRegexContext

func InitEmptyRegexContext(p *RegexContext)

func InitEmptySubexpressionContext

func InitEmptySubexpressionContext(p *SubexpressionContext)

func NewyamlpathLexer

func NewyamlpathLexer(input antlr.CharStream) *yamlpathLexer

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

func NewyamlpathParser

func NewyamlpathParser(input antlr.TokenStream) *yamlpathParser

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

func YamlpathLexerInit

func YamlpathLexerInit()

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

func YamlpathParserInit

func YamlpathParserInit()

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

Types

type AdditiveSubexpressionContext

type AdditiveSubexpressionContext struct {
	SubexpressionContext
}

func NewAdditiveSubexpressionContext

func NewAdditiveSubexpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AdditiveSubexpressionContext

func (*AdditiveSubexpressionContext) AllSubexpression

func (s *AdditiveSubexpressionContext) AllSubexpression() []ISubexpressionContext

func (*AdditiveSubexpressionContext) GetRuleContext

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

func (*AdditiveSubexpressionContext) Subexpression

type AggregationContext

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

func NewAggregationContext

func NewAggregationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AggregationContext

func NewEmptyAggregationContext

func NewEmptyAggregationContext() *AggregationContext

func (*AggregationContext) CopyAll

func (s *AggregationContext) CopyAll(ctx *AggregationContext)

func (*AggregationContext) GetParser

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

func (*AggregationContext) GetRuleContext

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

func (*AggregationContext) IsAggregationContext

func (*AggregationContext) IsAggregationContext()

func (*AggregationContext) ToStringTree

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

type AggregationSubexpressionContext

type AggregationSubexpressionContext struct {
	SubexpressionContext
}

func NewAggregationSubexpressionContext

func NewAggregationSubexpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AggregationSubexpressionContext

func (*AggregationSubexpressionContext) Aggregation

func (*AggregationSubexpressionContext) GetRuleContext

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

type AndSubexpressionContext

type AndSubexpressionContext struct {
	SubexpressionContext
}

func NewAndSubexpressionContext

func NewAndSubexpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AndSubexpressionContext

func (*AndSubexpressionContext) AllSubexpression

func (s *AndSubexpressionContext) AllSubexpression() []ISubexpressionContext

func (*AndSubexpressionContext) GetRuleContext

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

func (*AndSubexpressionContext) Subexpression

type BooleanLiteralContext

type BooleanLiteralContext struct {
	LiteralContext
}

func NewBooleanLiteralContext

func NewBooleanLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BooleanLiteralContext

func (*BooleanLiteralContext) GetRuleContext

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

type BracketParamContext

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

func NewBracketParamContext

func NewBracketParamContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BracketParamContext

func NewEmptyBracketParamContext

func NewEmptyBracketParamContext() *BracketParamContext

func (*BracketParamContext) CopyAll

func (s *BracketParamContext) CopyAll(ctx *BracketParamContext)

func (*BracketParamContext) GetParser

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

func (*BracketParamContext) GetRuleContext

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

func (*BracketParamContext) IsBracketParamContext

func (*BracketParamContext) IsBracketParamContext()

func (*BracketParamContext) ToStringTree

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

type EqualitySubexpressionContext

type EqualitySubexpressionContext struct {
	SubexpressionContext
}

func NewEqualitySubexpressionContext

func NewEqualitySubexpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *EqualitySubexpressionContext

func (*EqualitySubexpressionContext) AllSubexpression

func (s *EqualitySubexpressionContext) AllSubexpression() []ISubexpressionContext

func (*EqualitySubexpressionContext) GetRuleContext

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

func (*EqualitySubexpressionContext) Subexpression

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 FieldExpressionContext

type FieldExpressionContext struct {
	ExpressionContext
}

func NewFieldExpressionContext

func NewFieldExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FieldExpressionContext

func (*FieldExpressionContext) Expression

func (*FieldExpressionContext) GetRuleContext

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

func (*FieldExpressionContext) Invocation

type FilterBracketContext

type FilterBracketContext struct {
	BracketParamContext
}

func NewFilterBracketContext

func NewFilterBracketContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FilterBracketContext

func (*FilterBracketContext) GetRuleContext

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

func (*FilterBracketContext) Subexpression

func (s *FilterBracketContext) Subexpression() ISubexpressionContext

type FunctionInvocationContext

type FunctionInvocationContext struct {
	InvocationContext
}

func NewFunctionInvocationContext

func NewFunctionInvocationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FunctionInvocationContext

func (*FunctionInvocationContext) GetRuleContext

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

func (*FunctionInvocationContext) Identifier

func (*FunctionInvocationContext) ParamList

type IAggregationContext

type IAggregationContext interface {
	antlr.ParserRuleContext

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

IAggregationContext is an interface to support dynamic dispatch.

type IBracketParamContext

type IBracketParamContext interface {
	antlr.ParserRuleContext

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

IBracketParamContext 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 IInvocationContext

type IInvocationContext interface {
	antlr.ParserRuleContext

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

IInvocationContext is an interface to support dynamic dispatch.

type IListEntriesContext

type IListEntriesContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllLiteral() []ILiteralContext
	Literal(i int) ILiteralContext

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

IListEntriesContext is an interface to support dynamic dispatch.

type ILiteralContext

type ILiteralContext interface {
	antlr.ParserRuleContext

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

ILiteralContext is an interface to support dynamic dispatch.

type IMapEntriesContext

type IMapEntriesContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllSTRING() []antlr.TerminalNode
	STRING(i int) antlr.TerminalNode
	AllAggregation() []IAggregationContext
	Aggregation(i int) IAggregationContext

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

IMapEntriesContext is an interface to support dynamic dispatch.

type IParamListContext

type IParamListContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllSubexpression() []ISubexpressionContext
	Subexpression(i int) ISubexpressionContext

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

IParamListContext 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

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

IPathContext is an interface to support dynamic dispatch.

type IRegexContext

type IRegexContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	REGEX() antlr.TerminalNode

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

IRegexContext is an interface to support dynamic dispatch.

type ISubexpressionContext

type ISubexpressionContext interface {
	antlr.ParserRuleContext

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

ISubexpressionContext 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) 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 IndexExpressionContext

type IndexExpressionContext struct {
	ExpressionContext
}

func NewIndexExpressionContext

func NewIndexExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IndexExpressionContext

func (*IndexExpressionContext) BracketParam

func (s *IndexExpressionContext) BracketParam() IBracketParamContext

func (*IndexExpressionContext) Expression

func (*IndexExpressionContext) GetRuleContext

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

type InequalitySubexpressionContext

type InequalitySubexpressionContext struct {
	SubexpressionContext
}

func NewInequalitySubexpressionContext

func NewInequalitySubexpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InequalitySubexpressionContext

func (*InequalitySubexpressionContext) AllSubexpression

func (s *InequalitySubexpressionContext) AllSubexpression() []ISubexpressionContext

func (*InequalitySubexpressionContext) GetRuleContext

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

func (*InequalitySubexpressionContext) Subexpression

type InvocationContext

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

func NewEmptyInvocationContext

func NewEmptyInvocationContext() *InvocationContext

func NewInvocationContext

func NewInvocationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InvocationContext

func (*InvocationContext) CopyAll

func (s *InvocationContext) CopyAll(ctx *InvocationContext)

func (*InvocationContext) GetParser

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

func (*InvocationContext) GetRuleContext

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

func (*InvocationContext) IsInvocationContext

func (*InvocationContext) IsInvocationContext()

func (*InvocationContext) ToStringTree

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

type ListAggregationContext

type ListAggregationContext struct {
	AggregationContext
}

func NewListAggregationContext

func NewListAggregationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ListAggregationContext

func (*ListAggregationContext) GetRuleContext

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

func (*ListAggregationContext) ListEntries

type ListEntriesContext

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

func NewEmptyListEntriesContext

func NewEmptyListEntriesContext() *ListEntriesContext

func NewListEntriesContext

func NewListEntriesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ListEntriesContext

func (*ListEntriesContext) AllLiteral

func (s *ListEntriesContext) AllLiteral() []ILiteralContext

func (*ListEntriesContext) GetParser

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

func (*ListEntriesContext) GetRuleContext

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

func (*ListEntriesContext) IsListEntriesContext

func (*ListEntriesContext) IsListEntriesContext()

func (*ListEntriesContext) Literal

func (s *ListEntriesContext) Literal(i int) ILiteralContext

func (*ListEntriesContext) ToStringTree

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

type LiteralAggregationContext

type LiteralAggregationContext struct {
	AggregationContext
}

func NewLiteralAggregationContext

func NewLiteralAggregationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LiteralAggregationContext

func (*LiteralAggregationContext) GetRuleContext

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

func (*LiteralAggregationContext) Literal

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

func (s *LiteralContext) CopyAll(ctx *LiteralContext)

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

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

type LiteralSubexpressionContext

type LiteralSubexpressionContext struct {
	SubexpressionContext
}

func NewLiteralSubexpressionContext

func NewLiteralSubexpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LiteralSubexpressionContext

func (*LiteralSubexpressionContext) GetRuleContext

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

func (*LiteralSubexpressionContext) Literal

type MapAggregationContext

type MapAggregationContext struct {
	AggregationContext
}

func NewMapAggregationContext

func NewMapAggregationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MapAggregationContext

func (*MapAggregationContext) GetRuleContext

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

func (*MapAggregationContext) MapEntries

func (s *MapAggregationContext) MapEntries() IMapEntriesContext

type MapEntriesContext

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

func NewEmptyMapEntriesContext

func NewEmptyMapEntriesContext() *MapEntriesContext

func NewMapEntriesContext

func NewMapEntriesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MapEntriesContext

func (*MapEntriesContext) Aggregation

func (s *MapEntriesContext) Aggregation(i int) IAggregationContext

func (*MapEntriesContext) AllAggregation

func (s *MapEntriesContext) AllAggregation() []IAggregationContext

func (*MapEntriesContext) AllSTRING

func (s *MapEntriesContext) AllSTRING() []antlr.TerminalNode

func (*MapEntriesContext) GetParser

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

func (*MapEntriesContext) GetRuleContext

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

func (*MapEntriesContext) IsMapEntriesContext

func (*MapEntriesContext) IsMapEntriesContext()

func (*MapEntriesContext) STRING

func (s *MapEntriesContext) STRING(i int) antlr.TerminalNode

func (*MapEntriesContext) ToStringTree

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

type MatchSubexpressionContext

type MatchSubexpressionContext struct {
	SubexpressionContext
}

func NewMatchSubexpressionContext

func NewMatchSubexpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MatchSubexpressionContext

func (*MatchSubexpressionContext) GetRuleContext

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

func (*MatchSubexpressionContext) Regex

func (*MatchSubexpressionContext) Subexpression

type MemberInvocationContext

type MemberInvocationContext struct {
	InvocationContext
}

func NewMemberInvocationContext

func NewMemberInvocationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MemberInvocationContext

func (*MemberInvocationContext) GetRuleContext

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

func (*MemberInvocationContext) Identifier

type MembershipSubexpressionContext

type MembershipSubexpressionContext struct {
	SubexpressionContext
}

func NewMembershipSubexpressionContext

func NewMembershipSubexpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MembershipSubexpressionContext

func (*MembershipSubexpressionContext) AllSubexpression

func (s *MembershipSubexpressionContext) AllSubexpression() []ISubexpressionContext

func (*MembershipSubexpressionContext) GetRuleContext

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

func (*MembershipSubexpressionContext) Subexpression

type MultiplicativeSubexpressionContext

type MultiplicativeSubexpressionContext struct {
	SubexpressionContext
}

func NewMultiplicativeSubexpressionContext

func NewMultiplicativeSubexpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MultiplicativeSubexpressionContext

func (*MultiplicativeSubexpressionContext) AllSubexpression

func (*MultiplicativeSubexpressionContext) GetRuleContext

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

func (*MultiplicativeSubexpressionContext) Subexpression

type NegationSubexpressionContext

type NegationSubexpressionContext struct {
	SubexpressionContext
}

func NewNegationSubexpressionContext

func NewNegationSubexpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NegationSubexpressionContext

func (*NegationSubexpressionContext) GetRuleContext

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

func (*NegationSubexpressionContext) Subexpression

type NullLiteralContext

type NullLiteralContext struct {
	LiteralContext
}

func NewNullLiteralContext

func NewNullLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NullLiteralContext

func (*NullLiteralContext) GetRuleContext

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

type NumberLiteralContext

type NumberLiteralContext struct {
	LiteralContext
}

func NewNumberLiteralContext

func NewNumberLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NumberLiteralContext

func (*NumberLiteralContext) GetRuleContext

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

func (*NumberLiteralContext) NUMBER

func (s *NumberLiteralContext) NUMBER() antlr.TerminalNode

type OrSubexpressionContext

type OrSubexpressionContext struct {
	SubexpressionContext
}

func NewOrSubexpressionContext

func NewOrSubexpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *OrSubexpressionContext

func (*OrSubexpressionContext) AllSubexpression

func (s *OrSubexpressionContext) AllSubexpression() []ISubexpressionContext

func (*OrSubexpressionContext) GetRuleContext

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

func (*OrSubexpressionContext) Subexpression

func (s *OrSubexpressionContext) Subexpression(i int) ISubexpressionContext

type ParamListContext

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

func NewEmptyParamListContext

func NewEmptyParamListContext() *ParamListContext

func NewParamListContext

func NewParamListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParamListContext

func (*ParamListContext) AllSubexpression

func (s *ParamListContext) AllSubexpression() []ISubexpressionContext

func (*ParamListContext) GetParser

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

func (*ParamListContext) GetRuleContext

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

func (*ParamListContext) IsParamListContext

func (*ParamListContext) IsParamListContext()

func (*ParamListContext) Subexpression

func (s *ParamListContext) Subexpression(i int) ISubexpressionContext

func (*ParamListContext) ToStringTree

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

type ParenthesisSubexpressionContext

type ParenthesisSubexpressionContext struct {
	SubexpressionContext
}

func NewParenthesisSubexpressionContext

func NewParenthesisSubexpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParenthesisSubexpressionContext

func (*ParenthesisSubexpressionContext) GetRuleContext

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

func (*ParenthesisSubexpressionContext) Subexpression

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

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

type PolaritySubexpressionContext

type PolaritySubexpressionContext struct {
	SubexpressionContext
}

func NewPolaritySubexpressionContext

func NewPolaritySubexpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PolaritySubexpressionContext

func (*PolaritySubexpressionContext) Expression

func (*PolaritySubexpressionContext) GetRuleContext

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

type RecursiveExpressionContext

type RecursiveExpressionContext struct {
	ExpressionContext
}

func NewRecursiveExpressionContext

func NewRecursiveExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *RecursiveExpressionContext

func (*RecursiveExpressionContext) Expression

func (*RecursiveExpressionContext) GetRuleContext

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

func (*RecursiveExpressionContext) Invocation

type RegexContext

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

func NewEmptyRegexContext

func NewEmptyRegexContext() *RegexContext

func NewRegexContext

func NewRegexContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RegexContext

func (*RegexContext) GetParser

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

func (*RegexContext) GetRuleContext

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

func (*RegexContext) IsRegexContext

func (*RegexContext) IsRegexContext()

func (*RegexContext) REGEX

func (s *RegexContext) REGEX() antlr.TerminalNode

func (*RegexContext) ToStringTree

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

type RootExpressionContext

type RootExpressionContext struct {
	ExpressionContext
}

func NewRootExpressionContext

func NewRootExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *RootExpressionContext

func (*RootExpressionContext) GetRuleContext

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

type RootSubexpressionContext

type RootSubexpressionContext struct {
	SubexpressionContext
}

func NewRootSubexpressionContext

func NewRootSubexpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *RootSubexpressionContext

func (*RootSubexpressionContext) Expression

func (*RootSubexpressionContext) GetRuleContext

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

type ScriptBracketContext

type ScriptBracketContext struct {
	BracketParamContext
}

func NewScriptBracketContext

func NewScriptBracketContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ScriptBracketContext

func (*ScriptBracketContext) GetRuleContext

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

func (*ScriptBracketContext) Subexpression

func (s *ScriptBracketContext) Subexpression() ISubexpressionContext

type SliceBracketContext

type SliceBracketContext struct {
	BracketParamContext
}

func NewSliceBracketContext

func NewSliceBracketContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SliceBracketContext

func (*SliceBracketContext) AllNUMBER

func (s *SliceBracketContext) AllNUMBER() []antlr.TerminalNode

func (*SliceBracketContext) GetRuleContext

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

func (*SliceBracketContext) NUMBER

func (s *SliceBracketContext) NUMBER(i int) antlr.TerminalNode

type StringLiteralContext

type StringLiteralContext struct {
	LiteralContext
}

func NewStringLiteralContext

func NewStringLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StringLiteralContext

func (*StringLiteralContext) GetRuleContext

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

func (*StringLiteralContext) STRING

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

type SubexpressionContext

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

func NewEmptySubexpressionContext

func NewEmptySubexpressionContext() *SubexpressionContext

func NewSubexpressionContext

func NewSubexpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubexpressionContext

func (*SubexpressionContext) CopyAll

func (s *SubexpressionContext) CopyAll(ctx *SubexpressionContext)

func (*SubexpressionContext) GetParser

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

func (*SubexpressionContext) GetRuleContext

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

func (*SubexpressionContext) IsSubexpressionContext

func (*SubexpressionContext) IsSubexpressionContext()

func (*SubexpressionContext) ToStringTree

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

type UnionNumberBracketContext

type UnionNumberBracketContext struct {
	BracketParamContext
}

func NewUnionNumberBracketContext

func NewUnionNumberBracketContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *UnionNumberBracketContext

func (*UnionNumberBracketContext) AllNUMBER

func (s *UnionNumberBracketContext) AllNUMBER() []antlr.TerminalNode

func (*UnionNumberBracketContext) GetRuleContext

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

func (*UnionNumberBracketContext) NUMBER

func (s *UnionNumberBracketContext) NUMBER(i int) antlr.TerminalNode

type UnionStringBracketContext

type UnionStringBracketContext struct {
	BracketParamContext
}

func NewUnionStringBracketContext

func NewUnionStringBracketContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *UnionStringBracketContext

func (*UnionStringBracketContext) AllSTRING

func (s *UnionStringBracketContext) AllSTRING() []antlr.TerminalNode

func (*UnionStringBracketContext) GetRuleContext

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

func (*UnionStringBracketContext) STRING

func (s *UnionStringBracketContext) STRING(i int) antlr.TerminalNode

type WildcardBracketContext

type WildcardBracketContext struct {
	BracketParamContext
}

func NewWildcardBracketContext

func NewWildcardBracketContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *WildcardBracketContext

func (*WildcardBracketContext) GetRuleContext

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

type WildcardInvocationContext

type WildcardInvocationContext struct {
	InvocationContext
}

func NewWildcardInvocationContext

func NewWildcardInvocationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *WildcardInvocationContext

func (*WildcardInvocationContext) GetRuleContext

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

Jump to

Keyboard shortcuts

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