Documentation ¶
Index ¶
Constants ¶
View Source
const ( TokenEnd = iota TokenAngleLeft TokenAngleRight TokenMinus TokenPlus TokenClose TokenComment TokenEqual TokenEscape TokenIdentifier TokenOpen TokenQuote TokenSeparator TokenStop TokenVariable TokenWhitespace )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner represents a lexical scanner.
func NewScanner ¶
NewScanner returns a new instance of Scanner.
func (*Scanner) ScanIgnoreWhitespace ¶
ScanIgnoreWhitespace scans the next non-whitespace token.
Click to show internal directories.
Click to hide internal directories.