package
Version:
v0.0.0-...-2c802aa
Opens a new window with list of versions in this module.
Published: Nov 26, 2019
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package token provides tokens for parsing the regular expressions.
Token represents a token.
NewToken returns a new Token.
Type is integer to identify the type of token.
const (
CHARACTER Type = iota
UNION
STAR
PLUS
QUESTION
ANY
LPAREN
RPAREN
EOF
)
Each token is identified by a unique integer.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.