Documentation
¶
Overview ¶
Package parser implements the syntax analyzer.
Index ¶
Constants ¶
View Source
const ( TkDot = 57369 TkEQ = 57363 TkGE = 57367 TkGT = 57365 TkIdent = 57358 TkKeywordAnd = 57349 TkKeywordContains = 57351 TkKeywordCurrentTime = 57352 TkKeywordFalse = 57347 TkKeywordList = 57354 TkKeywordNot = 57350 TkKeywordNumber = 57353 TkKeywordOr = 57348 TkKeywordTrue = 57346 TkKeywordVersion = 57355 TkLE = 57368 TkLT = 57364 TkNE = 57366 TkNumber = 57356 TkParL = 57359 TkParR = 57360 TkSBktL = 57361 TkSBktR = 57362 TkText = 57357 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lex ¶
type Lex struct {
// contains filtered or unexported fields
}
Lex provides the lexical scanner interface required by the generated parser.
type Result ¶
type Result struct { Eval bool // evaluation result Errors int // number of non-syntactic errors Status int // parser status is 0 <=> 0 syntax erros LastError string // record last error message }
Result returns parser result.
Click to show internal directories.
Click to hide internal directories.