parser

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CaseChangingStream added in v0.16.0

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 added in v0.16.0

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) *Parser

func (*Parser) AddErrorListener

func (p *Parser) AddErrorListener(listener antlr.ErrorListener)

func (*Parser) GetLiteralNames added in v0.16.0

func (p *Parser) GetLiteralNames() []string

func (*Parser) Visit

func (p *Parser) Visit(visitor fql.FqlParserVisitor) interface{}

func (*Parser) Walk added in v0.15.0

func (p *Parser) Walk(listener fql.FqlParserListener)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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