Discover Packages
github.com/xenon007/registry-explorer
internal
explore
lexer
package
Version:
v0.0.0-...-e039b74
Opens a new window with list of versions in this module.
Published: May 10, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
item represents a token returned from the scanner.
itemType identifies the type of lex items.
const (
ItemError ItemType = iota
ItemEOF
ItemAccessor
ItemIndex
ItemSentinel
)
lexer holds the state of the scanner.
lex creates a new scanner for the input string.
NextItem returns the next item from the input.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.