ParseConfig class final
Controls source positions, unknown fields, and nesting depth.
Constructors
- ParseConfig({bool captureSourceLocations = true, UnknownFieldPolicy unknownFields = UnknownFieldPolicy.preserve, int maxDepth = 128})
-
Captures positions and preserves unknown fields by default.
const
Properties
- captureSourceLocations → bool
-
Whether to record source coordinates for diagnostics.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxDepth → int
-
Maximum nesting depth, including extensions. Must be positive.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unknownFields → UnknownFieldPolicy
-
Policy for unknown keys on fixed-field objects. Extensions are exempt.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited