Package | Description |
---|---|
org.eclipse.wst.jsdt.core.dom | |
org.eclipse.wst.jsdt.core.dom.rewrite |
Modifier and Type | Method and Description |
---|---|
AST |
ASTNode.getAST()
Returns this node's AST.
|
static AST |
AST.newAST(int level)
Creates a new JavaScript abstract syntax tree
(AST) following the specified set of API rules.
|
Modifier and Type | Method and Description |
---|---|
static ASTNode |
ASTNode.copySubtree(AST target,
ASTNode node)
Returns a deep copy of the subtree of AST nodes rooted at the
given node.
|
static java.util.List |
ASTNode.copySubtrees(AST target,
java.util.List nodes)
Returns a deep copy of the subtrees of AST nodes rooted at the
given list of nodes.
|
static PrimitiveType |
PrimitiveType.createAnyType(AST ast) |
Modifier and Type | Method and Description |
---|---|
AST |
ASTRewrite.getAST()
Returns the AST the rewrite was set up on.
|
Modifier and Type | Method and Description |
---|---|
Type |
ImportRewrite.addImport(ITypeBinding binding,
AST ast)
Adds a new import to the rewriter's record and returns a
Type that can be used
in the code. |
Type |
ImportRewrite.addImport(ITypeBinding binding,
AST ast,
ImportRewrite.ImportRewriteContext context)
Adds a new import to the rewriter's record and returns a
Type that can be used
in the code. |
Type |
ImportRewrite.addImportFromSignature(java.lang.String typeSig,
AST ast)
Adds a new import to the rewriter's record and returns a
Type node that can be used
in the code as a reference to the type. |
Type |
ImportRewrite.addImportFromSignature(java.lang.String typeSig,
AST ast,
ImportRewrite.ImportRewriteContext context)
Adds a new import to the rewriter's record and returns a
Type node that can be used
in the code as a reference to the type. |
static ASTRewrite |
ASTRewrite.create(AST ast)
Creates a new instance for describing manipulations of
the given AST.
|
Constructor and Description |
---|
ASTRewrite(AST ast)
Internal constructor.
|
Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.