CarvableAnalyzer class
- Inheritance
-
- Object
- CarvableString
- CarvableAnalyzer
Constructors
- CarvableAnalyzer.new(String input, {int offset = 0, String? replacement})
- CarvableAnalyzer.empty()
- CarvableAnalyzer.fromElement(Element element)
-
factory
- CarvableAnalyzer.fromLibrary(LibraryElement library)
-
factory
- CarvableAnalyzer.fromNode(AstNode node)
-
factory
Properties
Methods
-
apply(
) → String -
Apply the list of carving zones currently added to the carvable object.
inherited
-
carve(
CarvingRange range) → void -
Add a carving zone to the list of carvings.
inherited
-
carveAll(
Iterable< CarvingRange> ranges) → void -
Add a list of carving zones to the list of carvings.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
int start, int end) → CarvableString -
Append a carving range to be removed when applied.
inherited
-
removeElement(
Element element) → CarvableAnalyzer - Remove an Element from the resulting source.
-
removeElements(
Iterable< Element> elements) → CarvableAnalyzer - Remove multiple Elements from the resulting source.
-
removeNode(
AstNode node) → CarvableAnalyzer - Remove an AstNode from the resulting source.
-
removeNodes(
Iterable< AstNode> nodes) → CarvableAnalyzer - Remove multiple AstNodes from the resulting source.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited