lexer_builder_runtime
Runtime types for lexers generated by lexer_builder.
See the lexer_builder package and the generated class documentation for more information.
If you don't need the generation, you can also extend the BaseParser class and provide the rules yourself.
Run this command:
With Dart:
$ dart pub add lexer_builder_runtime
With Flutter:
$ flutter pub add lexer_builder_runtime
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
lexer_builder_runtime: ^0.1.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:lexer_builder_runtime/lexer_builder_runtime.dart';
Download details:
Author: tareksander
Source: https://github.com/tareksander/Dart-Parsertools/tree/main/lexer_builder_runtime