Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlphaNum ¶ added in v0.40.1
Types ¶
type Lexer ¶
type Lexer struct {
// contains filtered or unexported fields
}
func NewLineMode ¶
NewLineMode creates a lexer in line by line mode, with possible continuation needed.
func (*Lexer) CurrentLine ¶ added in v0.53.0
CurrentLine returns the current line as a string, the position within that line, and the current line number. Useful for error handling. This operation may be somewhat expensive.
func (*Lexer) HadNewline ¶ added in v0.27.0
func (*Lexer) HadWhitespace ¶ added in v0.25.0
func (*Lexer) LastNewLine ¶ added in v0.53.0
Click to show internal directories.
Click to hide internal directories.