Documentation ¶
Index ¶
- func PrintParserTree(query string)
- func Query(query string) string
- type FxErrorListener
- func (l *FxErrorListener) ReportAmbiguity(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex int, exact bool, ...)
- func (l *FxErrorListener) ReportAttemptingFullContext(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex int, ...)
- func (l *FxErrorListener) ReportContextSensitivity(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex, prediction int, ...)
- func (l *FxErrorListener) SyntaxError(recognizer antlr.Recognizer, offendingSymbol interface{}, line, column int, ...)
- type FxQueryListener
- func (ql *FxQueryListener) ExitAndLogicalExp(c *parser.AndLogicalExpContext)
- func (ql *FxQueryListener) ExitBracketExp(c *parser.BracketExpContext)
- func (ql *FxQueryListener) ExitCcompareExp(c *parser.CcompareExpContext)
- func (ql *FxQueryListener) ExitCompareExp(c *parser.CompareExpContext)
- func (ql *FxQueryListener) ExitNoCompareExp(c *parser.NoCompareExpContext)
- func (ql *FxQueryListener) ExitOrLogicalExp(c *parser.OrLogicalExpContext)
- func (ql *FxQueryListener) ExitScompareExp(c *parser.ScompareExpContext)
- func (ql *FxQueryListener) ExitSgExp(c *parser.SgExpContext)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintParserTree ¶
func PrintParserTree(query string)
Types ¶
type FxErrorListener ¶
type FxErrorListener struct {
// contains filtered or unexported fields
}
func NewFxErrorListener ¶
func NewFxErrorListener() *FxErrorListener
func (*FxErrorListener) ReportAmbiguity ¶
func (*FxErrorListener) ReportAttemptingFullContext ¶
func (l *FxErrorListener) ReportAttemptingFullContext(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex int, conflictingAlts *antlr.BitSet, configs antlr.ATNConfigSet)
func (*FxErrorListener) ReportContextSensitivity ¶
func (l *FxErrorListener) ReportContextSensitivity(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex, prediction int, configs antlr.ATNConfigSet)
func (*FxErrorListener) SyntaxError ¶
func (l *FxErrorListener) SyntaxError(recognizer antlr.Recognizer, offendingSymbol interface{}, line, column int, msg string, e antlr.RecognitionException)
type FxQueryListener ¶
type FxQueryListener struct { *parser.BaseFOFAListener Stack *stack.Stack }
func NewFxQueryListener ¶
func NewFxQueryListener() *FxQueryListener
func (*FxQueryListener) ExitAndLogicalExp ¶
func (ql *FxQueryListener) ExitAndLogicalExp(c *parser.AndLogicalExpContext)
func (*FxQueryListener) ExitBracketExp ¶
func (ql *FxQueryListener) ExitBracketExp(c *parser.BracketExpContext)
ExitBracketExp is called when production bracketExp is exited.
func (*FxQueryListener) ExitCcompareExp ¶ added in v0.1.28
func (ql *FxQueryListener) ExitCcompareExp(c *parser.CcompareExpContext)
ExitCcompareExp is called when production ccompareExp is exited.
func (*FxQueryListener) ExitCompareExp ¶
func (ql *FxQueryListener) ExitCompareExp(c *parser.CompareExpContext)
func (*FxQueryListener) ExitNoCompareExp ¶
func (ql *FxQueryListener) ExitNoCompareExp(c *parser.NoCompareExpContext)
ExitNoCompareExp is called when production scompareExp is exited.
func (*FxQueryListener) ExitOrLogicalExp ¶
func (ql *FxQueryListener) ExitOrLogicalExp(c *parser.OrLogicalExpContext)
func (*FxQueryListener) ExitScompareExp ¶
func (ql *FxQueryListener) ExitScompareExp(c *parser.ScompareExpContext)
ExitScompareExp is called when production scompareExp is exited.
func (*FxQueryListener) ExitSgExp ¶
func (ql *FxQueryListener) ExitSgExp(c *parser.SgExpContext)
Click to show internal directories.
Click to hide internal directories.