cirqlgrammar

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func CirqlLexerInit

func CirqlLexerInit()

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

func CirqlParserInit

func CirqlParserInit()

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

func InitEmptyArgValueContext

func InitEmptyArgValueContext(p *ArgValueContext)

func InitEmptyArgumentContext

func InitEmptyArgumentContext(p *ArgumentContext)

func InitEmptyArgumentsContext

func InitEmptyArgumentsContext(p *ArgumentsContext)

func InitEmptyExprContext

func InitEmptyExprContext(p *ExprContext)

func InitEmptyFieldAccessContext

func InitEmptyFieldAccessContext(p *FieldAccessContext)

func InitEmptyFieldContext

func InitEmptyFieldContext(p *FieldContext)

func InitEmptyFieldNameContext added in v0.1.2

func InitEmptyFieldNameContext(p *FieldNameContext)

func InitEmptyFileStageContext

func InitEmptyFileStageContext(p *FileStageContext)

func InitEmptyFilterStageContext

func InitEmptyFilterStageContext(p *FilterStageContext)

func InitEmptyFlatMapStageContext

func InitEmptyFlatMapStageContext(p *FlatMapStageContext)

func InitEmptyFuncCallContext

func InitEmptyFuncCallContext(p *FuncCallContext)

func InitEmptyHttpStageContext

func InitEmptyHttpStageContext(p *HttpStageContext)

func InitEmptyLimitStageContext

func InitEmptyLimitStageContext(p *LimitStageContext)

func InitEmptyListLitContext

func InitEmptyListLitContext(p *ListLitContext)

func InitEmptyLiteralContext

func InitEmptyLiteralContext(p *LiteralContext)

func InitEmptyMapStageContext

func InitEmptyMapStageContext(p *MapStageContext)

func InitEmptyMappingContext

func InitEmptyMappingContext(p *MappingContext)

func InitEmptyObjectLitContext

func InitEmptyObjectLitContext(p *ObjectLitContext)

func InitEmptyPathSegContext

func InitEmptyPathSegContext(p *PathSegContext)

func InitEmptyPipelineContext

func InitEmptyPipelineContext(p *PipelineContext)

func InitEmptyQueryBodyContext

func InitEmptyQueryBodyContext(p *QueryBodyContext)

func InitEmptyQueryStageContext

func InitEmptyQueryStageContext(p *QueryStageContext)

func InitEmptyReduceOpContext

func InitEmptyReduceOpContext(p *ReduceOpContext)

func InitEmptyReduceStageContext

func InitEmptyReduceStageContext(p *ReduceStageContext)

func InitEmptySelectionSetContext

func InitEmptySelectionSetContext(p *SelectionSetContext)

func InitEmptySortStageContext

func InitEmptySortStageContext(p *SortStageContext)

func InitEmptySourceStageContext

func InitEmptySourceStageContext(p *SourceStageContext)

func InitEmptyStageContext

func InitEmptyStageContext(p *StageContext)

func InitEmptyStdinStageContext

func InitEmptyStdinStageContext(p *StdinStageContext)

func InitEmptyTransformStageContext

func InitEmptyTransformStageContext(p *TransformStageContext)

func InitEmptyUniqStageContext

func InitEmptyUniqStageContext(p *UniqStageContext)

func InitEmptyVariableContext

func InitEmptyVariableContext(p *VariableContext)

func NewcirqlLexer

func NewcirqlLexer(input antlr.CharStream) *cirqlLexer

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

func NewcirqlParser

func NewcirqlParser(input antlr.TokenStream) *cirqlParser

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

Types

type AddExprContext

type AddExprContext struct {
	ExprContext
}

func NewAddExprContext

func NewAddExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AddExprContext

func (*AddExprContext) AllExpr

func (s *AddExprContext) AllExpr() []IExprContext

func (*AddExprContext) EnterRule

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

func (*AddExprContext) ExitRule

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

func (*AddExprContext) Expr

func (s *AddExprContext) Expr(i int) IExprContext

func (*AddExprContext) GetRuleContext

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

func (*AddExprContext) MINUS

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

func (*AddExprContext) PLUS

func (s *AddExprContext) PLUS() antlr.TerminalNode

type AndExprContext

type AndExprContext struct {
	ExprContext
}

func NewAndExprContext

func NewAndExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AndExprContext

func (*AndExprContext) AND

func (*AndExprContext) AllExpr

func (s *AndExprContext) AllExpr() []IExprContext

func (*AndExprContext) EnterRule

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

func (*AndExprContext) ExitRule

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

func (*AndExprContext) Expr

func (s *AndExprContext) Expr(i int) IExprContext

func (*AndExprContext) GetRuleContext

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

type ArgValueContext

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

func NewArgValueContext

func NewArgValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgValueContext

func NewEmptyArgValueContext

func NewEmptyArgValueContext() *ArgValueContext

func (*ArgValueContext) EnterRule

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

func (*ArgValueContext) ExitRule

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

func (*ArgValueContext) GetParser

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

func (*ArgValueContext) GetRuleContext

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

func (*ArgValueContext) IsArgValueContext

func (*ArgValueContext) IsArgValueContext()

func (*ArgValueContext) ListLit

func (s *ArgValueContext) ListLit() IListLitContext

func (*ArgValueContext) Literal

func (s *ArgValueContext) Literal() ILiteralContext

func (*ArgValueContext) ObjectLit

func (s *ArgValueContext) ObjectLit() IObjectLitContext

func (*ArgValueContext) ToStringTree

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

func (*ArgValueContext) Variable

func (s *ArgValueContext) Variable() IVariableContext

type ArgumentContext

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

func NewArgumentContext

func NewArgumentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgumentContext

func NewEmptyArgumentContext

func NewEmptyArgumentContext() *ArgumentContext

func (*ArgumentContext) ArgValue

func (s *ArgumentContext) ArgValue() IArgValueContext

func (*ArgumentContext) COLON

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

func (*ArgumentContext) EnterRule

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

func (*ArgumentContext) ExitRule

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

func (*ArgumentContext) GetParser

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

func (*ArgumentContext) GetRuleContext

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

func (*ArgumentContext) IsArgumentContext

func (*ArgumentContext) IsArgumentContext()

func (*ArgumentContext) NAME

func (*ArgumentContext) ToStringTree

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

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

func (s *ArgumentsContext) AllArgument() []IArgumentContext

func (*ArgumentsContext) AllCOMMA

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

func (*ArgumentsContext) Argument

func (s *ArgumentsContext) Argument(i int) IArgumentContext

func (*ArgumentsContext) COMMA

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

func (*ArgumentsContext) EnterRule

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

func (*ArgumentsContext) ExitRule

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

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 BasecirqlListener

type BasecirqlListener struct{}

BasecirqlListener is a complete listener for a parse tree produced by cirqlParser.

func (*BasecirqlListener) EnterAddExpr

func (s *BasecirqlListener) EnterAddExpr(ctx *AddExprContext)

EnterAddExpr is called when production AddExpr is entered.

func (*BasecirqlListener) EnterAndExpr

func (s *BasecirqlListener) EnterAndExpr(ctx *AndExprContext)

EnterAndExpr is called when production AndExpr is entered.

func (*BasecirqlListener) EnterArgValue

func (s *BasecirqlListener) EnterArgValue(ctx *ArgValueContext)

EnterArgValue is called when production argValue is entered.

func (*BasecirqlListener) EnterArgument

func (s *BasecirqlListener) EnterArgument(ctx *ArgumentContext)

EnterArgument is called when production argument is entered.

func (*BasecirqlListener) EnterArguments

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

EnterArguments is called when production arguments is entered.

func (*BasecirqlListener) EnterCallExpr

func (s *BasecirqlListener) EnterCallExpr(ctx *CallExprContext)

EnterCallExpr is called when production CallExpr is entered.

func (*BasecirqlListener) EnterCmpExpr

func (s *BasecirqlListener) EnterCmpExpr(ctx *CmpExprContext)

EnterCmpExpr is called when production CmpExpr is entered.

func (*BasecirqlListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BasecirqlListener) EnterField

func (s *BasecirqlListener) EnterField(ctx *FieldContext)

EnterField is called when production field is entered.

func (*BasecirqlListener) EnterFieldAccess

func (s *BasecirqlListener) EnterFieldAccess(ctx *FieldAccessContext)

EnterFieldAccess is called when production fieldAccess is entered.

func (*BasecirqlListener) EnterFieldExpr

func (s *BasecirqlListener) EnterFieldExpr(ctx *FieldExprContext)

EnterFieldExpr is called when production FieldExpr is entered.

func (*BasecirqlListener) EnterFieldName added in v0.1.2

func (s *BasecirqlListener) EnterFieldName(ctx *FieldNameContext)

EnterFieldName is called when production fieldName is entered.

func (*BasecirqlListener) EnterFileStage

func (s *BasecirqlListener) EnterFileStage(ctx *FileStageContext)

EnterFileStage is called when production fileStage is entered.

func (*BasecirqlListener) EnterFilterStage

func (s *BasecirqlListener) EnterFilterStage(ctx *FilterStageContext)

EnterFilterStage is called when production filterStage is entered.

func (*BasecirqlListener) EnterFlatMapStage

func (s *BasecirqlListener) EnterFlatMapStage(ctx *FlatMapStageContext)

EnterFlatMapStage is called when production flatMapStage is entered.

func (*BasecirqlListener) EnterFuncCall

func (s *BasecirqlListener) EnterFuncCall(ctx *FuncCallContext)

EnterFuncCall is called when production funcCall is entered.

func (*BasecirqlListener) EnterHttpStage

func (s *BasecirqlListener) EnterHttpStage(ctx *HttpStageContext)

EnterHttpStage is called when production httpStage is entered.

func (*BasecirqlListener) EnterLimitStage

func (s *BasecirqlListener) EnterLimitStage(ctx *LimitStageContext)

EnterLimitStage is called when production limitStage is entered.

func (*BasecirqlListener) EnterListLit

func (s *BasecirqlListener) EnterListLit(ctx *ListLitContext)

EnterListLit is called when production listLit is entered.

func (*BasecirqlListener) EnterLitExpr

func (s *BasecirqlListener) EnterLitExpr(ctx *LitExprContext)

EnterLitExpr is called when production LitExpr is entered.

func (*BasecirqlListener) EnterLiteral

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

EnterLiteral is called when production literal is entered.

func (*BasecirqlListener) EnterMapStage

func (s *BasecirqlListener) EnterMapStage(ctx *MapStageContext)

EnterMapStage is called when production mapStage is entered.

func (*BasecirqlListener) EnterMapping

func (s *BasecirqlListener) EnterMapping(ctx *MappingContext)

EnterMapping is called when production mapping is entered.

func (*BasecirqlListener) EnterMulExpr

func (s *BasecirqlListener) EnterMulExpr(ctx *MulExprContext)

EnterMulExpr is called when production MulExpr is entered.

func (*BasecirqlListener) EnterObjectLit

func (s *BasecirqlListener) EnterObjectLit(ctx *ObjectLitContext)

EnterObjectLit is called when production objectLit is entered.

func (*BasecirqlListener) EnterOrExpr

func (s *BasecirqlListener) EnterOrExpr(ctx *OrExprContext)

EnterOrExpr is called when production OrExpr is entered.

func (*BasecirqlListener) EnterParenExpr

func (s *BasecirqlListener) EnterParenExpr(ctx *ParenExprContext)

EnterParenExpr is called when production ParenExpr is entered.

func (*BasecirqlListener) EnterPathSeg

func (s *BasecirqlListener) EnterPathSeg(ctx *PathSegContext)

EnterPathSeg is called when production pathSeg is entered.

func (*BasecirqlListener) EnterPipeline

func (s *BasecirqlListener) EnterPipeline(ctx *PipelineContext)

EnterPipeline is called when production pipeline is entered.

func (*BasecirqlListener) EnterQueryBody

func (s *BasecirqlListener) EnterQueryBody(ctx *QueryBodyContext)

EnterQueryBody is called when production queryBody is entered.

func (*BasecirqlListener) EnterQueryStage

func (s *BasecirqlListener) EnterQueryStage(ctx *QueryStageContext)

EnterQueryStage is called when production queryStage is entered.

func (*BasecirqlListener) EnterReduceOp

func (s *BasecirqlListener) EnterReduceOp(ctx *ReduceOpContext)

EnterReduceOp is called when production reduceOp is entered.

func (*BasecirqlListener) EnterReduceStage

func (s *BasecirqlListener) EnterReduceStage(ctx *ReduceStageContext)

EnterReduceStage is called when production reduceStage is entered.

func (*BasecirqlListener) EnterSelectionSet

func (s *BasecirqlListener) EnterSelectionSet(ctx *SelectionSetContext)

EnterSelectionSet is called when production selectionSet is entered.

func (*BasecirqlListener) EnterSortStage

func (s *BasecirqlListener) EnterSortStage(ctx *SortStageContext)

EnterSortStage is called when production sortStage is entered.

func (*BasecirqlListener) EnterSourceStage

func (s *BasecirqlListener) EnterSourceStage(ctx *SourceStageContext)

EnterSourceStage is called when production sourceStage is entered.

func (*BasecirqlListener) EnterStage

func (s *BasecirqlListener) EnterStage(ctx *StageContext)

EnterStage is called when production stage is entered.

func (*BasecirqlListener) EnterStdinStage

func (s *BasecirqlListener) EnterStdinStage(ctx *StdinStageContext)

EnterStdinStage is called when production stdinStage is entered.

func (*BasecirqlListener) EnterTransformStage

func (s *BasecirqlListener) EnterTransformStage(ctx *TransformStageContext)

EnterTransformStage is called when production transformStage is entered.

func (*BasecirqlListener) EnterUnaryExpr

func (s *BasecirqlListener) EnterUnaryExpr(ctx *UnaryExprContext)

EnterUnaryExpr is called when production UnaryExpr is entered.

func (*BasecirqlListener) EnterUniqStage

func (s *BasecirqlListener) EnterUniqStage(ctx *UniqStageContext)

EnterUniqStage is called when production uniqStage is entered.

func (*BasecirqlListener) EnterVarExpr

func (s *BasecirqlListener) EnterVarExpr(ctx *VarExprContext)

EnterVarExpr is called when production VarExpr is entered.

func (*BasecirqlListener) EnterVariable

func (s *BasecirqlListener) EnterVariable(ctx *VariableContext)

EnterVariable is called when production variable is entered.

func (*BasecirqlListener) ExitAddExpr

func (s *BasecirqlListener) ExitAddExpr(ctx *AddExprContext)

ExitAddExpr is called when production AddExpr is exited.

func (*BasecirqlListener) ExitAndExpr

func (s *BasecirqlListener) ExitAndExpr(ctx *AndExprContext)

ExitAndExpr is called when production AndExpr is exited.

func (*BasecirqlListener) ExitArgValue

func (s *BasecirqlListener) ExitArgValue(ctx *ArgValueContext)

ExitArgValue is called when production argValue is exited.

func (*BasecirqlListener) ExitArgument

func (s *BasecirqlListener) ExitArgument(ctx *ArgumentContext)

ExitArgument is called when production argument is exited.

func (*BasecirqlListener) ExitArguments

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

ExitArguments is called when production arguments is exited.

func (*BasecirqlListener) ExitCallExpr

func (s *BasecirqlListener) ExitCallExpr(ctx *CallExprContext)

ExitCallExpr is called when production CallExpr is exited.

func (*BasecirqlListener) ExitCmpExpr

func (s *BasecirqlListener) ExitCmpExpr(ctx *CmpExprContext)

ExitCmpExpr is called when production CmpExpr is exited.

func (*BasecirqlListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BasecirqlListener) ExitField

func (s *BasecirqlListener) ExitField(ctx *FieldContext)

ExitField is called when production field is exited.

func (*BasecirqlListener) ExitFieldAccess

func (s *BasecirqlListener) ExitFieldAccess(ctx *FieldAccessContext)

ExitFieldAccess is called when production fieldAccess is exited.

func (*BasecirqlListener) ExitFieldExpr

func (s *BasecirqlListener) ExitFieldExpr(ctx *FieldExprContext)

ExitFieldExpr is called when production FieldExpr is exited.

func (*BasecirqlListener) ExitFieldName added in v0.1.2

func (s *BasecirqlListener) ExitFieldName(ctx *FieldNameContext)

ExitFieldName is called when production fieldName is exited.

func (*BasecirqlListener) ExitFileStage

func (s *BasecirqlListener) ExitFileStage(ctx *FileStageContext)

ExitFileStage is called when production fileStage is exited.

func (*BasecirqlListener) ExitFilterStage

func (s *BasecirqlListener) ExitFilterStage(ctx *FilterStageContext)

ExitFilterStage is called when production filterStage is exited.

func (*BasecirqlListener) ExitFlatMapStage

func (s *BasecirqlListener) ExitFlatMapStage(ctx *FlatMapStageContext)

ExitFlatMapStage is called when production flatMapStage is exited.

func (*BasecirqlListener) ExitFuncCall

func (s *BasecirqlListener) ExitFuncCall(ctx *FuncCallContext)

ExitFuncCall is called when production funcCall is exited.

func (*BasecirqlListener) ExitHttpStage

func (s *BasecirqlListener) ExitHttpStage(ctx *HttpStageContext)

ExitHttpStage is called when production httpStage is exited.

func (*BasecirqlListener) ExitLimitStage

func (s *BasecirqlListener) ExitLimitStage(ctx *LimitStageContext)

ExitLimitStage is called when production limitStage is exited.

func (*BasecirqlListener) ExitListLit

func (s *BasecirqlListener) ExitListLit(ctx *ListLitContext)

ExitListLit is called when production listLit is exited.

func (*BasecirqlListener) ExitLitExpr

func (s *BasecirqlListener) ExitLitExpr(ctx *LitExprContext)

ExitLitExpr is called when production LitExpr is exited.

func (*BasecirqlListener) ExitLiteral

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

ExitLiteral is called when production literal is exited.

func (*BasecirqlListener) ExitMapStage

func (s *BasecirqlListener) ExitMapStage(ctx *MapStageContext)

ExitMapStage is called when production mapStage is exited.

func (*BasecirqlListener) ExitMapping

func (s *BasecirqlListener) ExitMapping(ctx *MappingContext)

ExitMapping is called when production mapping is exited.

func (*BasecirqlListener) ExitMulExpr

func (s *BasecirqlListener) ExitMulExpr(ctx *MulExprContext)

ExitMulExpr is called when production MulExpr is exited.

func (*BasecirqlListener) ExitObjectLit

func (s *BasecirqlListener) ExitObjectLit(ctx *ObjectLitContext)

ExitObjectLit is called when production objectLit is exited.

func (*BasecirqlListener) ExitOrExpr

func (s *BasecirqlListener) ExitOrExpr(ctx *OrExprContext)

ExitOrExpr is called when production OrExpr is exited.

func (*BasecirqlListener) ExitParenExpr

func (s *BasecirqlListener) ExitParenExpr(ctx *ParenExprContext)

ExitParenExpr is called when production ParenExpr is exited.

func (*BasecirqlListener) ExitPathSeg

func (s *BasecirqlListener) ExitPathSeg(ctx *PathSegContext)

ExitPathSeg is called when production pathSeg is exited.

func (*BasecirqlListener) ExitPipeline

func (s *BasecirqlListener) ExitPipeline(ctx *PipelineContext)

ExitPipeline is called when production pipeline is exited.

func (*BasecirqlListener) ExitQueryBody

func (s *BasecirqlListener) ExitQueryBody(ctx *QueryBodyContext)

ExitQueryBody is called when production queryBody is exited.

func (*BasecirqlListener) ExitQueryStage

func (s *BasecirqlListener) ExitQueryStage(ctx *QueryStageContext)

ExitQueryStage is called when production queryStage is exited.

func (*BasecirqlListener) ExitReduceOp

func (s *BasecirqlListener) ExitReduceOp(ctx *ReduceOpContext)

ExitReduceOp is called when production reduceOp is exited.

func (*BasecirqlListener) ExitReduceStage

func (s *BasecirqlListener) ExitReduceStage(ctx *ReduceStageContext)

ExitReduceStage is called when production reduceStage is exited.

func (*BasecirqlListener) ExitSelectionSet

func (s *BasecirqlListener) ExitSelectionSet(ctx *SelectionSetContext)

ExitSelectionSet is called when production selectionSet is exited.

func (*BasecirqlListener) ExitSortStage

func (s *BasecirqlListener) ExitSortStage(ctx *SortStageContext)

ExitSortStage is called when production sortStage is exited.

func (*BasecirqlListener) ExitSourceStage

func (s *BasecirqlListener) ExitSourceStage(ctx *SourceStageContext)

ExitSourceStage is called when production sourceStage is exited.

func (*BasecirqlListener) ExitStage

func (s *BasecirqlListener) ExitStage(ctx *StageContext)

ExitStage is called when production stage is exited.

func (*BasecirqlListener) ExitStdinStage

func (s *BasecirqlListener) ExitStdinStage(ctx *StdinStageContext)

ExitStdinStage is called when production stdinStage is exited.

func (*BasecirqlListener) ExitTransformStage

func (s *BasecirqlListener) ExitTransformStage(ctx *TransformStageContext)

ExitTransformStage is called when production transformStage is exited.

func (*BasecirqlListener) ExitUnaryExpr

func (s *BasecirqlListener) ExitUnaryExpr(ctx *UnaryExprContext)

ExitUnaryExpr is called when production UnaryExpr is exited.

func (*BasecirqlListener) ExitUniqStage

func (s *BasecirqlListener) ExitUniqStage(ctx *UniqStageContext)

ExitUniqStage is called when production uniqStage is exited.

func (*BasecirqlListener) ExitVarExpr

func (s *BasecirqlListener) ExitVarExpr(ctx *VarExprContext)

ExitVarExpr is called when production VarExpr is exited.

func (*BasecirqlListener) ExitVariable

func (s *BasecirqlListener) ExitVariable(ctx *VariableContext)

ExitVariable is called when production variable is exited.

func (*BasecirqlListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BasecirqlListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type CallExprContext

type CallExprContext struct {
	ExprContext
}

func NewCallExprContext

func NewCallExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CallExprContext

func (*CallExprContext) EnterRule

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

func (*CallExprContext) ExitRule

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

func (*CallExprContext) FuncCall

func (s *CallExprContext) FuncCall() IFuncCallContext

func (*CallExprContext) GetRuleContext

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

type CmpExprContext

type CmpExprContext struct {
	ExprContext
}

func NewCmpExprContext

func NewCmpExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CmpExprContext

func (*CmpExprContext) AllExpr

func (s *CmpExprContext) AllExpr() []IExprContext

func (*CmpExprContext) EQ

func (*CmpExprContext) EnterRule

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

func (*CmpExprContext) ExitRule

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

func (*CmpExprContext) Expr

func (s *CmpExprContext) Expr(i int) IExprContext

func (*CmpExprContext) GE

func (*CmpExprContext) GT

func (*CmpExprContext) GetRuleContext

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

func (*CmpExprContext) LE

func (*CmpExprContext) LT

func (*CmpExprContext) NE

type ExprContext

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

func NewEmptyExprContext

func NewEmptyExprContext() *ExprContext

func NewExprContext

func NewExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprContext

func (*ExprContext) CopyAll

func (s *ExprContext) CopyAll(ctx *ExprContext)

func (*ExprContext) GetParser

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

func (*ExprContext) GetRuleContext

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

func (*ExprContext) IsExprContext

func (*ExprContext) IsExprContext()

func (*ExprContext) ToStringTree

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

type FieldAccessContext

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

func NewEmptyFieldAccessContext

func NewEmptyFieldAccessContext() *FieldAccessContext

func NewFieldAccessContext

func NewFieldAccessContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldAccessContext

func (*FieldAccessContext) AllPathSeg

func (s *FieldAccessContext) AllPathSeg() []IPathSegContext

func (*FieldAccessContext) DOT

func (*FieldAccessContext) EnterRule

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

func (*FieldAccessContext) ExitRule

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

func (*FieldAccessContext) FieldName added in v0.1.2

func (s *FieldAccessContext) FieldName() IFieldNameContext

func (*FieldAccessContext) GetParser

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

func (*FieldAccessContext) GetRuleContext

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

func (*FieldAccessContext) IsFieldAccessContext

func (*FieldAccessContext) IsFieldAccessContext()

func (*FieldAccessContext) LBRACK added in v0.1.2

func (*FieldAccessContext) PathSeg

func (s *FieldAccessContext) PathSeg(i int) IPathSegContext

func (*FieldAccessContext) RBRACK added in v0.1.2

func (*FieldAccessContext) ToStringTree

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

type FieldContext

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

func NewEmptyFieldContext

func NewEmptyFieldContext() *FieldContext

func NewFieldContext

func NewFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldContext

func (*FieldContext) Arguments

func (s *FieldContext) Arguments() IArgumentsContext

func (*FieldContext) EnterRule

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

func (*FieldContext) ExitRule

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

func (*FieldContext) GetParser

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

func (*FieldContext) GetRuleContext

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

func (*FieldContext) IsFieldContext

func (*FieldContext) IsFieldContext()

func (*FieldContext) LBRACE

func (s *FieldContext) LBRACE() antlr.TerminalNode

func (*FieldContext) LPAREN

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

func (*FieldContext) NAME

func (s *FieldContext) NAME() antlr.TerminalNode

func (*FieldContext) RBRACE

func (s *FieldContext) RBRACE() antlr.TerminalNode

func (*FieldContext) RPAREN

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

func (*FieldContext) SelectionSet

func (s *FieldContext) SelectionSet() ISelectionSetContext

func (*FieldContext) ToStringTree

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

type FieldExprContext

type FieldExprContext struct {
	ExprContext
}

func NewFieldExprContext

func NewFieldExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FieldExprContext

func (*FieldExprContext) EnterRule

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

func (*FieldExprContext) ExitRule

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

func (*FieldExprContext) FieldAccess

func (s *FieldExprContext) FieldAccess() IFieldAccessContext

func (*FieldExprContext) GetRuleContext

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

type FieldNameContext added in v0.1.2

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

func NewEmptyFieldNameContext added in v0.1.2

func NewEmptyFieldNameContext() *FieldNameContext

func NewFieldNameContext added in v0.1.2

func NewFieldNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldNameContext

func (*FieldNameContext) ASC added in v0.1.2

func (*FieldNameContext) AVG added in v0.1.2

func (*FieldNameContext) COLLECT added in v0.1.2

func (s *FieldNameContext) COLLECT() antlr.TerminalNode

func (*FieldNameContext) COUNT added in v0.1.2

func (s *FieldNameContext) COUNT() antlr.TerminalNode

func (*FieldNameContext) DESC added in v0.1.2

func (*FieldNameContext) EnterRule added in v0.1.2

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

func (*FieldNameContext) ExitRule added in v0.1.2

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

func (*FieldNameContext) FALSE added in v0.1.2

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

func (*FieldNameContext) FILE added in v0.1.2

func (*FieldNameContext) FILTER added in v0.1.2

func (s *FieldNameContext) FILTER() antlr.TerminalNode

func (*FieldNameContext) FIRST added in v0.1.2

func (s *FieldNameContext) FIRST() antlr.TerminalNode

func (*FieldNameContext) FLATMAP added in v0.1.2

func (s *FieldNameContext) FLATMAP() antlr.TerminalNode

func (*FieldNameContext) GROUP_BY added in v0.1.2

func (s *FieldNameContext) GROUP_BY() antlr.TerminalNode

func (*FieldNameContext) GetParser added in v0.1.2

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

func (*FieldNameContext) GetRuleContext added in v0.1.2

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

func (*FieldNameContext) HTTP added in v0.1.2

func (*FieldNameContext) IsFieldNameContext added in v0.1.2

func (*FieldNameContext) IsFieldNameContext()

func (*FieldNameContext) LAST added in v0.1.2

func (*FieldNameContext) LIMIT added in v0.1.2

func (s *FieldNameContext) LIMIT() antlr.TerminalNode

func (*FieldNameContext) MAP added in v0.1.2

func (*FieldNameContext) MAX added in v0.1.2

func (*FieldNameContext) MIN added in v0.1.2

func (*FieldNameContext) NAME added in v0.1.2

func (*FieldNameContext) NULL added in v0.1.2

func (*FieldNameContext) QUERY added in v0.1.2

func (s *FieldNameContext) QUERY() antlr.TerminalNode

func (*FieldNameContext) REDUCE added in v0.1.2

func (s *FieldNameContext) REDUCE() antlr.TerminalNode

func (*FieldNameContext) SORT added in v0.1.2

func (*FieldNameContext) STDIN added in v0.1.2

func (s *FieldNameContext) STDIN() antlr.TerminalNode

func (*FieldNameContext) SUM added in v0.1.2

func (*FieldNameContext) TRUE added in v0.1.2

func (*FieldNameContext) ToStringTree added in v0.1.2

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

func (*FieldNameContext) UNIQ added in v0.1.2

type FileStageContext

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

func NewEmptyFileStageContext

func NewEmptyFileStageContext() *FileStageContext

func NewFileStageContext

func NewFileStageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FileStageContext

func (*FileStageContext) EnterRule

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

func (*FileStageContext) ExitRule

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

func (*FileStageContext) FILE

func (*FileStageContext) GetParser

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

func (*FileStageContext) GetRuleContext

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

func (*FileStageContext) IsFileStageContext

func (*FileStageContext) IsFileStageContext()

func (*FileStageContext) STRING

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

func (*FileStageContext) ToStringTree

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

type FilterStageContext

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

func NewEmptyFilterStageContext

func NewEmptyFilterStageContext() *FilterStageContext

func NewFilterStageContext

func NewFilterStageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FilterStageContext

func (*FilterStageContext) EnterRule

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

func (*FilterStageContext) ExitRule

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

func (*FilterStageContext) Expr

func (s *FilterStageContext) Expr() IExprContext

func (*FilterStageContext) FILTER

func (*FilterStageContext) GetParser

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

func (*FilterStageContext) GetRuleContext

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

func (*FilterStageContext) IsFilterStageContext

func (*FilterStageContext) IsFilterStageContext()

func (*FilterStageContext) ToStringTree

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

type FlatMapStageContext

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

func NewEmptyFlatMapStageContext

func NewEmptyFlatMapStageContext() *FlatMapStageContext

func NewFlatMapStageContext

func NewFlatMapStageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FlatMapStageContext

func (*FlatMapStageContext) AllCOMMA

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

func (*FlatMapStageContext) AllMapping

func (s *FlatMapStageContext) AllMapping() []IMappingContext

func (*FlatMapStageContext) COMMA

func (*FlatMapStageContext) EnterRule

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

func (*FlatMapStageContext) ExitRule

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

func (*FlatMapStageContext) FLATMAP

func (s *FlatMapStageContext) FLATMAP() antlr.TerminalNode

func (*FlatMapStageContext) GetParser

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

func (*FlatMapStageContext) GetRuleContext

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

func (*FlatMapStageContext) IsFlatMapStageContext

func (*FlatMapStageContext) IsFlatMapStageContext()

func (*FlatMapStageContext) LBRACE

func (*FlatMapStageContext) Mapping

func (s *FlatMapStageContext) Mapping(i int) IMappingContext

func (*FlatMapStageContext) RBRACE

func (*FlatMapStageContext) ToStringTree

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

type FuncCallContext

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

func NewEmptyFuncCallContext

func NewEmptyFuncCallContext() *FuncCallContext

func NewFuncCallContext

func NewFuncCallContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncCallContext

func (*FuncCallContext) AllCOMMA

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

func (*FuncCallContext) AllExpr

func (s *FuncCallContext) AllExpr() []IExprContext

func (*FuncCallContext) COMMA

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

func (*FuncCallContext) EnterRule

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

func (*FuncCallContext) ExitRule

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

func (*FuncCallContext) Expr

func (s *FuncCallContext) Expr(i int) IExprContext

func (*FuncCallContext) GetParser

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

func (*FuncCallContext) GetRuleContext

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

func (*FuncCallContext) IsFuncCallContext

func (*FuncCallContext) IsFuncCallContext()

func (*FuncCallContext) LPAREN

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

func (*FuncCallContext) NAME

func (*FuncCallContext) RPAREN

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

func (*FuncCallContext) ToStringTree

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

type HttpStageContext

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

func NewEmptyHttpStageContext

func NewEmptyHttpStageContext() *HttpStageContext

func NewHttpStageContext

func NewHttpStageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HttpStageContext

func (*HttpStageContext) EnterRule

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

func (*HttpStageContext) ExitRule

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

func (*HttpStageContext) GetParser

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

func (*HttpStageContext) GetRuleContext

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

func (*HttpStageContext) HTTP

func (*HttpStageContext) IsHttpStageContext

func (*HttpStageContext) IsHttpStageContext()

func (*HttpStageContext) STRING

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

func (*HttpStageContext) ToStringTree

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

func (*HttpStageContext) Variable

func (s *HttpStageContext) Variable() IVariableContext

type IArgValueContext

type IArgValueContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Variable() IVariableContext
	Literal() ILiteralContext
	ListLit() IListLitContext
	ObjectLit() IObjectLitContext

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

IArgValueContext is an interface to support dynamic dispatch.

type IArgumentContext

type IArgumentContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	NAME() antlr.TerminalNode
	COLON() antlr.TerminalNode
	ArgValue() IArgValueContext

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

IArgumentContext is an interface to support dynamic dispatch.

type IArgumentsContext

type IArgumentsContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllArgument() []IArgumentContext
	Argument(i int) IArgumentContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IArgumentsContext is an interface to support dynamic dispatch.

type IExprContext

type IExprContext interface {
	antlr.ParserRuleContext

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

IExprContext is an interface to support dynamic dispatch.

type IFieldAccessContext

type IFieldAccessContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	DOT() antlr.TerminalNode
	FieldName() IFieldNameContext
	LBRACK() antlr.TerminalNode
	RBRACK() antlr.TerminalNode
	AllPathSeg() []IPathSegContext
	PathSeg(i int) IPathSegContext

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

IFieldAccessContext is an interface to support dynamic dispatch.

type IFieldContext

type IFieldContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	NAME() antlr.TerminalNode
	LPAREN() antlr.TerminalNode
	Arguments() IArgumentsContext
	RPAREN() antlr.TerminalNode
	LBRACE() antlr.TerminalNode
	SelectionSet() ISelectionSetContext
	RBRACE() antlr.TerminalNode

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

IFieldContext is an interface to support dynamic dispatch.

type IFieldNameContext added in v0.1.2

type IFieldNameContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	NAME() antlr.TerminalNode
	QUERY() antlr.TerminalNode
	HTTP() antlr.TerminalNode
	FILE() antlr.TerminalNode
	STDIN() antlr.TerminalNode
	MAP() antlr.TerminalNode
	FLATMAP() antlr.TerminalNode
	FILTER() antlr.TerminalNode
	REDUCE() antlr.TerminalNode
	SORT() antlr.TerminalNode
	LIMIT() antlr.TerminalNode
	UNIQ() antlr.TerminalNode
	COUNT() antlr.TerminalNode
	SUM() antlr.TerminalNode
	MIN() antlr.TerminalNode
	MAX() antlr.TerminalNode
	AVG() antlr.TerminalNode
	FIRST() antlr.TerminalNode
	LAST() antlr.TerminalNode
	GROUP_BY() antlr.TerminalNode
	COLLECT() antlr.TerminalNode
	ASC() antlr.TerminalNode
	DESC() antlr.TerminalNode
	TRUE() antlr.TerminalNode
	FALSE() antlr.TerminalNode
	NULL() antlr.TerminalNode

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

IFieldNameContext is an interface to support dynamic dispatch.

type IFileStageContext

type IFileStageContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	FILE() antlr.TerminalNode
	STRING() antlr.TerminalNode

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

IFileStageContext is an interface to support dynamic dispatch.

type IFilterStageContext

type IFilterStageContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	FILTER() antlr.TerminalNode
	Expr() IExprContext

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

IFilterStageContext is an interface to support dynamic dispatch.

type IFlatMapStageContext

type IFlatMapStageContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	FLATMAP() antlr.TerminalNode
	LBRACE() antlr.TerminalNode
	AllMapping() []IMappingContext
	Mapping(i int) IMappingContext
	RBRACE() antlr.TerminalNode
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IFlatMapStageContext is an interface to support dynamic dispatch.

type IFuncCallContext

type IFuncCallContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	NAME() antlr.TerminalNode
	LPAREN() antlr.TerminalNode
	RPAREN() antlr.TerminalNode
	AllExpr() []IExprContext
	Expr(i int) IExprContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IFuncCallContext is an interface to support dynamic dispatch.

type IHttpStageContext

type IHttpStageContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	HTTP() antlr.TerminalNode
	STRING() antlr.TerminalNode
	Variable() IVariableContext

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

IHttpStageContext is an interface to support dynamic dispatch.

type ILimitStageContext

type ILimitStageContext interface {
	antlr.ParserRuleContext

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

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

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

ILimitStageContext is an interface to support dynamic dispatch.

type IListLitContext

type IListLitContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	LBRACK() antlr.TerminalNode
	RBRACK() antlr.TerminalNode
	AllArgValue() []IArgValueContext
	ArgValue(i int) IArgValueContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IListLitContext is an interface to support dynamic dispatch.

type ILiteralContext

type ILiteralContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	STRING() antlr.TerminalNode
	FLOAT() antlr.TerminalNode
	INT() antlr.TerminalNode
	TRUE() antlr.TerminalNode
	FALSE() antlr.TerminalNode
	NULL() antlr.TerminalNode

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

ILiteralContext is an interface to support dynamic dispatch.

type IMapStageContext

type IMapStageContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	MAP() antlr.TerminalNode
	LBRACE() antlr.TerminalNode
	AllMapping() []IMappingContext
	Mapping(i int) IMappingContext
	RBRACE() antlr.TerminalNode
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IMapStageContext is an interface to support dynamic dispatch.

type IMappingContext

type IMappingContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	FieldName() IFieldNameContext
	COLON() antlr.TerminalNode
	Expr() IExprContext

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

IMappingContext is an interface to support dynamic dispatch.

type IObjectLitContext

type IObjectLitContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	LBRACE() antlr.TerminalNode
	RBRACE() antlr.TerminalNode
	AllNAME() []antlr.TerminalNode
	NAME(i int) antlr.TerminalNode
	AllCOLON() []antlr.TerminalNode
	COLON(i int) antlr.TerminalNode
	AllArgValue() []IArgValueContext
	ArgValue(i int) IArgValueContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IObjectLitContext is an interface to support dynamic dispatch.

type IPathSegContext

type IPathSegContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	DOT() antlr.TerminalNode
	FieldName() IFieldNameContext
	LBRACK() antlr.TerminalNode
	RBRACK() antlr.TerminalNode

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

IPathSegContext is an interface to support dynamic dispatch.

type IPipelineContext

type IPipelineContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllStage() []IStageContext
	Stage(i int) IStageContext
	EOF() antlr.TerminalNode
	AllPIPE() []antlr.TerminalNode
	PIPE(i int) antlr.TerminalNode

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

IPipelineContext is an interface to support dynamic dispatch.

type IQueryBodyContext

type IQueryBodyContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	LBRACE() antlr.TerminalNode
	SelectionSet() ISelectionSetContext
	RBRACE() antlr.TerminalNode

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

IQueryBodyContext is an interface to support dynamic dispatch.

type IQueryStageContext

type IQueryStageContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	QUERY() antlr.TerminalNode
	QueryBody() IQueryBodyContext

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

IQueryStageContext is an interface to support dynamic dispatch.

type IReduceOpContext

type IReduceOpContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	COUNT() antlr.TerminalNode
	SUM() antlr.TerminalNode
	MIN() antlr.TerminalNode
	MAX() antlr.TerminalNode
	AVG() antlr.TerminalNode
	FIRST() antlr.TerminalNode
	LAST() antlr.TerminalNode
	GROUP_BY() antlr.TerminalNode
	COLLECT() antlr.TerminalNode

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

IReduceOpContext is an interface to support dynamic dispatch.

type IReduceStageContext

type IReduceStageContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	REDUCE() antlr.TerminalNode
	ReduceOp() IReduceOpContext
	LPAREN() antlr.TerminalNode
	Expr() IExprContext
	RPAREN() antlr.TerminalNode

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

IReduceStageContext is an interface to support dynamic dispatch.

type ISelectionSetContext

type ISelectionSetContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllField() []IFieldContext
	Field(i int) IFieldContext

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

ISelectionSetContext is an interface to support dynamic dispatch.

type ISortStageContext

type ISortStageContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	SORT() antlr.TerminalNode
	Expr() IExprContext
	ASC() antlr.TerminalNode
	DESC() antlr.TerminalNode

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

ISortStageContext is an interface to support dynamic dispatch.

type ISourceStageContext

type ISourceStageContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	QueryStage() IQueryStageContext
	HttpStage() IHttpStageContext
	FileStage() IFileStageContext
	StdinStage() IStdinStageContext

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

ISourceStageContext is an interface to support dynamic dispatch.

type IStageContext

type IStageContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	SourceStage() ISourceStageContext
	TransformStage() ITransformStageContext

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

IStageContext is an interface to support dynamic dispatch.

type IStdinStageContext

type IStdinStageContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	STDIN() antlr.TerminalNode

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

IStdinStageContext is an interface to support dynamic dispatch.

type ITransformStageContext

type ITransformStageContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	MapStage() IMapStageContext
	FilterStage() IFilterStageContext
	ReduceStage() IReduceStageContext
	SortStage() ISortStageContext
	FlatMapStage() IFlatMapStageContext
	LimitStage() ILimitStageContext
	UniqStage() IUniqStageContext

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

ITransformStageContext is an interface to support dynamic dispatch.

type IUniqStageContext

type IUniqStageContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	UNIQ() antlr.TerminalNode
	Expr() IExprContext

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

IUniqStageContext is an interface to support dynamic dispatch.

type IVariableContext

type IVariableContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	DOLLAR() antlr.TerminalNode
	NAME() antlr.TerminalNode

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

IVariableContext is an interface to support dynamic dispatch.

type LimitStageContext

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

func NewEmptyLimitStageContext

func NewEmptyLimitStageContext() *LimitStageContext

func NewLimitStageContext

func NewLimitStageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LimitStageContext

func (*LimitStageContext) EnterRule

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

func (*LimitStageContext) ExitRule

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

func (*LimitStageContext) GetParser

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

func (*LimitStageContext) GetRuleContext

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

func (*LimitStageContext) INT

func (*LimitStageContext) IsLimitStageContext

func (*LimitStageContext) IsLimitStageContext()

func (*LimitStageContext) LIMIT

func (*LimitStageContext) ToStringTree

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

type ListLitContext

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

func NewEmptyListLitContext

func NewEmptyListLitContext() *ListLitContext

func NewListLitContext

func NewListLitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ListLitContext

func (*ListLitContext) AllArgValue

func (s *ListLitContext) AllArgValue() []IArgValueContext

func (*ListLitContext) AllCOMMA

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

func (*ListLitContext) ArgValue

func (s *ListLitContext) ArgValue(i int) IArgValueContext

func (*ListLitContext) COMMA

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

func (*ListLitContext) EnterRule

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

func (*ListLitContext) ExitRule

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

func (*ListLitContext) GetParser

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

func (*ListLitContext) GetRuleContext

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

func (*ListLitContext) IsListLitContext

func (*ListLitContext) IsListLitContext()

func (*ListLitContext) LBRACK

func (s *ListLitContext) LBRACK() antlr.TerminalNode

func (*ListLitContext) RBRACK

func (s *ListLitContext) RBRACK() antlr.TerminalNode

func (*ListLitContext) ToStringTree

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

type LitExprContext

type LitExprContext struct {
	ExprContext
}

func NewLitExprContext

func NewLitExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LitExprContext

func (*LitExprContext) EnterRule

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

func (*LitExprContext) ExitRule

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

func (*LitExprContext) GetRuleContext

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

func (*LitExprContext) Literal

func (s *LitExprContext) Literal() ILiteralContext

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

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

func (*LiteralContext) ExitRule

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

func (*LiteralContext) FALSE

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

func (*LiteralContext) FLOAT

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

func (*LiteralContext) GetParser

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

func (*LiteralContext) GetRuleContext

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

func (*LiteralContext) INT

func (*LiteralContext) IsLiteralContext

func (*LiteralContext) IsLiteralContext()

func (*LiteralContext) NULL

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

func (*LiteralContext) STRING

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

func (*LiteralContext) TRUE

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

func (*LiteralContext) ToStringTree

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

type MapStageContext

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

func NewEmptyMapStageContext

func NewEmptyMapStageContext() *MapStageContext

func NewMapStageContext

func NewMapStageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MapStageContext

func (*MapStageContext) AllCOMMA

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

func (*MapStageContext) AllMapping

func (s *MapStageContext) AllMapping() []IMappingContext

func (*MapStageContext) COMMA

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

func (*MapStageContext) EnterRule

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

func (*MapStageContext) ExitRule

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

func (*MapStageContext) GetParser

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

func (*MapStageContext) GetRuleContext

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

func (*MapStageContext) IsMapStageContext

func (*MapStageContext) IsMapStageContext()

func (*MapStageContext) LBRACE

func (s *MapStageContext) LBRACE() antlr.TerminalNode

func (*MapStageContext) MAP

func (*MapStageContext) Mapping

func (s *MapStageContext) Mapping(i int) IMappingContext

func (*MapStageContext) RBRACE

func (s *MapStageContext) RBRACE() antlr.TerminalNode

func (*MapStageContext) ToStringTree

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

type MappingContext

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

func NewEmptyMappingContext

func NewEmptyMappingContext() *MappingContext

func NewMappingContext

func NewMappingContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MappingContext

func (*MappingContext) COLON

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

func (*MappingContext) EnterRule

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

func (*MappingContext) ExitRule

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

func (*MappingContext) Expr

func (s *MappingContext) Expr() IExprContext

func (*MappingContext) FieldName added in v0.1.2

func (s *MappingContext) FieldName() IFieldNameContext

func (*MappingContext) GetParser

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

func (*MappingContext) GetRuleContext

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

func (*MappingContext) IsMappingContext

func (*MappingContext) IsMappingContext()

func (*MappingContext) ToStringTree

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

type MulExprContext

type MulExprContext struct {
	ExprContext
}

func NewMulExprContext

func NewMulExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MulExprContext

func (*MulExprContext) AllExpr

func (s *MulExprContext) AllExpr() []IExprContext

func (*MulExprContext) EnterRule

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

func (*MulExprContext) ExitRule

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

func (*MulExprContext) Expr

func (s *MulExprContext) Expr(i int) IExprContext

func (*MulExprContext) GetRuleContext

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

func (*MulExprContext) PERCENT

func (s *MulExprContext) PERCENT() antlr.TerminalNode

func (*MulExprContext) SLASH

func (s *MulExprContext) SLASH() antlr.TerminalNode

func (*MulExprContext) STAR

func (s *MulExprContext) STAR() antlr.TerminalNode

type ObjectLitContext

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

func NewEmptyObjectLitContext

func NewEmptyObjectLitContext() *ObjectLitContext

func NewObjectLitContext

func NewObjectLitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ObjectLitContext

func (*ObjectLitContext) AllArgValue

func (s *ObjectLitContext) AllArgValue() []IArgValueContext

func (*ObjectLitContext) AllCOLON

func (s *ObjectLitContext) AllCOLON() []antlr.TerminalNode

func (*ObjectLitContext) AllCOMMA

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

func (*ObjectLitContext) AllNAME

func (s *ObjectLitContext) AllNAME() []antlr.TerminalNode

func (*ObjectLitContext) ArgValue

func (s *ObjectLitContext) ArgValue(i int) IArgValueContext

func (*ObjectLitContext) COLON

func (s *ObjectLitContext) COLON(i int) antlr.TerminalNode

func (*ObjectLitContext) COMMA

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

func (*ObjectLitContext) EnterRule

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

func (*ObjectLitContext) ExitRule

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

func (*ObjectLitContext) GetParser

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

func (*ObjectLitContext) GetRuleContext

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

func (*ObjectLitContext) IsObjectLitContext

func (*ObjectLitContext) IsObjectLitContext()

func (*ObjectLitContext) LBRACE

func (s *ObjectLitContext) LBRACE() antlr.TerminalNode

func (*ObjectLitContext) NAME

func (*ObjectLitContext) RBRACE

func (s *ObjectLitContext) RBRACE() antlr.TerminalNode

func (*ObjectLitContext) ToStringTree

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

type OrExprContext

type OrExprContext struct {
	ExprContext
}

func NewOrExprContext

func NewOrExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *OrExprContext

func (*OrExprContext) AllExpr

func (s *OrExprContext) AllExpr() []IExprContext

func (*OrExprContext) EnterRule

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

func (*OrExprContext) ExitRule

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

func (*OrExprContext) Expr

func (s *OrExprContext) Expr(i int) IExprContext

func (*OrExprContext) GetRuleContext

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

func (*OrExprContext) OR

type ParenExprContext

type ParenExprContext struct {
	ExprContext
}

func NewParenExprContext

func NewParenExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParenExprContext

func (*ParenExprContext) EnterRule

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

func (*ParenExprContext) ExitRule

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

func (*ParenExprContext) Expr

func (s *ParenExprContext) Expr() IExprContext

func (*ParenExprContext) GetRuleContext

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

func (*ParenExprContext) LPAREN

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

func (*ParenExprContext) RPAREN

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

type PathSegContext

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

func NewEmptyPathSegContext

func NewEmptyPathSegContext() *PathSegContext

func NewPathSegContext

func NewPathSegContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PathSegContext

func (*PathSegContext) DOT

func (*PathSegContext) EnterRule

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

func (*PathSegContext) ExitRule

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

func (*PathSegContext) FieldName added in v0.1.2

func (s *PathSegContext) FieldName() IFieldNameContext

func (*PathSegContext) GetParser

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

func (*PathSegContext) GetRuleContext

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

func (*PathSegContext) IsPathSegContext

func (*PathSegContext) IsPathSegContext()

func (*PathSegContext) LBRACK

func (s *PathSegContext) LBRACK() antlr.TerminalNode

func (*PathSegContext) RBRACK

func (s *PathSegContext) RBRACK() antlr.TerminalNode

func (*PathSegContext) ToStringTree

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

type PipelineContext

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

func NewEmptyPipelineContext

func NewEmptyPipelineContext() *PipelineContext

func NewPipelineContext

func NewPipelineContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PipelineContext

func (*PipelineContext) AllPIPE

func (s *PipelineContext) AllPIPE() []antlr.TerminalNode

func (*PipelineContext) AllStage

func (s *PipelineContext) AllStage() []IStageContext

func (*PipelineContext) EOF

func (*PipelineContext) EnterRule

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

func (*PipelineContext) ExitRule

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

func (*PipelineContext) GetParser

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

func (*PipelineContext) GetRuleContext

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

func (*PipelineContext) IsPipelineContext

func (*PipelineContext) IsPipelineContext()

func (*PipelineContext) PIPE

func (*PipelineContext) Stage

func (s *PipelineContext) Stage(i int) IStageContext

func (*PipelineContext) ToStringTree

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

type QueryBodyContext

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

func NewEmptyQueryBodyContext

func NewEmptyQueryBodyContext() *QueryBodyContext

func NewQueryBodyContext

func NewQueryBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QueryBodyContext

func (*QueryBodyContext) EnterRule

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

func (*QueryBodyContext) ExitRule

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

func (*QueryBodyContext) GetParser

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

func (*QueryBodyContext) GetRuleContext

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

func (*QueryBodyContext) IsQueryBodyContext

func (*QueryBodyContext) IsQueryBodyContext()

func (*QueryBodyContext) LBRACE

func (s *QueryBodyContext) LBRACE() antlr.TerminalNode

func (*QueryBodyContext) RBRACE

func (s *QueryBodyContext) RBRACE() antlr.TerminalNode

func (*QueryBodyContext) SelectionSet

func (s *QueryBodyContext) SelectionSet() ISelectionSetContext

func (*QueryBodyContext) ToStringTree

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

type QueryStageContext

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

func NewEmptyQueryStageContext

func NewEmptyQueryStageContext() *QueryStageContext

func NewQueryStageContext

func NewQueryStageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QueryStageContext

func (*QueryStageContext) EnterRule

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

func (*QueryStageContext) ExitRule

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

func (*QueryStageContext) GetParser

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

func (*QueryStageContext) GetRuleContext

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

func (*QueryStageContext) IsQueryStageContext

func (*QueryStageContext) IsQueryStageContext()

func (*QueryStageContext) QUERY

func (*QueryStageContext) QueryBody

func (s *QueryStageContext) QueryBody() IQueryBodyContext

func (*QueryStageContext) ToStringTree

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

type ReduceOpContext

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

func NewEmptyReduceOpContext

func NewEmptyReduceOpContext() *ReduceOpContext

func NewReduceOpContext

func NewReduceOpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReduceOpContext

func (*ReduceOpContext) AVG

func (*ReduceOpContext) COLLECT

func (s *ReduceOpContext) COLLECT() antlr.TerminalNode

func (*ReduceOpContext) COUNT

func (s *ReduceOpContext) COUNT() antlr.TerminalNode

func (*ReduceOpContext) EnterRule

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

func (*ReduceOpContext) ExitRule

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

func (*ReduceOpContext) FIRST

func (s *ReduceOpContext) FIRST() antlr.TerminalNode

func (*ReduceOpContext) GROUP_BY

func (s *ReduceOpContext) GROUP_BY() antlr.TerminalNode

func (*ReduceOpContext) GetParser

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

func (*ReduceOpContext) GetRuleContext

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

func (*ReduceOpContext) IsReduceOpContext

func (*ReduceOpContext) IsReduceOpContext()

func (*ReduceOpContext) LAST

func (*ReduceOpContext) MAX

func (*ReduceOpContext) MIN

func (*ReduceOpContext) SUM

func (*ReduceOpContext) ToStringTree

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

type ReduceStageContext

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

func NewEmptyReduceStageContext

func NewEmptyReduceStageContext() *ReduceStageContext

func NewReduceStageContext

func NewReduceStageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReduceStageContext

func (*ReduceStageContext) EnterRule

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

func (*ReduceStageContext) ExitRule

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

func (*ReduceStageContext) Expr

func (s *ReduceStageContext) Expr() IExprContext

func (*ReduceStageContext) GetParser

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

func (*ReduceStageContext) GetRuleContext

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

func (*ReduceStageContext) IsReduceStageContext

func (*ReduceStageContext) IsReduceStageContext()

func (*ReduceStageContext) LPAREN

func (*ReduceStageContext) REDUCE

func (*ReduceStageContext) RPAREN

func (*ReduceStageContext) ReduceOp

func (s *ReduceStageContext) ReduceOp() IReduceOpContext

func (*ReduceStageContext) ToStringTree

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

type SelectionSetContext

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

func NewEmptySelectionSetContext

func NewEmptySelectionSetContext() *SelectionSetContext

func NewSelectionSetContext

func NewSelectionSetContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SelectionSetContext

func (*SelectionSetContext) AllField

func (s *SelectionSetContext) AllField() []IFieldContext

func (*SelectionSetContext) EnterRule

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

func (*SelectionSetContext) ExitRule

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

func (*SelectionSetContext) Field

func (*SelectionSetContext) GetParser

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

func (*SelectionSetContext) GetRuleContext

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

func (*SelectionSetContext) IsSelectionSetContext

func (*SelectionSetContext) IsSelectionSetContext()

func (*SelectionSetContext) ToStringTree

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

type SortStageContext

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

func NewEmptySortStageContext

func NewEmptySortStageContext() *SortStageContext

func NewSortStageContext

func NewSortStageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SortStageContext

func (*SortStageContext) ASC

func (*SortStageContext) DESC

func (*SortStageContext) EnterRule

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

func (*SortStageContext) ExitRule

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

func (*SortStageContext) Expr

func (s *SortStageContext) Expr() IExprContext

func (*SortStageContext) GetParser

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

func (*SortStageContext) GetRuleContext

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

func (*SortStageContext) IsSortStageContext

func (*SortStageContext) IsSortStageContext()

func (*SortStageContext) SORT

func (*SortStageContext) ToStringTree

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

type SourceStageContext

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

func NewEmptySourceStageContext

func NewEmptySourceStageContext() *SourceStageContext

func NewSourceStageContext

func NewSourceStageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SourceStageContext

func (*SourceStageContext) EnterRule

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

func (*SourceStageContext) ExitRule

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

func (*SourceStageContext) FileStage

func (s *SourceStageContext) FileStage() IFileStageContext

func (*SourceStageContext) GetParser

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

func (*SourceStageContext) GetRuleContext

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

func (*SourceStageContext) HttpStage

func (s *SourceStageContext) HttpStage() IHttpStageContext

func (*SourceStageContext) IsSourceStageContext

func (*SourceStageContext) IsSourceStageContext()

func (*SourceStageContext) QueryStage

func (s *SourceStageContext) QueryStage() IQueryStageContext

func (*SourceStageContext) StdinStage

func (s *SourceStageContext) StdinStage() IStdinStageContext

func (*SourceStageContext) ToStringTree

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

type StageContext

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

func NewEmptyStageContext

func NewEmptyStageContext() *StageContext

func NewStageContext

func NewStageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StageContext

func (*StageContext) EnterRule

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

func (*StageContext) ExitRule

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

func (*StageContext) GetParser

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

func (*StageContext) GetRuleContext

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

func (*StageContext) IsStageContext

func (*StageContext) IsStageContext()

func (*StageContext) SourceStage

func (s *StageContext) SourceStage() ISourceStageContext

func (*StageContext) ToStringTree

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

func (*StageContext) TransformStage

func (s *StageContext) TransformStage() ITransformStageContext

type StdinStageContext

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

func NewEmptyStdinStageContext

func NewEmptyStdinStageContext() *StdinStageContext

func NewStdinStageContext

func NewStdinStageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StdinStageContext

func (*StdinStageContext) EnterRule

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

func (*StdinStageContext) ExitRule

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

func (*StdinStageContext) GetParser

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

func (*StdinStageContext) GetRuleContext

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

func (*StdinStageContext) IsStdinStageContext

func (*StdinStageContext) IsStdinStageContext()

func (*StdinStageContext) STDIN

func (*StdinStageContext) ToStringTree

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

type TransformStageContext

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

func NewEmptyTransformStageContext

func NewEmptyTransformStageContext() *TransformStageContext

func NewTransformStageContext

func NewTransformStageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TransformStageContext

func (*TransformStageContext) EnterRule

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

func (*TransformStageContext) ExitRule

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

func (*TransformStageContext) FilterStage

func (s *TransformStageContext) FilterStage() IFilterStageContext

func (*TransformStageContext) FlatMapStage

func (s *TransformStageContext) FlatMapStage() IFlatMapStageContext

func (*TransformStageContext) GetParser

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

func (*TransformStageContext) GetRuleContext

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

func (*TransformStageContext) IsTransformStageContext

func (*TransformStageContext) IsTransformStageContext()

func (*TransformStageContext) LimitStage

func (s *TransformStageContext) LimitStage() ILimitStageContext

func (*TransformStageContext) MapStage

func (*TransformStageContext) ReduceStage

func (s *TransformStageContext) ReduceStage() IReduceStageContext

func (*TransformStageContext) SortStage

func (*TransformStageContext) ToStringTree

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

func (*TransformStageContext) UniqStage

type UnaryExprContext

type UnaryExprContext struct {
	ExprContext
}

func NewUnaryExprContext

func NewUnaryExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *UnaryExprContext

func (*UnaryExprContext) EnterRule

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

func (*UnaryExprContext) ExitRule

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

func (*UnaryExprContext) Expr

func (s *UnaryExprContext) Expr() IExprContext

func (*UnaryExprContext) GetRuleContext

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

func (*UnaryExprContext) MINUS

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

func (*UnaryExprContext) NOT

type UniqStageContext

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

func NewEmptyUniqStageContext

func NewEmptyUniqStageContext() *UniqStageContext

func NewUniqStageContext

func NewUniqStageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UniqStageContext

func (*UniqStageContext) EnterRule

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

func (*UniqStageContext) ExitRule

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

func (*UniqStageContext) Expr

func (s *UniqStageContext) Expr() IExprContext

func (*UniqStageContext) GetParser

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

func (*UniqStageContext) GetRuleContext

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

func (*UniqStageContext) IsUniqStageContext

func (*UniqStageContext) IsUniqStageContext()

func (*UniqStageContext) ToStringTree

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

func (*UniqStageContext) UNIQ

type VarExprContext

type VarExprContext struct {
	ExprContext
}

func NewVarExprContext

func NewVarExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *VarExprContext

func (*VarExprContext) EnterRule

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

func (*VarExprContext) ExitRule

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

func (*VarExprContext) GetRuleContext

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

func (*VarExprContext) Variable

func (s *VarExprContext) Variable() IVariableContext

type VariableContext

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

func NewEmptyVariableContext

func NewEmptyVariableContext() *VariableContext

func NewVariableContext

func NewVariableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableContext

func (*VariableContext) DOLLAR

func (s *VariableContext) DOLLAR() antlr.TerminalNode

func (*VariableContext) EnterRule

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

func (*VariableContext) ExitRule

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

func (*VariableContext) GetParser

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

func (*VariableContext) GetRuleContext

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

func (*VariableContext) IsVariableContext

func (*VariableContext) IsVariableContext()

func (*VariableContext) NAME

func (*VariableContext) ToStringTree

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

Jump to

Keyboard shortcuts

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