holyc-lexer
v0.1.4
Published
HolyC Syntax Highlight Lexer
Readme
HolyC Lexer ·

HolyC Syntax Highlight Lexer.
Installation
npm install holyc-lexerAPI
SyntaxLexer
new SyntaxLexer(code).lex()Returns array of SyntaxTokens for recognized parts. See SyntaxToken.
SyntaxToken
Contains information about token type (see SyntaxTokenType) and position of
the token (excluding end position, similar to substring format).
