carvable 1.0.0
carvable: ^1.0.0 copied to clipboard
Allows you to remove and change parts of something, without modifying the original. Carve objects such as Strings and AstNodes, or implement the generic interface.
1.0.0 #
BREAKING CHANGES:
- The API has been refactored, in a way that carvings apply themselves to the carvable object.
Thus, handling all the different possible carvings in
apply()
is no longer needed, instead, all it's needed is to call the carving and pass it in. This allows for more complexity while being organized.
Added:
- Carving interface, to determine what can be passed into a Carvable object. Carvings may only be applied to their respective in and out data types.
- Method
apply()
to Carving, to apply the modifications to the carvable object.
0.0.2 #
Added:
- Methods to add multiple for CarvableAnalyzer
- More documentation
0.0.1 #
Initial version