OptionalerrorOptional custom error handler. If omitted, a default handler throws on the first error.
OptionallexerOptional Chevrotain lexer configuration (e.g., positionTracking).
OptionalparserOptional Chevrotain parser configuration (e.g., maxLookahead).
OptionalqueryOptional function to preprocess the input string before lexing.
The complete token vocabulary the parser and lexer should recognize.
Configuration for ParserBuilder.build. Specifies the token vocabulary, optional Chevrotain parser/lexer configuration, and optional hooks for preprocessing input or handling parse errors.