Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaseChangingStream ¶
type CaseChangingStream struct {
antlr.CharStream
// contains filtered or unexported fields
}
CaseChangingStream wraps an existing CharStream, but upper cases, or lower cases the input before it is tokenized.
func (*CaseChangingStream) LA ¶
func (is *CaseChangingStream) LA(offset int) int
LA gets the value of the symbol at offset from the current position from the underlying CharStream and converts it to either upper case or lower case.
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func New ¶
func New(query string, tr ...TokenStreamTransformer) *Parser
func (*Parser) AddErrorListener ¶
func (p *Parser) AddErrorListener(listener antlr.ErrorListener)
func (*Parser) GetLiteralNames ¶
func (*Parser) RemoveErrorListeners ¶
func (p *Parser) RemoveErrorListeners()
func (*Parser) Visit ¶
func (p *Parser) Visit(visitor fql.FqlParserVisitor) interface{}
func (*Parser) Walk ¶
func (p *Parser) Walk(listener fql.FqlParserListener)
type TokenStreamTransformer ¶
type TokenStreamTransformer func(antlr.TokenStream) antlr.TokenStream
Click to show internal directories.
Click to hide internal directories.