FluentParser class
Recursive-descent parser for Fluent Syntax 1.0.
Junk recovery: on a parse error inside a top-level entry, the offending span is preserved as a Junk entry and parsing resumes at the next entry boundary, so a single bad message never breaks an otherwise-valid resource.
Constructors
- FluentParser({FluentParserOptions options = const FluentParserOptions()})
-
Creates a parser configured by
options.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
String source) → Resource - Parse the full source into a Resource.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited