maxLineLength property

int maxLineLength
final

Lines longer than this many UTF-16 code units are not tokenized, as in VS Code, which uses the same default. Each becomes one token in the current scope. Some grammars have lookaheads that scan to the end of the line, so on minified code their time grows faster than line length and a bundle on one line can take seconds. 0 means no limit.

Implementation

final int maxLineLength;