Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMixedIndentation = errors.New("mixed spaces and tabs aren't allowed on the same line")
Functions ¶
This section is empty.
Types ¶
type LexerError ¶
func (*LexerError) At ¶
func (e *LexerError) At() Location
func (*LexerError) Error ¶
func (e *LexerError) Error() string
func (*LexerError) Unwrap ¶
func (e *LexerError) Unwrap() error
type TokenType ¶
type TokenType int
const ( TokenIdentifier TokenType = iota TokenNewLine TokenInlineText TokenImportPath TokenParenOpen TokenParenClose TokenEquals TokenDot TokenComma TokenPlus TokenHashtag TokenColon TokenInterpolationStart TokenQuestionMark TokenExclamationPoint TokenPipe TokenCommentStart TokenCommentStartBuffered TokenCommentText TokenClassName TokenID TokenKeyword TokenAttributeName TokenQuotedString TokenGoExpr TokenGoBlock TokenEOF )
type UnexpectedRuneError ¶
func (*UnexpectedRuneError) Error ¶
func (e *UnexpectedRuneError) Error() string
Click to show internal directories.
Click to hide internal directories.