CarvableAnalyzer class abstract
- Inheritance
-
- Object
- CarvableString
- CarvableAnalyzer
- Implementers
Constructors
Properties
-
carvings
→ SplayTreeSet<
Carving< String, String> > -
List of carvings to be applied to an input.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- input → String
-
finalinherited
- offset → int
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
append(
String value, {int? at}) → CarvableString -
Create a carving that will append a string when applied.
inherited
-
apply(
) → String -
Apply the list of carvings currently added to the carvable object.
inherited
-
carve(
Carving< String, String> element) → void -
Add a carving to the list of carvings.
inherited
-
carveAll(
Iterable< Carving< elements) → voidString, String> > -
Add a list of carvings 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 -
Create a carving that will remove a section 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.
-
removeToken(
SyntacticEntity token) → CarvableAnalyzer - Remove a token from the resulting source.
-
removeTokens(
Iterable< SyntacticEntity> tokens) → CarvableAnalyzer - Remove multiple tokens from the resulting source.
-
replace(
int start, int end, String replacement) → CarvableString -
Create a carving that will repalce a section when applied.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited