EditCheckInput class final
What an EditCheck is asked to check: the nodes an op touched, as JSON (as written: a set's node, a patched node's merged JSON), in the document after the op.
- Annotations
-
- @immutable
Constructors
Properties
- catalog → Catalog
-
final
- document → LayoutDocument
-
The document after the op.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- incomplete → bool
-
Whether the document is still being built (a stream): a reference to a
node, screen or variable that has not arrived yet is a warning, not an
error (endOfStream reports what never came).
final
-
nodes
→ Map<
String, Json> -
Node id → its JSON, for every node the op created, changed, moved or
re-parented (a parent whose child list changed).
final
- op → int
-
The op's index in its batch (diagnostics carry it).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
screens
→ Set<
String> -
The canvases of the document and the ids still pending (navigation may
name a screen that has not arrived yet).
final
-
variables
→ Map<
String, Set< String> > -
Scope → the names of the variables the op declared or redeclared (a
varsop): their formulas are checked like a node's expressions.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