YamlEditBuilder class abstract

An EditBuilder used to build edits in YAML files.

Clients may not extend, implement or mix-in this class.

Implemented types

Constructors

YamlEditBuilder()

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

addLinkedEdit(String groupName, void buildLinkedEdit(YamlLinkedEditBuilder builder)) → void
Add a region of text that is part of the linked edit group with the given groupName. The buildLinkedEdit function is used to write the content of the region of text and to add suggestions for other possible values for that region.
override
addSimpleLinkedEdit(String groupName, String text, {LinkedEditSuggestionKind kind, List<String> suggestions}) → void
Add the given text as a linked edit group with the given groupName. If both a kind and a list of suggestions are provided, they will be added as suggestions to the group with the given kind.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
selectAll(void writer()) → void
Set the selection to cover all of the code written by the given writer.
inherited
selectHere() → void
Set the selection to the current location within the edit being built.
inherited
toString() String
A string representation of this object.
inherited
write(String string) → void
Add the given string to the content of the current edit.
inherited
writeln([String string]) → void
Add the given string to the content of the current edit and then add an end-of-line marker.
inherited

Operators

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