Grammar
Nearley
Lexer
format
Error
has
next
reset
save
Nearley
Rule
Nearley
Token
Nearley
Symbol
id
grammar
Hierarchy
NearleyLexer
Index
Properties
format
Error
has
next
reset
save
Properties
format
Error
format
Error
:
(
token
:
NearleyToken
)
=>
string
Type declaration
(
token
:
NearleyToken
)
:
string
Parameters
token:
NearleyToken
Returns
string
has
has
:
(
tokenType
:
string
)
=>
boolean
Type declaration
(
tokenType
:
string
)
:
boolean
Parameters
tokenType:
string
Returns
boolean
next
next
:
(
)
=>
NearleyToken
|
undefined
Type declaration
(
)
:
NearleyToken
|
undefined
Returns
NearleyToken
|
undefined
reset
reset
:
(
chunk
:
string
, info
:
any
)
=>
void
Type declaration
(
chunk
:
string
, info
:
any
)
:
void
Parameters
chunk:
string
info:
any
Returns
void
save
save
:
(
)
=>
any
Type declaration
(
)
:
any
Returns
any