- rewriteAST
Converts all modifications recorded by this rewriter into an object representing
the corresponding t
- create
Creates a new instance for describing manipulations of the given AST.
- getListRewrite
Creates and returns a new rewriter for describing modifications to the given
list property of the gi
- set
Sets the given property of the given node. If the given property is a child
property, the value must
- createStringPlaceholder
Creates and returns a placeholder node for a source string that is to be
inserted into the output do
- remove
Removes the given node from its parent in this rewriter. The AST itself is not
actually modified in
- createMoveTarget
Creates and returns a placeholder node for the new locations of the given node.
After obtaining a pl
- getAST
Returns the AST the rewrite was set up on.
- replace
Replaces the given node in this rewriter. The replacement node must either be
brand new (not part of
- createCopyTarget
Creates and returns a placeholder node for a true copy of the given node. The
placeholder node can e
- getExtendedSourceRangeComputer
Returns the extended source range computer for this AST rewriter. The default
value is a new TargetS
- setTargetSourceRangeComputer
Sets a custom target source range computer for this AST rewriter. This is
advanced feature to modify