ReferenceInputNormalization class final

The normalized input and its UTF-16 mapping back to originalText.

Properties

changed → bool
Whether normalization changed the input text.
no setter
hashCode → int
The hash code for this object.
no setterinherited
normalizedLength → int
The number of UTF-16 code units in normalizedText.
no setter
normalizedText → String
Syntax-normalized text. Letter case and whitespace runs are preserved.
final
originalText → String
The input supplied to ReferenceInputNormalizer.normalizeDetailed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceSpans → List<ReferenceInputSpan>
One original source span per UTF-16 code unit in normalizedText.
final

Methods

mapNormalizedSpan(int start, int end) → ReferenceInputSpan
Maps normalized UTF-16 [start, end) to its exact original source span.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
originalTextFor(int start, int end) → String
Returns the original source text represented by normalized [start,end).
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited