//
pkg.gl
Category
github.com/kataras/iris/v12
macro
interpreter
token
package
12.2.11
Repository:
https://github.com/kataras/iris.git
Documentation:
pkg.go.dev
Versions
2
Dependencies
0
Dependents
2
Files
36 SLOC
#
Functions
LookupIdent
LookupIdent receives a series of chars and tries to resolves the token type.
#
Constants
COLON
:.
COMMA
PARAM_FUNC_ARG // 1.
ELSE
else.
EOF
0.
IDENT
string or keyword.
ILLEGAL
/about/{fullname:alphabetical} /profile/{anySpecialName:string} {id:uint64 range(1,5) else 404} /admin/{id:int eq(1) else 402} /file/{filepath:file else 405}.
INT
42.
LBRACE
{.
LPAREN
(.
RBRACE
}.
RPAREN
).
#
Structs
Token
Token describes the letter(s) or symbol, is a result of the lexer.
#
Type aliases
Type
Type is a specific type of int which describes the symbols.