package lexer
import "github.com/gobwas/glob/syntax/lexer"
Index ¶
Functions ¶
func NewLexer ¶
func NewLexer(source string) *lexer
func Special ¶
Types ¶
type Token ¶
func (Token) String ¶
type TokenType ¶
type TokenType int
const ( EOF TokenType = iota Error Text Char Any Super Single Not Separator RangeOpen RangeClose RangeLo RangeHi RangeBetween TermsOpen TermsClose )
func (TokenType) String ¶
Source Files ¶
- Version
- v0.2.1
- Published
- Oct 22, 2016
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 2 hours ago –
Tools for package owners.