Documentation
¶
Index ¶
- Constants
- Variables
- func BuildASTV3(rule string) (*rules.Rule, error)
- func InitEmptyAttrPathContext(p *AttrPathContext)
- func InitEmptyFunctionArgContext(p *FunctionArgContext)
- func InitEmptyListBooleansContext(p *ListBooleansContext)
- func InitEmptyListDoublesContext(p *ListDoublesContext)
- func InitEmptyListIntsContext(p *ListIntsContext)
- func InitEmptyListStringsContext(p *ListStringsContext)
- func InitEmptyQueryContext(p *QueryContext)
- func InitEmptySubAttrContext(p *SubAttrContext)
- func InitEmptySubListOfBooleansContext(p *SubListOfBooleansContext)
- func InitEmptySubListOfDoublesContext(p *SubListOfDoublesContext)
- func InitEmptySubListOfIntsContext(p *SubListOfIntsContext)
- func InitEmptySubListOfStringsContext(p *SubListOfStringsContext)
- func InitEmptyValueContext(p *ValueContext)
- func JsonQueryLexerInit()
- func JsonQueryParserInit()
- func OpToString(op rules.ComparisonOperator) (string, error)
- func RuleToString(rule *rules.Rule) (string, error)
- type ASTBuilderV3
- func (a *ASTBuilderV3) Visit(tree antlr.ParseTree) interface{}
- func (a *ASTBuilderV3) VisitAndLogicalExp(ctx *AndLogicalExpContext) interface{}
- func (a *ASTBuilderV3) VisitAttrPath(ctx *AttrPathContext) interface{}
- func (a *ASTBuilderV3) VisitBoolean(ctx *BooleanContext) interface{}
- func (a *ASTBuilderV3) VisitCallExp(ctx *CallExpContext) interface{}
- func (a *ASTBuilderV3) VisitCompareExp(ctx *CompareExpContext) (ret interface{})
- func (a *ASTBuilderV3) VisitDouble(ctx *DoubleContext) interface{}
- func (a *ASTBuilderV3) VisitFunctionArg(ctx *FunctionArgContext) interface{}
- func (a *ASTBuilderV3) VisitListBooleans(ctx *ListBooleansContext) interface{}
- func (a *ASTBuilderV3) VisitListDoubles(ctx *ListDoublesContext) interface{}
- func (a *ASTBuilderV3) VisitListInts(ctx *ListIntsContext) interface{}
- func (a *ASTBuilderV3) VisitListOfBooleans(ctx *ListOfBooleansContext) interface{}
- func (a *ASTBuilderV3) VisitListOfDoubles(ctx *ListOfDoublesContext) interface{}
- func (a *ASTBuilderV3) VisitListOfInts(ctx *ListOfIntsContext) interface{}
- func (a *ASTBuilderV3) VisitListOfStrings(ctx *ListOfStringsContext) interface{}
- func (a *ASTBuilderV3) VisitListStrings(ctx *ListStringsContext) interface{}
- func (a *ASTBuilderV3) VisitLong(ctx *LongContext) interface{}
- func (a *ASTBuilderV3) VisitNull(ctx *NullContext) interface{}
- func (a *ASTBuilderV3) VisitOrLogicalExp(ctx *OrLogicalExpContext) interface{}
- func (a *ASTBuilderV3) VisitParenExp(ctx *ParenExpContext) interface{}
- func (a *ASTBuilderV3) VisitPresentExp(ctx *PresentExpContext) interface{}
- func (a *ASTBuilderV3) VisitString(ctx *StringContext) interface{}
- func (a *ASTBuilderV3) VisitSubAttr(ctx *SubAttrContext) interface{}
- func (a *ASTBuilderV3) VisitSubListOfBooleans(ctx *SubListOfBooleansContext) interface{}
- func (a *ASTBuilderV3) VisitSubListOfDoubles(ctx *SubListOfDoublesContext) interface{}
- func (a *ASTBuilderV3) VisitSubListOfInts(ctx *SubListOfIntsContext) interface{}
- func (a *ASTBuilderV3) VisitSubListOfStrings(ctx *SubListOfStringsContext) interface{}
- func (a *ASTBuilderV3) VisitVersion(ctx *VersionContext) interface{}
- type AndLogicalExpContext
- func (s *AndLogicalExpContext) AND_OPERATOR() antlr.TerminalNode
- func (s *AndLogicalExpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AndLogicalExpContext) AllQuery() []IQueryContext
- func (s *AndLogicalExpContext) AllSP() []antlr.TerminalNode
- func (s *AndLogicalExpContext) GetRuleContext() antlr.RuleContext
- func (s *AndLogicalExpContext) Query(i int) IQueryContext
- func (s *AndLogicalExpContext) SP(i int) antlr.TerminalNode
- type AttrPathContext
- func (s *AttrPathContext) ATTRNAME() antlr.TerminalNode
- func (s *AttrPathContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AttrPathContext) GetParser() antlr.Parser
- func (s *AttrPathContext) GetRuleContext() antlr.RuleContext
- func (*AttrPathContext) IsAttrPathContext()
- func (s *AttrPathContext) SubAttr() ISubAttrContext
- func (s *AttrPathContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BaseJsonQueryVisitor
- func (v *BaseJsonQueryVisitor) VisitAndLogicalExp(ctx *AndLogicalExpContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitAttrPath(ctx *AttrPathContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitBoolean(ctx *BooleanContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitCallExp(ctx *CallExpContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitCompareExp(ctx *CompareExpContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitDouble(ctx *DoubleContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitFunctionArg(ctx *FunctionArgContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitListBooleans(ctx *ListBooleansContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitListDoubles(ctx *ListDoublesContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitListInts(ctx *ListIntsContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitListOfBooleans(ctx *ListOfBooleansContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitListOfDoubles(ctx *ListOfDoublesContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitListOfInts(ctx *ListOfIntsContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitListOfStrings(ctx *ListOfStringsContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitListStrings(ctx *ListStringsContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitLong(ctx *LongContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitNull(ctx *NullContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitOrLogicalExp(ctx *OrLogicalExpContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitParenExp(ctx *ParenExpContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitPresentExp(ctx *PresentExpContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitString(ctx *StringContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitSubAttr(ctx *SubAttrContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitSubListOfBooleans(ctx *SubListOfBooleansContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitSubListOfDoubles(ctx *SubListOfDoublesContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitSubListOfInts(ctx *SubListOfIntsContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitSubListOfStrings(ctx *SubListOfStringsContext) interface{}
- func (v *BaseJsonQueryVisitor) VisitVersion(ctx *VersionContext) interface{}
- type BooleanContext
- type CallExpContext
- func (s *CallExpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CallExpContext) AllCOMMA() []antlr.TerminalNode
- func (s *CallExpContext) AllFunctionArg() []IFunctionArgContext
- func (s *CallExpContext) AttrPath() IAttrPathContext
- func (s *CallExpContext) COMMA(i int) antlr.TerminalNode
- func (s *CallExpContext) FunctionArg(i int) IFunctionArgContext
- func (s *CallExpContext) GetRuleContext() antlr.RuleContext
- type CompareExpContext
- func (s *CompareExpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CompareExpContext) AllSP() []antlr.TerminalNode
- func (s *CompareExpContext) AttrPath() IAttrPathContext
- func (s *CompareExpContext) CO() antlr.TerminalNode
- func (s *CompareExpContext) EQ() antlr.TerminalNode
- func (s *CompareExpContext) EW() antlr.TerminalNode
- func (s *CompareExpContext) GE() antlr.TerminalNode
- func (s *CompareExpContext) GT() antlr.TerminalNode
- func (s *CompareExpContext) GetOp() antlr.Token
- func (s *CompareExpContext) GetRuleContext() antlr.RuleContext
- func (s *CompareExpContext) IN() antlr.TerminalNode
- func (s *CompareExpContext) LE() antlr.TerminalNode
- func (s *CompareExpContext) LT() antlr.TerminalNode
- func (s *CompareExpContext) NE() antlr.TerminalNode
- func (s *CompareExpContext) SP(i int) antlr.TerminalNode
- func (s *CompareExpContext) SW() antlr.TerminalNode
- func (s *CompareExpContext) SetOp(v antlr.Token)
- func (s *CompareExpContext) Value() IValueContext
- type DoubleContext
- type FunctionArgContext
- func (s *FunctionArgContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FunctionArgContext) AttrPath() IAttrPathContext
- func (s *FunctionArgContext) GetParser() antlr.Parser
- func (s *FunctionArgContext) GetRuleContext() antlr.RuleContext
- func (*FunctionArgContext) IsFunctionArgContext()
- func (s *FunctionArgContext) Query() IQueryContext
- func (s *FunctionArgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *FunctionArgContext) Value() IValueContext
- type IAttrPathContext
- type IFunctionArgContext
- type IListBooleansContext
- type IListDoublesContext
- type IListIntsContext
- type IListStringsContext
- type IQueryContext
- type ISubAttrContext
- type ISubListOfBooleansContext
- type ISubListOfDoublesContext
- type ISubListOfIntsContext
- type ISubListOfStringsContext
- type IValueContext
- type JsonQueryLexer
- type JsonQueryParser
- func (p *JsonQueryParser) AttrPath() (localctx IAttrPathContext)
- func (p *JsonQueryParser) FunctionArg() (localctx IFunctionArgContext)
- func (p *JsonQueryParser) ListBooleans() (localctx IListBooleansContext)
- func (p *JsonQueryParser) ListDoubles() (localctx IListDoublesContext)
- func (p *JsonQueryParser) ListInts() (localctx IListIntsContext)
- func (p *JsonQueryParser) ListStrings() (localctx IListStringsContext)
- func (p *JsonQueryParser) Query() (localctx IQueryContext)
- func (p *JsonQueryParser) Query_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JsonQueryParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *JsonQueryParser) SubAttr() (localctx ISubAttrContext)
- func (p *JsonQueryParser) SubListOfBooleans() (localctx ISubListOfBooleansContext)
- func (p *JsonQueryParser) SubListOfDoubles() (localctx ISubListOfDoublesContext)
- func (p *JsonQueryParser) SubListOfInts() (localctx ISubListOfIntsContext)
- func (p *JsonQueryParser) SubListOfStrings() (localctx ISubListOfStringsContext)
- func (p *JsonQueryParser) Value() (localctx IValueContext)
- type JsonQueryVisitor
- type ListBooleansContext
- func (s *ListBooleansContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ListBooleansContext) GetParser() antlr.Parser
- func (s *ListBooleansContext) GetRuleContext() antlr.RuleContext
- func (*ListBooleansContext) IsListBooleansContext()
- func (s *ListBooleansContext) SubListOfBooleans() ISubListOfBooleansContext
- func (s *ListBooleansContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ListDoublesContext
- func (s *ListDoublesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ListDoublesContext) GetParser() antlr.Parser
- func (s *ListDoublesContext) GetRuleContext() antlr.RuleContext
- func (*ListDoublesContext) IsListDoublesContext()
- func (s *ListDoublesContext) SubListOfDoubles() ISubListOfDoublesContext
- func (s *ListDoublesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ListIntsContext
- func (s *ListIntsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ListIntsContext) GetParser() antlr.Parser
- func (s *ListIntsContext) GetRuleContext() antlr.RuleContext
- func (*ListIntsContext) IsListIntsContext()
- func (s *ListIntsContext) SubListOfInts() ISubListOfIntsContext
- func (s *ListIntsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ListOfBooleansContext
- type ListOfDoublesContext
- type ListOfIntsContext
- type ListOfStringsContext
- type ListStringsContext
- func (s *ListStringsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ListStringsContext) GetParser() antlr.Parser
- func (s *ListStringsContext) GetRuleContext() antlr.RuleContext
- func (*ListStringsContext) IsListStringsContext()
- func (s *ListStringsContext) SubListOfStrings() ISubListOfStringsContext
- func (s *ListStringsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LongContext
- type NullContext
- type OrLogicalExpContext
- func (s *OrLogicalExpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *OrLogicalExpContext) AllQuery() []IQueryContext
- func (s *OrLogicalExpContext) AllSP() []antlr.TerminalNode
- func (s *OrLogicalExpContext) GetRuleContext() antlr.RuleContext
- func (s *OrLogicalExpContext) OR_OPERATOR() antlr.TerminalNode
- func (s *OrLogicalExpContext) Query(i int) IQueryContext
- func (s *OrLogicalExpContext) SP(i int) antlr.TerminalNode
- type ParenExpContext
- type PresentExpContext
- type QueryContext
- type StringContext
- type SubAttrContext
- func (s *SubAttrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SubAttrContext) AttrPath() IAttrPathContext
- func (s *SubAttrContext) GetParser() antlr.Parser
- func (s *SubAttrContext) GetRuleContext() antlr.RuleContext
- func (*SubAttrContext) IsSubAttrContext()
- func (s *SubAttrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SubListOfBooleansContext
- func (s *SubListOfBooleansContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SubListOfBooleansContext) BOOLEAN() antlr.TerminalNode
- func (s *SubListOfBooleansContext) COMMA() antlr.TerminalNode
- func (s *SubListOfBooleansContext) GetParser() antlr.Parser
- func (s *SubListOfBooleansContext) GetRuleContext() antlr.RuleContext
- func (*SubListOfBooleansContext) IsSubListOfBooleansContext()
- func (s *SubListOfBooleansContext) SubListOfBooleans() ISubListOfBooleansContext
- func (s *SubListOfBooleansContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SubListOfDoublesContext
- func (s *SubListOfDoublesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SubListOfDoublesContext) COMMA() antlr.TerminalNode
- func (s *SubListOfDoublesContext) DOUBLE() antlr.TerminalNode
- func (s *SubListOfDoublesContext) GetParser() antlr.Parser
- func (s *SubListOfDoublesContext) GetRuleContext() antlr.RuleContext
- func (*SubListOfDoublesContext) IsSubListOfDoublesContext()
- func (s *SubListOfDoublesContext) SubListOfDoubles() ISubListOfDoublesContext
- func (s *SubListOfDoublesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SubListOfIntsContext
- func (s *SubListOfIntsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SubListOfIntsContext) COMMA() antlr.TerminalNode
- func (s *SubListOfIntsContext) GetParser() antlr.Parser
- func (s *SubListOfIntsContext) GetRuleContext() antlr.RuleContext
- func (s *SubListOfIntsContext) INT() antlr.TerminalNode
- func (*SubListOfIntsContext) IsSubListOfIntsContext()
- func (s *SubListOfIntsContext) SubListOfInts() ISubListOfIntsContext
- func (s *SubListOfIntsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SubListOfStringsContext
- func (s *SubListOfStringsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SubListOfStringsContext) COMMA() antlr.TerminalNode
- func (s *SubListOfStringsContext) GetParser() antlr.Parser
- func (s *SubListOfStringsContext) GetRuleContext() antlr.RuleContext
- func (*SubListOfStringsContext) IsSubListOfStringsContext()
- func (s *SubListOfStringsContext) STRING() antlr.TerminalNode
- func (s *SubListOfStringsContext) SubListOfStrings() ISubListOfStringsContext
- func (s *SubListOfStringsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ValueContext
- type VersionContext
Constants ¶
const ( JsonQueryLexerT__0 = 1 JsonQueryLexerT__1 = 2 JsonQueryLexerT__2 = 3 JsonQueryLexerT__3 = 4 JsonQueryLexerT__4 = 5 JsonQueryLexerT__5 = 6 JsonQueryLexerT__6 = 7 JsonQueryLexerNOT = 8 JsonQueryLexerAND_OPERATOR = 9 JsonQueryLexerOR_OPERATOR = 10 JsonQueryLexerBOOLEAN = 11 JsonQueryLexerNULL = 12 JsonQueryLexerIN = 13 JsonQueryLexerEQ = 14 JsonQueryLexerNE = 15 JsonQueryLexerGT = 16 JsonQueryLexerLT = 17 JsonQueryLexerGE = 18 JsonQueryLexerLE = 19 JsonQueryLexerCO = 20 JsonQueryLexerSW = 21 JsonQueryLexerEW = 22 JsonQueryLexerATTRNAME = 23 JsonQueryLexerVERSION = 24 JsonQueryLexerSTRING = 25 JsonQueryLexerDOUBLE = 26 JsonQueryLexerINT = 27 JsonQueryLexerEXP = 28 JsonQueryLexerNEWLINE = 29 JsonQueryLexerCOMMA = 30 JsonQueryLexerSP = 31 )
JsonQueryLexer tokens.
const ( JsonQueryParserEOF = antlr.TokenEOF JsonQueryParserT__0 = 1 JsonQueryParserT__1 = 2 JsonQueryParserT__2 = 3 JsonQueryParserT__3 = 4 JsonQueryParserT__4 = 5 JsonQueryParserT__5 = 6 JsonQueryParserT__6 = 7 JsonQueryParserNOT = 8 JsonQueryParserAND_OPERATOR = 9 JsonQueryParserOR_OPERATOR = 10 JsonQueryParserBOOLEAN = 11 JsonQueryParserNULL = 12 JsonQueryParserIN = 13 JsonQueryParserEQ = 14 JsonQueryParserNE = 15 JsonQueryParserGT = 16 JsonQueryParserLT = 17 JsonQueryParserGE = 18 JsonQueryParserLE = 19 JsonQueryParserCO = 20 JsonQueryParserSW = 21 JsonQueryParserEW = 22 JsonQueryParserATTRNAME = 23 JsonQueryParserVERSION = 24 JsonQueryParserSTRING = 25 JsonQueryParserDOUBLE = 26 JsonQueryParserINT = 27 JsonQueryParserEXP = 28 JsonQueryParserNEWLINE = 29 JsonQueryParserCOMMA = 30 JsonQueryParserSP = 31 )
JsonQueryParser tokens.
const ( JsonQueryParserRULE_query = 0 JsonQueryParserRULE_attrPath = 1 JsonQueryParserRULE_subAttr = 2 JsonQueryParserRULE_value = 3 JsonQueryParserRULE_listStrings = 4 JsonQueryParserRULE_subListOfStrings = 5 JsonQueryParserRULE_listDoubles = 6 JsonQueryParserRULE_subListOfDoubles = 7 JsonQueryParserRULE_listInts = 8 JsonQueryParserRULE_subListOfInts = 9 JsonQueryParserRULE_listBooleans = 10 JsonQueryParserRULE_subListOfBooleans = 11 JsonQueryParserRULE_functionArg = 12 )
JsonQueryParser rules.
Variables ¶
var JsonQueryLexerLexerStaticData struct { ChannelNames []string ModeNames []string LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
var JsonQueryParserStaticData struct { LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
Functions ¶
func InitEmptyAttrPathContext ¶ added in v1.5.2
func InitEmptyAttrPathContext(p *AttrPathContext)
func InitEmptyFunctionArgContext ¶ added in v1.5.2
func InitEmptyFunctionArgContext(p *FunctionArgContext)
func InitEmptyListBooleansContext ¶ added in v1.5.2
func InitEmptyListBooleansContext(p *ListBooleansContext)
func InitEmptyListDoublesContext ¶ added in v1.5.2
func InitEmptyListDoublesContext(p *ListDoublesContext)
func InitEmptyListIntsContext ¶ added in v1.5.2
func InitEmptyListIntsContext(p *ListIntsContext)
func InitEmptyListStringsContext ¶ added in v1.5.2
func InitEmptyListStringsContext(p *ListStringsContext)
func InitEmptyQueryContext ¶ added in v1.5.2
func InitEmptyQueryContext(p *QueryContext)
func InitEmptySubAttrContext ¶ added in v1.5.2
func InitEmptySubAttrContext(p *SubAttrContext)
func InitEmptySubListOfBooleansContext ¶ added in v1.5.2
func InitEmptySubListOfBooleansContext(p *SubListOfBooleansContext)
func InitEmptySubListOfDoublesContext ¶ added in v1.5.2
func InitEmptySubListOfDoublesContext(p *SubListOfDoublesContext)
func InitEmptySubListOfIntsContext ¶ added in v1.5.2
func InitEmptySubListOfIntsContext(p *SubListOfIntsContext)
func InitEmptySubListOfStringsContext ¶ added in v1.5.2
func InitEmptySubListOfStringsContext(p *SubListOfStringsContext)
func InitEmptyValueContext ¶ added in v1.5.2
func InitEmptyValueContext(p *ValueContext)
func JsonQueryLexerInit ¶
func JsonQueryLexerInit()
JsonQueryLexerInit initializes any static state used to implement JsonQueryLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewJsonQueryLexer(). You can call this function if you wish to initialize the static state ahead of time.
func JsonQueryParserInit ¶
func JsonQueryParserInit()
JsonQueryParserInit initializes any static state used to implement JsonQueryParser. By default the static state used to implement the parser is lazily initialized during the first call to NewJsonQueryParser(). You can call this function if you wish to initialize the static state ahead of time.
func OpToString ¶ added in v1.5.0
func OpToString(op rules.ComparisonOperator) (string, error)
Types ¶
type ASTBuilderV3 ¶ added in v1.5.0
type ASTBuilderV3 struct {
antlr.ParseTreeVisitor
}
ASTBuilderV3 correctly parses into the rulesv1beta3 model which supports n-ary ands and ors.
func NewASTBuilderV3 ¶ added in v1.5.0
func NewASTBuilderV3() *ASTBuilderV3
func (*ASTBuilderV3) Visit ¶ added in v1.5.0
func (a *ASTBuilderV3) Visit(tree antlr.ParseTree) interface{}
func (*ASTBuilderV3) VisitAndLogicalExp ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitAndLogicalExp(ctx *AndLogicalExpContext) interface{}
func (*ASTBuilderV3) VisitAttrPath ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitAttrPath(ctx *AttrPathContext) interface{}
func (*ASTBuilderV3) VisitBoolean ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitBoolean(ctx *BooleanContext) interface{}
func (*ASTBuilderV3) VisitCallExp ¶ added in v1.5.2
func (a *ASTBuilderV3) VisitCallExp(ctx *CallExpContext) interface{}
func (*ASTBuilderV3) VisitCompareExp ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitCompareExp(ctx *CompareExpContext) (ret interface{})
func (*ASTBuilderV3) VisitDouble ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitDouble(ctx *DoubleContext) interface{}
func (*ASTBuilderV3) VisitFunctionArg ¶ added in v1.5.2
func (a *ASTBuilderV3) VisitFunctionArg(ctx *FunctionArgContext) interface{}
func (*ASTBuilderV3) VisitListBooleans ¶ added in v1.5.2
func (a *ASTBuilderV3) VisitListBooleans(ctx *ListBooleansContext) interface{}
func (*ASTBuilderV3) VisitListDoubles ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitListDoubles(ctx *ListDoublesContext) interface{}
func (*ASTBuilderV3) VisitListInts ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitListInts(ctx *ListIntsContext) interface{}
func (*ASTBuilderV3) VisitListOfBooleans ¶ added in v1.5.2
func (a *ASTBuilderV3) VisitListOfBooleans(ctx *ListOfBooleansContext) interface{}
func (*ASTBuilderV3) VisitListOfDoubles ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitListOfDoubles(ctx *ListOfDoublesContext) interface{}
func (*ASTBuilderV3) VisitListOfInts ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitListOfInts(ctx *ListOfIntsContext) interface{}
func (*ASTBuilderV3) VisitListOfStrings ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitListOfStrings(ctx *ListOfStringsContext) interface{}
func (*ASTBuilderV3) VisitListStrings ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitListStrings(ctx *ListStringsContext) interface{}
func (*ASTBuilderV3) VisitLong ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitLong(ctx *LongContext) interface{}
func (*ASTBuilderV3) VisitNull ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitNull(ctx *NullContext) interface{}
func (*ASTBuilderV3) VisitOrLogicalExp ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitOrLogicalExp(ctx *OrLogicalExpContext) interface{}
func (*ASTBuilderV3) VisitParenExp ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitParenExp(ctx *ParenExpContext) interface{}
func (*ASTBuilderV3) VisitPresentExp ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitPresentExp(ctx *PresentExpContext) interface{}
func (*ASTBuilderV3) VisitString ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitString(ctx *StringContext) interface{}
func (*ASTBuilderV3) VisitSubAttr ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitSubAttr(ctx *SubAttrContext) interface{}
func (*ASTBuilderV3) VisitSubListOfBooleans ¶ added in v1.5.2
func (a *ASTBuilderV3) VisitSubListOfBooleans(ctx *SubListOfBooleansContext) interface{}
func (*ASTBuilderV3) VisitSubListOfDoubles ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitSubListOfDoubles(ctx *SubListOfDoublesContext) interface{}
func (*ASTBuilderV3) VisitSubListOfInts ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitSubListOfInts(ctx *SubListOfIntsContext) interface{}
func (*ASTBuilderV3) VisitSubListOfStrings ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitSubListOfStrings(ctx *SubListOfStringsContext) interface{}
func (*ASTBuilderV3) VisitVersion ¶ added in v1.5.0
func (a *ASTBuilderV3) VisitVersion(ctx *VersionContext) interface{}
type AndLogicalExpContext ¶ added in v1.5.0
type AndLogicalExpContext struct {
QueryContext
}
func NewAndLogicalExpContext ¶ added in v1.5.0
func NewAndLogicalExpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AndLogicalExpContext
func (*AndLogicalExpContext) AND_OPERATOR ¶ added in v1.5.0
func (s *AndLogicalExpContext) AND_OPERATOR() antlr.TerminalNode
func (*AndLogicalExpContext) Accept ¶ added in v1.5.0
func (s *AndLogicalExpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AndLogicalExpContext) AllQuery ¶ added in v1.5.0
func (s *AndLogicalExpContext) AllQuery() []IQueryContext
func (*AndLogicalExpContext) AllSP ¶ added in v1.5.0
func (s *AndLogicalExpContext) AllSP() []antlr.TerminalNode
func (*AndLogicalExpContext) GetRuleContext ¶ added in v1.5.0
func (s *AndLogicalExpContext) GetRuleContext() antlr.RuleContext
func (*AndLogicalExpContext) Query ¶ added in v1.5.0
func (s *AndLogicalExpContext) Query(i int) IQueryContext
func (*AndLogicalExpContext) SP ¶ added in v1.5.0
func (s *AndLogicalExpContext) SP(i int) antlr.TerminalNode
type AttrPathContext ¶
type AttrPathContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAttrPathContext ¶
func NewAttrPathContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttrPathContext
func NewEmptyAttrPathContext ¶
func NewEmptyAttrPathContext() *AttrPathContext
func (*AttrPathContext) ATTRNAME ¶
func (s *AttrPathContext) ATTRNAME() antlr.TerminalNode
func (*AttrPathContext) Accept ¶
func (s *AttrPathContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AttrPathContext) GetParser ¶
func (s *AttrPathContext) GetParser() antlr.Parser
func (*AttrPathContext) GetRuleContext ¶
func (s *AttrPathContext) GetRuleContext() antlr.RuleContext
func (*AttrPathContext) IsAttrPathContext ¶
func (*AttrPathContext) IsAttrPathContext()
func (*AttrPathContext) SubAttr ¶
func (s *AttrPathContext) SubAttr() ISubAttrContext
func (*AttrPathContext) ToStringTree ¶
func (s *AttrPathContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BaseJsonQueryVisitor ¶ added in v1.5.0
type BaseJsonQueryVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseJsonQueryVisitor) VisitAndLogicalExp ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitAndLogicalExp(ctx *AndLogicalExpContext) interface{}
func (*BaseJsonQueryVisitor) VisitAttrPath ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitAttrPath(ctx *AttrPathContext) interface{}
func (*BaseJsonQueryVisitor) VisitBoolean ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitBoolean(ctx *BooleanContext) interface{}
func (*BaseJsonQueryVisitor) VisitCallExp ¶ added in v1.5.2
func (v *BaseJsonQueryVisitor) VisitCallExp(ctx *CallExpContext) interface{}
func (*BaseJsonQueryVisitor) VisitCompareExp ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitCompareExp(ctx *CompareExpContext) interface{}
func (*BaseJsonQueryVisitor) VisitDouble ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitDouble(ctx *DoubleContext) interface{}
func (*BaseJsonQueryVisitor) VisitFunctionArg ¶ added in v1.5.2
func (v *BaseJsonQueryVisitor) VisitFunctionArg(ctx *FunctionArgContext) interface{}
func (*BaseJsonQueryVisitor) VisitListBooleans ¶ added in v1.5.2
func (v *BaseJsonQueryVisitor) VisitListBooleans(ctx *ListBooleansContext) interface{}
func (*BaseJsonQueryVisitor) VisitListDoubles ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitListDoubles(ctx *ListDoublesContext) interface{}
func (*BaseJsonQueryVisitor) VisitListInts ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitListInts(ctx *ListIntsContext) interface{}
func (*BaseJsonQueryVisitor) VisitListOfBooleans ¶ added in v1.5.2
func (v *BaseJsonQueryVisitor) VisitListOfBooleans(ctx *ListOfBooleansContext) interface{}
func (*BaseJsonQueryVisitor) VisitListOfDoubles ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitListOfDoubles(ctx *ListOfDoublesContext) interface{}
func (*BaseJsonQueryVisitor) VisitListOfInts ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitListOfInts(ctx *ListOfIntsContext) interface{}
func (*BaseJsonQueryVisitor) VisitListOfStrings ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitListOfStrings(ctx *ListOfStringsContext) interface{}
func (*BaseJsonQueryVisitor) VisitListStrings ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitListStrings(ctx *ListStringsContext) interface{}
func (*BaseJsonQueryVisitor) VisitLong ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitLong(ctx *LongContext) interface{}
func (*BaseJsonQueryVisitor) VisitNull ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitNull(ctx *NullContext) interface{}
func (*BaseJsonQueryVisitor) VisitOrLogicalExp ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitOrLogicalExp(ctx *OrLogicalExpContext) interface{}
func (*BaseJsonQueryVisitor) VisitParenExp ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitParenExp(ctx *ParenExpContext) interface{}
func (*BaseJsonQueryVisitor) VisitPresentExp ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitPresentExp(ctx *PresentExpContext) interface{}
func (*BaseJsonQueryVisitor) VisitString ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitString(ctx *StringContext) interface{}
func (*BaseJsonQueryVisitor) VisitSubAttr ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitSubAttr(ctx *SubAttrContext) interface{}
func (*BaseJsonQueryVisitor) VisitSubListOfBooleans ¶ added in v1.5.2
func (v *BaseJsonQueryVisitor) VisitSubListOfBooleans(ctx *SubListOfBooleansContext) interface{}
func (*BaseJsonQueryVisitor) VisitSubListOfDoubles ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitSubListOfDoubles(ctx *SubListOfDoublesContext) interface{}
func (*BaseJsonQueryVisitor) VisitSubListOfInts ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitSubListOfInts(ctx *SubListOfIntsContext) interface{}
func (*BaseJsonQueryVisitor) VisitSubListOfStrings ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitSubListOfStrings(ctx *SubListOfStringsContext) interface{}
func (*BaseJsonQueryVisitor) VisitVersion ¶ added in v1.5.0
func (v *BaseJsonQueryVisitor) VisitVersion(ctx *VersionContext) interface{}
type BooleanContext ¶
type BooleanContext struct {
ValueContext
}
func NewBooleanContext ¶
func NewBooleanContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BooleanContext
func (*BooleanContext) Accept ¶
func (s *BooleanContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BooleanContext) BOOLEAN ¶
func (s *BooleanContext) BOOLEAN() antlr.TerminalNode
func (*BooleanContext) GetRuleContext ¶
func (s *BooleanContext) GetRuleContext() antlr.RuleContext
type CallExpContext ¶ added in v1.5.2
type CallExpContext struct {
QueryContext
}
func NewCallExpContext ¶ added in v1.5.2
func NewCallExpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CallExpContext
func (*CallExpContext) Accept ¶ added in v1.5.2
func (s *CallExpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CallExpContext) AllCOMMA ¶ added in v1.5.2
func (s *CallExpContext) AllCOMMA() []antlr.TerminalNode
func (*CallExpContext) AllFunctionArg ¶ added in v1.5.2
func (s *CallExpContext) AllFunctionArg() []IFunctionArgContext
func (*CallExpContext) AttrPath ¶ added in v1.5.2
func (s *CallExpContext) AttrPath() IAttrPathContext
func (*CallExpContext) COMMA ¶ added in v1.5.2
func (s *CallExpContext) COMMA(i int) antlr.TerminalNode
func (*CallExpContext) FunctionArg ¶ added in v1.5.2
func (s *CallExpContext) FunctionArg(i int) IFunctionArgContext
func (*CallExpContext) GetRuleContext ¶ added in v1.5.2
func (s *CallExpContext) GetRuleContext() antlr.RuleContext
type CompareExpContext ¶
type CompareExpContext struct { QueryContext // contains filtered or unexported fields }
func NewCompareExpContext ¶
func NewCompareExpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CompareExpContext
func (*CompareExpContext) Accept ¶
func (s *CompareExpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CompareExpContext) AllSP ¶
func (s *CompareExpContext) AllSP() []antlr.TerminalNode
func (*CompareExpContext) AttrPath ¶
func (s *CompareExpContext) AttrPath() IAttrPathContext
func (*CompareExpContext) CO ¶
func (s *CompareExpContext) CO() antlr.TerminalNode
func (*CompareExpContext) EQ ¶
func (s *CompareExpContext) EQ() antlr.TerminalNode
func (*CompareExpContext) EW ¶
func (s *CompareExpContext) EW() antlr.TerminalNode
func (*CompareExpContext) GE ¶
func (s *CompareExpContext) GE() antlr.TerminalNode
func (*CompareExpContext) GT ¶
func (s *CompareExpContext) GT() antlr.TerminalNode
func (*CompareExpContext) GetOp ¶
func (s *CompareExpContext) GetOp() antlr.Token
func (*CompareExpContext) GetRuleContext ¶
func (s *CompareExpContext) GetRuleContext() antlr.RuleContext
func (*CompareExpContext) IN ¶
func (s *CompareExpContext) IN() antlr.TerminalNode
func (*CompareExpContext) LE ¶
func (s *CompareExpContext) LE() antlr.TerminalNode
func (*CompareExpContext) LT ¶
func (s *CompareExpContext) LT() antlr.TerminalNode
func (*CompareExpContext) NE ¶
func (s *CompareExpContext) NE() antlr.TerminalNode
func (*CompareExpContext) SP ¶
func (s *CompareExpContext) SP(i int) antlr.TerminalNode
func (*CompareExpContext) SW ¶
func (s *CompareExpContext) SW() antlr.TerminalNode
func (*CompareExpContext) SetOp ¶
func (s *CompareExpContext) SetOp(v antlr.Token)
func (*CompareExpContext) Value ¶
func (s *CompareExpContext) Value() IValueContext
type DoubleContext ¶
type DoubleContext struct {
ValueContext
}
func NewDoubleContext ¶
func NewDoubleContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DoubleContext
func (*DoubleContext) Accept ¶
func (s *DoubleContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DoubleContext) DOUBLE ¶
func (s *DoubleContext) DOUBLE() antlr.TerminalNode
func (*DoubleContext) GetRuleContext ¶
func (s *DoubleContext) GetRuleContext() antlr.RuleContext
type FunctionArgContext ¶ added in v1.5.2
type FunctionArgContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFunctionArgContext ¶ added in v1.5.2
func NewEmptyFunctionArgContext() *FunctionArgContext
func NewFunctionArgContext ¶ added in v1.5.2
func NewFunctionArgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionArgContext
func (*FunctionArgContext) Accept ¶ added in v1.5.2
func (s *FunctionArgContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FunctionArgContext) AttrPath ¶ added in v1.5.2
func (s *FunctionArgContext) AttrPath() IAttrPathContext
func (*FunctionArgContext) GetParser ¶ added in v1.5.2
func (s *FunctionArgContext) GetParser() antlr.Parser
func (*FunctionArgContext) GetRuleContext ¶ added in v1.5.2
func (s *FunctionArgContext) GetRuleContext() antlr.RuleContext
func (*FunctionArgContext) IsFunctionArgContext ¶ added in v1.5.2
func (*FunctionArgContext) IsFunctionArgContext()
func (*FunctionArgContext) Query ¶ added in v1.5.2
func (s *FunctionArgContext) Query() IQueryContext
func (*FunctionArgContext) ToStringTree ¶ added in v1.5.2
func (s *FunctionArgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*FunctionArgContext) Value ¶ added in v1.5.2
func (s *FunctionArgContext) Value() IValueContext
type IAttrPathContext ¶
type IAttrPathContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ATTRNAME() antlr.TerminalNode SubAttr() ISubAttrContext // IsAttrPathContext differentiates from other interfaces. IsAttrPathContext() }
IAttrPathContext is an interface to support dynamic dispatch.
type IFunctionArgContext ¶ added in v1.5.2
type IFunctionArgContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Query() IQueryContext AttrPath() IAttrPathContext Value() IValueContext // IsFunctionArgContext differentiates from other interfaces. IsFunctionArgContext() }
IFunctionArgContext is an interface to support dynamic dispatch.
type IListBooleansContext ¶ added in v1.5.2
type IListBooleansContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures SubListOfBooleans() ISubListOfBooleansContext // IsListBooleansContext differentiates from other interfaces. IsListBooleansContext() }
IListBooleansContext is an interface to support dynamic dispatch.
type IListDoublesContext ¶
type IListDoublesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures SubListOfDoubles() ISubListOfDoublesContext // IsListDoublesContext differentiates from other interfaces. IsListDoublesContext() }
IListDoublesContext is an interface to support dynamic dispatch.
type IListIntsContext ¶
type IListIntsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures SubListOfInts() ISubListOfIntsContext // IsListIntsContext differentiates from other interfaces. IsListIntsContext() }
IListIntsContext is an interface to support dynamic dispatch.
type IListStringsContext ¶
type IListStringsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures SubListOfStrings() ISubListOfStringsContext // IsListStringsContext differentiates from other interfaces. IsListStringsContext() }
IListStringsContext is an interface to support dynamic dispatch.
type IQueryContext ¶
type IQueryContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsQueryContext differentiates from other interfaces. IsQueryContext() }
IQueryContext is an interface to support dynamic dispatch.
type ISubAttrContext ¶
type ISubAttrContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AttrPath() IAttrPathContext // IsSubAttrContext differentiates from other interfaces. IsSubAttrContext() }
ISubAttrContext is an interface to support dynamic dispatch.
type ISubListOfBooleansContext ¶ added in v1.5.2
type ISubListOfBooleansContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures BOOLEAN() antlr.TerminalNode COMMA() antlr.TerminalNode SubListOfBooleans() ISubListOfBooleansContext // IsSubListOfBooleansContext differentiates from other interfaces. IsSubListOfBooleansContext() }
ISubListOfBooleansContext is an interface to support dynamic dispatch.
type ISubListOfDoublesContext ¶
type ISubListOfDoublesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures DOUBLE() antlr.TerminalNode COMMA() antlr.TerminalNode SubListOfDoubles() ISubListOfDoublesContext // IsSubListOfDoublesContext differentiates from other interfaces. IsSubListOfDoublesContext() }
ISubListOfDoublesContext is an interface to support dynamic dispatch.
type ISubListOfIntsContext ¶
type ISubListOfIntsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures INT() antlr.TerminalNode COMMA() antlr.TerminalNode SubListOfInts() ISubListOfIntsContext // IsSubListOfIntsContext differentiates from other interfaces. IsSubListOfIntsContext() }
ISubListOfIntsContext is an interface to support dynamic dispatch.
type ISubListOfStringsContext ¶
type ISubListOfStringsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures STRING() antlr.TerminalNode COMMA() antlr.TerminalNode SubListOfStrings() ISubListOfStringsContext // IsSubListOfStringsContext differentiates from other interfaces. IsSubListOfStringsContext() }
ISubListOfStringsContext is an interface to support dynamic dispatch.
type IValueContext ¶
type IValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsValueContext differentiates from other interfaces. IsValueContext() }
IValueContext is an interface to support dynamic dispatch.
type JsonQueryLexer ¶
type JsonQueryLexer struct { *antlr.BaseLexer // contains filtered or unexported fields }
func NewJsonQueryLexer ¶
func NewJsonQueryLexer(input antlr.CharStream) *JsonQueryLexer
NewJsonQueryLexer produces a new lexer instance for the optional input antlr.CharStream.
type JsonQueryParser ¶
type JsonQueryParser struct {
*antlr.BaseParser
}
func NewJsonQueryParser ¶
func NewJsonQueryParser(input antlr.TokenStream) *JsonQueryParser
NewJsonQueryParser produces a new parser instance for the optional input antlr.TokenStream.
func (*JsonQueryParser) AttrPath ¶
func (p *JsonQueryParser) AttrPath() (localctx IAttrPathContext)
func (*JsonQueryParser) FunctionArg ¶ added in v1.5.2
func (p *JsonQueryParser) FunctionArg() (localctx IFunctionArgContext)
func (*JsonQueryParser) ListBooleans ¶ added in v1.5.2
func (p *JsonQueryParser) ListBooleans() (localctx IListBooleansContext)
func (*JsonQueryParser) ListDoubles ¶
func (p *JsonQueryParser) ListDoubles() (localctx IListDoublesContext)
func (*JsonQueryParser) ListInts ¶
func (p *JsonQueryParser) ListInts() (localctx IListIntsContext)
func (*JsonQueryParser) ListStrings ¶
func (p *JsonQueryParser) ListStrings() (localctx IListStringsContext)
func (*JsonQueryParser) Query ¶
func (p *JsonQueryParser) Query() (localctx IQueryContext)
func (*JsonQueryParser) Query_Sempred ¶
func (p *JsonQueryParser) Query_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JsonQueryParser) Sempred ¶
func (p *JsonQueryParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
func (*JsonQueryParser) SubAttr ¶
func (p *JsonQueryParser) SubAttr() (localctx ISubAttrContext)
func (*JsonQueryParser) SubListOfBooleans ¶ added in v1.5.2
func (p *JsonQueryParser) SubListOfBooleans() (localctx ISubListOfBooleansContext)
func (*JsonQueryParser) SubListOfDoubles ¶
func (p *JsonQueryParser) SubListOfDoubles() (localctx ISubListOfDoublesContext)
func (*JsonQueryParser) SubListOfInts ¶
func (p *JsonQueryParser) SubListOfInts() (localctx ISubListOfIntsContext)
func (*JsonQueryParser) SubListOfStrings ¶
func (p *JsonQueryParser) SubListOfStrings() (localctx ISubListOfStringsContext)
func (*JsonQueryParser) Value ¶
func (p *JsonQueryParser) Value() (localctx IValueContext)
type JsonQueryVisitor ¶
type JsonQueryVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by JsonQueryParser#compareExp. VisitCompareExp(ctx *CompareExpContext) interface{} // Visit a parse tree produced by JsonQueryParser#andLogicalExp. VisitAndLogicalExp(ctx *AndLogicalExpContext) interface{} // Visit a parse tree produced by JsonQueryParser#parenExp. VisitParenExp(ctx *ParenExpContext) interface{} // Visit a parse tree produced by JsonQueryParser#presentExp. VisitPresentExp(ctx *PresentExpContext) interface{} // Visit a parse tree produced by JsonQueryParser#callExp. VisitCallExp(ctx *CallExpContext) interface{} // Visit a parse tree produced by JsonQueryParser#orLogicalExp. VisitOrLogicalExp(ctx *OrLogicalExpContext) interface{} // Visit a parse tree produced by JsonQueryParser#attrPath. VisitAttrPath(ctx *AttrPathContext) interface{} // Visit a parse tree produced by JsonQueryParser#subAttr. VisitSubAttr(ctx *SubAttrContext) interface{} // Visit a parse tree produced by JsonQueryParser#boolean. VisitBoolean(ctx *BooleanContext) interface{} // Visit a parse tree produced by JsonQueryParser#null. VisitNull(ctx *NullContext) interface{} // Visit a parse tree produced by JsonQueryParser#version. VisitVersion(ctx *VersionContext) interface{} // Visit a parse tree produced by JsonQueryParser#string. VisitString(ctx *StringContext) interface{} // Visit a parse tree produced by JsonQueryParser#double. VisitDouble(ctx *DoubleContext) interface{} // Visit a parse tree produced by JsonQueryParser#long. VisitLong(ctx *LongContext) interface{} // Visit a parse tree produced by JsonQueryParser#listOfInts. VisitListOfInts(ctx *ListOfIntsContext) interface{} // Visit a parse tree produced by JsonQueryParser#listOfDoubles. VisitListOfDoubles(ctx *ListOfDoublesContext) interface{} // Visit a parse tree produced by JsonQueryParser#listOfStrings. VisitListOfStrings(ctx *ListOfStringsContext) interface{} // Visit a parse tree produced by JsonQueryParser#listOfBooleans. VisitListOfBooleans(ctx *ListOfBooleansContext) interface{} // Visit a parse tree produced by JsonQueryParser#listStrings. VisitListStrings(ctx *ListStringsContext) interface{} // Visit a parse tree produced by JsonQueryParser#subListOfStrings. VisitSubListOfStrings(ctx *SubListOfStringsContext) interface{} // Visit a parse tree produced by JsonQueryParser#listDoubles. VisitListDoubles(ctx *ListDoublesContext) interface{} // Visit a parse tree produced by JsonQueryParser#subListOfDoubles. VisitSubListOfDoubles(ctx *SubListOfDoublesContext) interface{} // Visit a parse tree produced by JsonQueryParser#listInts. VisitListInts(ctx *ListIntsContext) interface{} // Visit a parse tree produced by JsonQueryParser#subListOfInts. VisitSubListOfInts(ctx *SubListOfIntsContext) interface{} // Visit a parse tree produced by JsonQueryParser#listBooleans. VisitListBooleans(ctx *ListBooleansContext) interface{} // Visit a parse tree produced by JsonQueryParser#subListOfBooleans. VisitSubListOfBooleans(ctx *SubListOfBooleansContext) interface{} // Visit a parse tree produced by JsonQueryParser#functionArg. VisitFunctionArg(ctx *FunctionArgContext) interface{} }
A complete Visitor for a parse tree produced by JsonQueryParser.
type ListBooleansContext ¶ added in v1.5.2
type ListBooleansContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyListBooleansContext ¶ added in v1.5.2
func NewEmptyListBooleansContext() *ListBooleansContext
func NewListBooleansContext ¶ added in v1.5.2
func NewListBooleansContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ListBooleansContext
func (*ListBooleansContext) Accept ¶ added in v1.5.2
func (s *ListBooleansContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ListBooleansContext) GetParser ¶ added in v1.5.2
func (s *ListBooleansContext) GetParser() antlr.Parser
func (*ListBooleansContext) GetRuleContext ¶ added in v1.5.2
func (s *ListBooleansContext) GetRuleContext() antlr.RuleContext
func (*ListBooleansContext) IsListBooleansContext ¶ added in v1.5.2
func (*ListBooleansContext) IsListBooleansContext()
func (*ListBooleansContext) SubListOfBooleans ¶ added in v1.5.2
func (s *ListBooleansContext) SubListOfBooleans() ISubListOfBooleansContext
func (*ListBooleansContext) ToStringTree ¶ added in v1.5.2
func (s *ListBooleansContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ListDoublesContext ¶
type ListDoublesContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyListDoublesContext ¶
func NewEmptyListDoublesContext() *ListDoublesContext
func NewListDoublesContext ¶
func NewListDoublesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ListDoublesContext
func (*ListDoublesContext) Accept ¶
func (s *ListDoublesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ListDoublesContext) GetParser ¶
func (s *ListDoublesContext) GetParser() antlr.Parser
func (*ListDoublesContext) GetRuleContext ¶
func (s *ListDoublesContext) GetRuleContext() antlr.RuleContext
func (*ListDoublesContext) IsListDoublesContext ¶
func (*ListDoublesContext) IsListDoublesContext()
func (*ListDoublesContext) SubListOfDoubles ¶
func (s *ListDoublesContext) SubListOfDoubles() ISubListOfDoublesContext
func (*ListDoublesContext) ToStringTree ¶
func (s *ListDoublesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ListIntsContext ¶
type ListIntsContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyListIntsContext ¶
func NewEmptyListIntsContext() *ListIntsContext
func NewListIntsContext ¶
func NewListIntsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ListIntsContext
func (*ListIntsContext) Accept ¶
func (s *ListIntsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ListIntsContext) GetParser ¶
func (s *ListIntsContext) GetParser() antlr.Parser
func (*ListIntsContext) GetRuleContext ¶
func (s *ListIntsContext) GetRuleContext() antlr.RuleContext
func (*ListIntsContext) IsListIntsContext ¶
func (*ListIntsContext) IsListIntsContext()
func (*ListIntsContext) SubListOfInts ¶
func (s *ListIntsContext) SubListOfInts() ISubListOfIntsContext
func (*ListIntsContext) ToStringTree ¶
func (s *ListIntsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ListOfBooleansContext ¶ added in v1.5.2
type ListOfBooleansContext struct {
ValueContext
}
func NewListOfBooleansContext ¶ added in v1.5.2
func NewListOfBooleansContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ListOfBooleansContext
func (*ListOfBooleansContext) Accept ¶ added in v1.5.2
func (s *ListOfBooleansContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ListOfBooleansContext) GetRuleContext ¶ added in v1.5.2
func (s *ListOfBooleansContext) GetRuleContext() antlr.RuleContext
func (*ListOfBooleansContext) ListBooleans ¶ added in v1.5.2
func (s *ListOfBooleansContext) ListBooleans() IListBooleansContext
type ListOfDoublesContext ¶
type ListOfDoublesContext struct {
ValueContext
}
func NewListOfDoublesContext ¶
func NewListOfDoublesContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ListOfDoublesContext
func (*ListOfDoublesContext) Accept ¶
func (s *ListOfDoublesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ListOfDoublesContext) GetRuleContext ¶
func (s *ListOfDoublesContext) GetRuleContext() antlr.RuleContext
func (*ListOfDoublesContext) ListDoubles ¶
func (s *ListOfDoublesContext) ListDoubles() IListDoublesContext
type ListOfIntsContext ¶
type ListOfIntsContext struct {
ValueContext
}
func NewListOfIntsContext ¶
func NewListOfIntsContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ListOfIntsContext
func (*ListOfIntsContext) Accept ¶
func (s *ListOfIntsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ListOfIntsContext) GetRuleContext ¶
func (s *ListOfIntsContext) GetRuleContext() antlr.RuleContext
func (*ListOfIntsContext) ListInts ¶
func (s *ListOfIntsContext) ListInts() IListIntsContext
type ListOfStringsContext ¶
type ListOfStringsContext struct {
ValueContext
}
func NewListOfStringsContext ¶
func NewListOfStringsContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ListOfStringsContext
func (*ListOfStringsContext) Accept ¶
func (s *ListOfStringsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ListOfStringsContext) GetRuleContext ¶
func (s *ListOfStringsContext) GetRuleContext() antlr.RuleContext
func (*ListOfStringsContext) ListStrings ¶
func (s *ListOfStringsContext) ListStrings() IListStringsContext
type ListStringsContext ¶
type ListStringsContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyListStringsContext ¶
func NewEmptyListStringsContext() *ListStringsContext
func NewListStringsContext ¶
func NewListStringsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ListStringsContext
func (*ListStringsContext) Accept ¶
func (s *ListStringsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ListStringsContext) GetParser ¶
func (s *ListStringsContext) GetParser() antlr.Parser
func (*ListStringsContext) GetRuleContext ¶
func (s *ListStringsContext) GetRuleContext() antlr.RuleContext
func (*ListStringsContext) IsListStringsContext ¶
func (*ListStringsContext) IsListStringsContext()
func (*ListStringsContext) SubListOfStrings ¶
func (s *ListStringsContext) SubListOfStrings() ISubListOfStringsContext
func (*ListStringsContext) ToStringTree ¶
func (s *ListStringsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type LongContext ¶
type LongContext struct {
ValueContext
}
func NewLongContext ¶
func NewLongContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LongContext
func (*LongContext) Accept ¶
func (s *LongContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*LongContext) EXP ¶
func (s *LongContext) EXP() antlr.TerminalNode
func (*LongContext) GetRuleContext ¶
func (s *LongContext) GetRuleContext() antlr.RuleContext
func (*LongContext) INT ¶
func (s *LongContext) INT() antlr.TerminalNode
type NullContext ¶
type NullContext struct {
ValueContext
}
func NewNullContext ¶
func NewNullContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NullContext
func (*NullContext) Accept ¶
func (s *NullContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NullContext) GetRuleContext ¶
func (s *NullContext) GetRuleContext() antlr.RuleContext
func (*NullContext) NULL ¶
func (s *NullContext) NULL() antlr.TerminalNode
type OrLogicalExpContext ¶ added in v1.5.0
type OrLogicalExpContext struct {
QueryContext
}
func NewOrLogicalExpContext ¶ added in v1.5.0
func NewOrLogicalExpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *OrLogicalExpContext
func (*OrLogicalExpContext) Accept ¶ added in v1.5.0
func (s *OrLogicalExpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*OrLogicalExpContext) AllQuery ¶ added in v1.5.0
func (s *OrLogicalExpContext) AllQuery() []IQueryContext
func (*OrLogicalExpContext) AllSP ¶ added in v1.5.0
func (s *OrLogicalExpContext) AllSP() []antlr.TerminalNode
func (*OrLogicalExpContext) GetRuleContext ¶ added in v1.5.0
func (s *OrLogicalExpContext) GetRuleContext() antlr.RuleContext
func (*OrLogicalExpContext) OR_OPERATOR ¶ added in v1.5.0
func (s *OrLogicalExpContext) OR_OPERATOR() antlr.TerminalNode
func (*OrLogicalExpContext) Query ¶ added in v1.5.0
func (s *OrLogicalExpContext) Query(i int) IQueryContext
func (*OrLogicalExpContext) SP ¶ added in v1.5.0
func (s *OrLogicalExpContext) SP(i int) antlr.TerminalNode
type ParenExpContext ¶
type ParenExpContext struct {
QueryContext
}
func NewParenExpContext ¶
func NewParenExpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParenExpContext
func (*ParenExpContext) Accept ¶
func (s *ParenExpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ParenExpContext) GetRuleContext ¶
func (s *ParenExpContext) GetRuleContext() antlr.RuleContext
func (*ParenExpContext) NOT ¶
func (s *ParenExpContext) NOT() antlr.TerminalNode
func (*ParenExpContext) Query ¶
func (s *ParenExpContext) Query() IQueryContext
func (*ParenExpContext) SP ¶
func (s *ParenExpContext) SP() antlr.TerminalNode
type PresentExpContext ¶
type PresentExpContext struct {
QueryContext
}
func NewPresentExpContext ¶
func NewPresentExpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PresentExpContext
func (*PresentExpContext) Accept ¶
func (s *PresentExpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PresentExpContext) AttrPath ¶
func (s *PresentExpContext) AttrPath() IAttrPathContext
func (*PresentExpContext) GetRuleContext ¶
func (s *PresentExpContext) GetRuleContext() antlr.RuleContext
func (*PresentExpContext) SP ¶
func (s *PresentExpContext) SP() antlr.TerminalNode
type QueryContext ¶
type QueryContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyQueryContext ¶
func NewEmptyQueryContext() *QueryContext
func NewQueryContext ¶
func NewQueryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QueryContext
func (*QueryContext) CopyAll ¶ added in v1.5.2
func (s *QueryContext) CopyAll(ctx *QueryContext)
func (*QueryContext) GetParser ¶
func (s *QueryContext) GetParser() antlr.Parser
func (*QueryContext) GetRuleContext ¶
func (s *QueryContext) GetRuleContext() antlr.RuleContext
func (*QueryContext) IsQueryContext ¶
func (*QueryContext) IsQueryContext()
func (*QueryContext) ToStringTree ¶
func (s *QueryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StringContext ¶
type StringContext struct {
ValueContext
}
func NewStringContext ¶
func NewStringContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StringContext
func (*StringContext) Accept ¶
func (s *StringContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StringContext) GetRuleContext ¶
func (s *StringContext) GetRuleContext() antlr.RuleContext
func (*StringContext) STRING ¶
func (s *StringContext) STRING() antlr.TerminalNode
type SubAttrContext ¶
type SubAttrContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySubAttrContext ¶
func NewEmptySubAttrContext() *SubAttrContext
func NewSubAttrContext ¶
func NewSubAttrContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubAttrContext
func (*SubAttrContext) Accept ¶
func (s *SubAttrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SubAttrContext) AttrPath ¶
func (s *SubAttrContext) AttrPath() IAttrPathContext
func (*SubAttrContext) GetParser ¶
func (s *SubAttrContext) GetParser() antlr.Parser
func (*SubAttrContext) GetRuleContext ¶
func (s *SubAttrContext) GetRuleContext() antlr.RuleContext
func (*SubAttrContext) IsSubAttrContext ¶
func (*SubAttrContext) IsSubAttrContext()
func (*SubAttrContext) ToStringTree ¶
func (s *SubAttrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SubListOfBooleansContext ¶ added in v1.5.2
type SubListOfBooleansContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySubListOfBooleansContext ¶ added in v1.5.2
func NewEmptySubListOfBooleansContext() *SubListOfBooleansContext
func NewSubListOfBooleansContext ¶ added in v1.5.2
func NewSubListOfBooleansContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubListOfBooleansContext
func (*SubListOfBooleansContext) Accept ¶ added in v1.5.2
func (s *SubListOfBooleansContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SubListOfBooleansContext) BOOLEAN ¶ added in v1.5.2
func (s *SubListOfBooleansContext) BOOLEAN() antlr.TerminalNode
func (*SubListOfBooleansContext) COMMA ¶ added in v1.5.2
func (s *SubListOfBooleansContext) COMMA() antlr.TerminalNode
func (*SubListOfBooleansContext) GetParser ¶ added in v1.5.2
func (s *SubListOfBooleansContext) GetParser() antlr.Parser
func (*SubListOfBooleansContext) GetRuleContext ¶ added in v1.5.2
func (s *SubListOfBooleansContext) GetRuleContext() antlr.RuleContext
func (*SubListOfBooleansContext) IsSubListOfBooleansContext ¶ added in v1.5.2
func (*SubListOfBooleansContext) IsSubListOfBooleansContext()
func (*SubListOfBooleansContext) SubListOfBooleans ¶ added in v1.5.2
func (s *SubListOfBooleansContext) SubListOfBooleans() ISubListOfBooleansContext
func (*SubListOfBooleansContext) ToStringTree ¶ added in v1.5.2
func (s *SubListOfBooleansContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SubListOfDoublesContext ¶
type SubListOfDoublesContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySubListOfDoublesContext ¶
func NewEmptySubListOfDoublesContext() *SubListOfDoublesContext
func NewSubListOfDoublesContext ¶
func NewSubListOfDoublesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubListOfDoublesContext
func (*SubListOfDoublesContext) Accept ¶
func (s *SubListOfDoublesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SubListOfDoublesContext) COMMA ¶
func (s *SubListOfDoublesContext) COMMA() antlr.TerminalNode
func (*SubListOfDoublesContext) DOUBLE ¶
func (s *SubListOfDoublesContext) DOUBLE() antlr.TerminalNode
func (*SubListOfDoublesContext) GetParser ¶
func (s *SubListOfDoublesContext) GetParser() antlr.Parser
func (*SubListOfDoublesContext) GetRuleContext ¶
func (s *SubListOfDoublesContext) GetRuleContext() antlr.RuleContext
func (*SubListOfDoublesContext) IsSubListOfDoublesContext ¶
func (*SubListOfDoublesContext) IsSubListOfDoublesContext()
func (*SubListOfDoublesContext) SubListOfDoubles ¶
func (s *SubListOfDoublesContext) SubListOfDoubles() ISubListOfDoublesContext
func (*SubListOfDoublesContext) ToStringTree ¶
func (s *SubListOfDoublesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SubListOfIntsContext ¶
type SubListOfIntsContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySubListOfIntsContext ¶
func NewEmptySubListOfIntsContext() *SubListOfIntsContext
func NewSubListOfIntsContext ¶
func NewSubListOfIntsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubListOfIntsContext
func (*SubListOfIntsContext) Accept ¶
func (s *SubListOfIntsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SubListOfIntsContext) COMMA ¶
func (s *SubListOfIntsContext) COMMA() antlr.TerminalNode
func (*SubListOfIntsContext) GetParser ¶
func (s *SubListOfIntsContext) GetParser() antlr.Parser
func (*SubListOfIntsContext) GetRuleContext ¶
func (s *SubListOfIntsContext) GetRuleContext() antlr.RuleContext
func (*SubListOfIntsContext) INT ¶
func (s *SubListOfIntsContext) INT() antlr.TerminalNode
func (*SubListOfIntsContext) IsSubListOfIntsContext ¶
func (*SubListOfIntsContext) IsSubListOfIntsContext()
func (*SubListOfIntsContext) SubListOfInts ¶
func (s *SubListOfIntsContext) SubListOfInts() ISubListOfIntsContext
func (*SubListOfIntsContext) ToStringTree ¶
func (s *SubListOfIntsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SubListOfStringsContext ¶
type SubListOfStringsContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySubListOfStringsContext ¶
func NewEmptySubListOfStringsContext() *SubListOfStringsContext
func NewSubListOfStringsContext ¶
func NewSubListOfStringsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubListOfStringsContext
func (*SubListOfStringsContext) Accept ¶
func (s *SubListOfStringsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SubListOfStringsContext) COMMA ¶
func (s *SubListOfStringsContext) COMMA() antlr.TerminalNode
func (*SubListOfStringsContext) GetParser ¶
func (s *SubListOfStringsContext) GetParser() antlr.Parser
func (*SubListOfStringsContext) GetRuleContext ¶
func (s *SubListOfStringsContext) GetRuleContext() antlr.RuleContext
func (*SubListOfStringsContext) IsSubListOfStringsContext ¶
func (*SubListOfStringsContext) IsSubListOfStringsContext()
func (*SubListOfStringsContext) STRING ¶
func (s *SubListOfStringsContext) STRING() antlr.TerminalNode
func (*SubListOfStringsContext) SubListOfStrings ¶
func (s *SubListOfStringsContext) SubListOfStrings() ISubListOfStringsContext
func (*SubListOfStringsContext) ToStringTree ¶
func (s *SubListOfStringsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ValueContext ¶
type ValueContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyValueContext ¶
func NewEmptyValueContext() *ValueContext
func NewValueContext ¶
func NewValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValueContext
func (*ValueContext) CopyAll ¶ added in v1.5.2
func (s *ValueContext) CopyAll(ctx *ValueContext)
func (*ValueContext) GetParser ¶
func (s *ValueContext) GetParser() antlr.Parser
func (*ValueContext) GetRuleContext ¶
func (s *ValueContext) GetRuleContext() antlr.RuleContext
func (*ValueContext) IsValueContext ¶
func (*ValueContext) IsValueContext()
func (*ValueContext) ToStringTree ¶
func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type VersionContext ¶
type VersionContext struct {
ValueContext
}
func NewVersionContext ¶
func NewVersionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *VersionContext
func (*VersionContext) Accept ¶
func (s *VersionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*VersionContext) GetRuleContext ¶
func (s *VersionContext) GetRuleContext() antlr.RuleContext
func (*VersionContext) VERSION ¶
func (s *VersionContext) VERSION() antlr.TerminalNode