- Support
%case-sensitivedirective$case-sensitive false
SyntaxErrorintroduced as the common interface ofLexerErrorandParserError.
- To indicate where the error occurs,
positionis added toLexerError,ParserError,getLexerErrorMessageandgetParserErrorMessage.
%classsupportsabstract. Example,%class abstract YourClassJisonParserMixinadded.- Remove
InjectFunctionandParserRange
- Remove the support of the
backtrack_lexer,flexandrangesoptions
JisonParseradds two methods:getParserErrorMessageandgetLexerErrorMessage. They're used for providing customized messasges, such as I18N.DefaultJisonParseris added. It is the default base class of the generated Parser.%extendsis supported%classdoesn't supportextendsany more
- Migrate to null-safety
%classsupportsextends- Rename
dison.jstojison2dart.js
- Support the prologue:
%{and%}. And, remove the%code-%%block
- First release