Documentation ¶
Index ¶
Constants ¶
View Source
const AND = 57362
View Source
const AS = 57347
View Source
const BITWISE_OR = 57363
View Source
const COLON = 57364
View Source
const COMMA = 57365
View Source
const DefaultFieldForFullText = "__log___"
View Source
const EQ = 57353
View Source
const EXTRACT = 57346
View Source
const GT = 57356
View Source
const GTE = 57357
View Source
const IDENT = 57359
View Source
const IN = 57352
View Source
const LPAREN = 57348
View Source
const LSQUARE = 57350
View Source
const LT = 57354
View Source
const LTE = 57355
View Source
const NEQ = 57358
View Source
const OR = 57361
View Source
const RPAREN = 57349
View Source
const RSQUARE = 57351
View Source
const STRING = 57360
Variables ¶
This section is empty.
Functions ¶
func ScanString ¶
func ScanString(r io.RuneScanner) (string, error)
ScanString reads a quoted string from a rune reader.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser represents an InfluxQL parser.
func (*Parser) GetScanner ¶
type Pos ¶
Pos specifies the line and character position of a token. The Char and Line are both zero-based indexes.
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner represents a lexical scanner for InfluxQL.
func NewScanner ¶
NewScanner returns a new instance of Scanner.
type Token ¶
type Token int
Token is a lexical token of the InfluxQL language.
const ( // ILLEGAL Token, EOF, WS are Special InfluxQL tokens. ILLEGAL Token = iota EOF WS BADSTRING // "abc BADESCAPE // \q )
These are a comprehensive list of InfluxQL language tokens.
type YyParser ¶
type YyParser struct { Query influxql.Query Scanner *Scanner // contains filtered or unexported fields }
func NewYyParser ¶
func (*YyParser) ParseTokens ¶
func (p *YyParser) ParseTokens()
func (*YyParser) SetScanner ¶
type YyParserError ¶
type YyParserError string
func (YyParserError) Error ¶
func (p YyParserError) Error() string
Click to show internal directories.
Click to hide internal directories.