CommandExecutor class abstract

Executes EditCommands in the order in which they're queued.

Each EditCommand is given access to this CommandExecutor during the command's execution. Each EditCommand is expected to logChanges with the given CommandExecutor.

Constructors

CommandExecutor()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

appendCommand(EditCommand command) → void
Adds the given command to the end of the command queue.
executeCommand(EditCommand command) → void
Immediately executes the given command.
logChanges(List<EditEvent> changes) → void
Log a series of document changes that were just made by the active command.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prependCommand(EditCommand command) → void
Adds the given command to the beginning of the command queue, but after any set of commands that are currently executing.
toString() String
A string representation of this object.
inherited

Operators

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