You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
266 B
29 lines
266 B
6 years ago
|
package revision
|
||
|
|
||
|
// token represents a entity extracted from string parsing
|
||
|
type token int
|
||
|
|
||
|
const (
|
||
|
eof token = iota
|
||
|
|
||
|
aslash
|
||
|
asterisk
|
||
|
at
|
||
|
caret
|
||
|
cbrace
|
||
|
colon
|
||
|
control
|
||
|
dot
|
||
|
emark
|
||
|
minus
|
||
|
number
|
||
|
obrace
|
||
|
obracket
|
||
|
qmark
|
||
|
slash
|
||
|
space
|
||
|
tilde
|
||
|
tokenError
|
||
|
word
|
||
|
)
|