Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser represents a parser.
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner represents a lexical scanner.
func NewScanner ¶
NewScanner returns a new instance of Scanner.
type Token ¶
type Token int64
const ( ILLEGAL Token = iota IDENTIFIER // Identifier of model or partition SEPARATOR // field separator : , EQUAL // Separator between model name and definition RANGE // When defining a range ex 1-500 MODULO // Take one site every x sites: '/' DECIMAL // Decimal ENDOFLINE // End of line token EOF // End of File )
Click to show internal directories.
Click to hide internal directories.