Flutter Engine
The Flutter Engine
|
Public Member Functions | |
ChangeContentOverlay (List< SourceEdit > edits) | |
boolean | equals (Object obj) |
List< SourceEdit > | getEdits () |
String | getType () |
int | hashCode () |
JsonObject | toJson () |
String | toString () |
Static Public Member Functions | |
static ChangeContentOverlay | fromJson (JsonObject jsonObject) |
static List< ChangeContentOverlay > | fromJsonArray (JsonArray jsonArray) |
Static Public Attributes | |
static final ChangeContentOverlay[] | EMPTY_ARRAY = new ChangeContentOverlay[0] |
static final List< ChangeContentOverlay > | EMPTY_LIST = Lists.newArrayList() |
A directive to modify an existing file content overlay. One or more ranges of text are deleted from the old file content overlay and replaced with new text.
The edits are applied in the order in which they occur in the list. This means that the offset of each edit must be correct under the assumption that all previous edits have been applied.
It is an error to use this overlay on a file that does not yet have a file content overlay or that has had its overlay removed via RemoveContentOverlay.
If any of the edits cannot be applied due to its offset or length being out of range, an INVALID_OVERLAY_CHANGE error will be reported.
@coverage dart.server.generated.types
Definition at line 42 of file ChangeContentOverlay.java.
|
inline |
Constructor for ChangeContentOverlay
.
Definition at line 58 of file ChangeContentOverlay.java.
|
inline |
Definition at line 64 of file ChangeContentOverlay.java.
|
inlinestatic |
Definition at line 74 of file ChangeContentOverlay.java.
|
inlinestatic |
Definition at line 80 of file ChangeContentOverlay.java.
|
inline |
The edits to be applied to the file.
Definition at line 95 of file ChangeContentOverlay.java.
|
inline |
Definition at line 99 of file ChangeContentOverlay.java.
|
inline |
Definition at line 104 of file ChangeContentOverlay.java.
|
inline |
Definition at line 111 of file ChangeContentOverlay.java.
|
inline |
Definition at line 123 of file ChangeContentOverlay.java.
|
static |
Definition at line 44 of file ChangeContentOverlay.java.
|
static |
Definition at line 46 of file ChangeContentOverlay.java.