Documentation
¶
Index ¶
Constants ¶
View Source
const ( PATTERN_SINGLE = iota + 1 PATTERN_ZERO_ONE PATTERN_ONE_PLUS PATTERN_ZERO_PLUS )
View Source
const ASTERISK = 57364
View Source
const BAR = 57365
View Source
const COMMA = 57354
View Source
const COUNT = 57347
View Source
const DISTINCT = 57348
View Source
const DOT = 57359
View Source
const LBRACE = 57355
View Source
const LBRACK = 57369
View Source
const LIMIT = 57353
View Source
const LINK = 57366
View Source
const LPAREN = 57357
View Source
const NUMBER = 57371
View Source
const OR = 57350
View Source
const PARTIAL = 57352
View Source
const PLUS = 57362
View Source
const QUESTION = 57363
View Source
const RBRACE = 57356
View Source
const RBRACK = 57370
View Source
const RPAREN = 57358
View Source
const SELECT = 57346
View Source
const SEMICOLON = 57360
View Source
const SLASH = 57361
View Source
const UNION = 57351
View Source
const URI = 57368
View Source
const VAR = 57367
View Source
const WHERE = 57349
Variables ¶
This section is empty.
Functions ¶
func FlattenOrClauseList ¶
Types ¶
type Definition ¶
type OrClause ¶
type OrClause struct { // a component of an OR clause Terms []Filter // pointer to the left/right of OR clause // These are nestable LeftOr []OrClause LeftTerms []Filter RightOr []OrClause RightTerms []Filter }
func FilterListToOrClause ¶
type PathPattern ¶
type Query ¶
type Query struct { Select SelectClause Where WhereClause }
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
func NewScanner ¶
func NewScanner(defs []Definition) *Scanner
func (*Scanner) ScanWords ¶
slightly altered version of https://golang.org/src/bufio/scan.go?s=12794:12872 to keep track of line numbers
type SelectClause ¶
type WhereClause ¶
Click to show internal directories.
Click to hide internal directories.