UNPKG
@toml-tools/lexer
Version:
latest (1.0.0)
release-v1 (1.0.1)
1.0.1
1.0.0
0.4.0
0.3.5
0.3.2
0.3.1
0.3.0
0.2.0
0.1.1
0.1.0
0.0.1
TOML Lexer Implemented in JavaScript
github.com/un-ts/toml-tools/tree/master
un-ts/toml-tools
@toml-tools/lexer
/
api.d.ts
5 lines
(3 loc)
•
188 B
TypeScript
View Raw
1
2
3
4
5
import
{
ILexingResult
,
IToken
}
from
"chevrotain"
;
export
declare
function
tokenize
(
text
:
string
):
ILexingResult
;
export
declare
const
tokensDictionary
: { [
tokenName
:
string
]:
IToken
};