package
Version:
v0.0.0-...-0f5256c
Opens a new window with list of versions in this module.
Published: May 29, 2019
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Lexer is YAS lexical analizer.
NewLexer creates a new instance of YAS lexer and return it.
`fileName` is used for some error message.
ParseError represents parsing failure with some
location of cause
type Token interface {
Kind() int
Value() interface{}
Line() int
Column() int
}
Token are results of `Lexer.Lex`.
Entity of `Value` depends on `Kind`.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.