Commit 7463b8ef authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Separate EsprimaLexer and EsprimaTokenizer.

The former now implements the same API as old Lexer, while the
Tokenizer is a singleton class that loads esprima.js just once
and provides the tokenizing service.  Tokenizer also converts
all Esprima tokens to JsDuck::Lexer kind of tokens.
parent b34e0a40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment