PatchParse class final

The outcome of parsing an edit call's patch input — exactly once per call (issue #862 review: the second parse was not guaranteed equivalent to the executor's).

Constructors

PatchParse.failed(String error)
const
PatchParse.usable(HashlinePatch patch)
const

Properties

error → String?
The parser's own diagnostic when unusable, null when usable.
final
hashCode → int
The hash code for this object.
no setterinherited
patch → HashlinePatch?
The parsed patch when usable, null otherwise.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
usable → bool
no setter

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