| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.5.0_12) on Fri May 30 11:15:54 CDT 2008 --> |
| <TITLE> |
| AST |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.core.dom.AST class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="AST"; |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AST.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Assignment.Operator.html" title="class in org.eclipse.wst.jsdt.core.dom"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTMatcher.html" title="class in org.eclipse.wst.jsdt.core.dom"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/eclipse/wst/jsdt/core/dom/AST.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AST.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.eclipse.wst.jsdt.core.dom</FONT> |
| <BR> |
| Class AST</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.wst.jsdt.core.dom.AST</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public final class <B>AST</B><DT>extends java.lang.Object</DL> |
| </PRE> |
| |
| <P> |
| Umbrella owner and abstract syntax tree node factory. |
| An <code>AST</code> instance serves as the common owner of any number of |
| AST nodes, and as the factory for creating new AST nodes owned by that |
| instance. |
| <p> |
| Abstract syntax trees may be hand constructed by clients, using the |
| <code>new<i>TYPE</i></code> factory methods to create new nodes, and the |
| various <code>set<i>CHILD</i></code> methods |
| (see <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>ASTNode</CODE></A> and its subclasses) |
| to connect them together. |
| </p> |
| <p> |
| Each AST node belongs to a unique AST instance, called the owning AST. |
| The children of an AST node always have the same owner as their parent node. |
| If a node from one AST is to be added to a different AST, the subtree must |
| be cloned first to ensures that the added nodes have the correct owning AST. |
| </p> |
| <p> |
| There can be any number of AST nodes owned by a single AST instance that are |
| unparented. Each of these nodes is the root of a separate little tree of nodes. |
| The method <code>ASTNode.getRoot()</code> navigates from any node to the root |
| of the tree that it is contained in. Ordinarily, an AST instance has one main |
| tree (rooted at a <code>JavaScriptUnit</code>), with newly-created nodes appearing |
| as additional roots until they are parented somewhere under the main tree. |
| One can navigate from any node to its AST instance, but not conversely. |
| </p> |
| <p> |
| The class <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTParser.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>ASTParser</CODE></A> parses a string |
| containing a JavaScript source code and returns an abstract syntax tree |
| for it. The resulting nodes carry source ranges relating the node back to |
| the original source characters. |
| </p> |
| <p> |
| JavaScript units created by <code>ASTParser</code> from a |
| source document can be serialized after arbitrary modifications |
| with minimal loss of original formatting. Here is an example: |
| <pre> |
| Document doc = new Document("var abc;\nfunction X() {}\n"); |
| ASTParser parser = ASTParser.newParser(AST.JLS3); |
| parser.setSource(doc.get().toCharArray()); |
| JavaScriptUnit cu = (JavaScriptUnit) parser.createAST(null); |
| cu.recordModifications(); |
| AST ast = cu.getAST(); |
| FunctionDeclaration id = ast.newFunctionDeclaration(); |
| id.setName(ast.newName("X2"); |
| cu.statements().add(id); // add declaration at end |
| TextEdit edits = cu.rewrite(document, null); |
| UndoEdit undo = edits.apply(document); |
| </pre> |
| See also <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/rewrite/ASTRewrite.html" title="class in org.eclipse.wst.jsdt.core.dom.rewrite"><CODE>ASTRewrite</CODE></A> for |
| an alternative way to describe and serialize changes to a |
| read-only AST. |
| </p> |
| <p> |
| Clients may create instances of this class using <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newAST(int)"><CODE>newAST(int)</CODE></A>, |
| but this class is not intended to be subclassed. |
| </p> |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTParser.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>ASTParser</CODE></A>, |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>Provisional API: This class/interface is part of an interim API that is still under development and expected to |
| change significantly before reaching stability. It is being made available at this early stage to solicit feedback |
| from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken |
| (repeatedly) as the API evolves.</CODE></A></DL> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#JLS2">JLS2</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>Clients should use the <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#JLS3"><CODE>JLS3</CODE></A> AST API instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#JLS3">JLS3</A></B></CODE> |
| |
| <BR> |
| Constant for indicating the AST API that handles ECMAScript 4.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#AST()">AST</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>Clients should port their code to use the new JLS3 AST API and call |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newAST(int)"><CODE>AST.newAST(AST.JLS3)</CODE></A> instead of using this constructor.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#AST(java.util.Map)">AST</A></B>(java.util.Map options)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>Clients should port their code to use the new JLS3 AST API and call |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newAST(int)"><CODE>AST.newAST(AST.JLS3)</CODE></A> instead of using this constructor.</I></TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#apiLevel()">apiLevel</A></B>()</CODE> |
| |
| <BR> |
| Return the API level supported by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JavaScriptUnit.html" title="class in org.eclipse.wst.jsdt.core.dom">JavaScriptUnit</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#convertCompilationUnit(int, org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration, char[], java.util.Map, boolean, org.eclipse.wst.jsdt.internal.core.CompilationUnit, int, IProgressMonitor)">convertCompilationUnit</A></B>(int level, |
| org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration compilationUnitDeclaration, |
| char[] source, |
| java.util.Map options, |
| boolean isResolved, |
| org.eclipse.wst.jsdt.internal.core.CompilationUnit workingCopy, |
| int reconcileFlags, |
| IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Internal method.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom">ASTNode</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#createInstance(java.lang.Class)">createInstance</A></B>(java.lang.Class nodeClass)</CODE> |
| |
| <BR> |
| Creates an unparented node of the given node class |
| (non-abstract subclass of <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>ASTNode</CODE></A>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom">ASTNode</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#createInstance(int)">createInstance</A></B>(int nodeType)</CODE> |
| |
| <BR> |
| Creates an unparented node of the given node type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#hasBindingsRecovery()">hasBindingsRecovery</A></B>()</CODE> |
| |
| <BR> |
| Returns true if the ast tree was created with bindings recovery, false otherwise</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#hasResolvedBindings()">hasResolvedBindings</A></B>()</CODE> |
| |
| <BR> |
| Returns true if the ast tree was created with bindings, false otherwise</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#hasStatementsRecovery()">hasStatementsRecovery</A></B>()</CODE> |
| |
| <BR> |
| Returns true if the ast tree was created with statements recovery, false otherwise</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#modificationCount()">modificationCount</A></B>()</CODE> |
| |
| <BR> |
| Returns the modification count for this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AnonymousClassDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">AnonymousClassDeclaration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newAnonymousClassDeclaration()">newAnonymousClassDeclaration</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented anonymous class declaration |
| node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ArrayAccess.html" title="class in org.eclipse.wst.jsdt.core.dom">ArrayAccess</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newArrayAccess()">newArrayAccess</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented array access expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ArrayCreation.html" title="class in org.eclipse.wst.jsdt.core.dom">ArrayCreation</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newArrayCreation()">newArrayCreation</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented array creation expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ArrayInitializer.html" title="class in org.eclipse.wst.jsdt.core.dom">ArrayInitializer</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newArrayInitializer()">newArrayInitializer</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented array initializer node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ArrayType.html" title="class in org.eclipse.wst.jsdt.core.dom">ArrayType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newArrayType(org.eclipse.wst.jsdt.core.dom.Type)">newArrayType</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A> componentType)</CODE> |
| |
| <BR> |
| Creates and returns a new unparented array type node with the given |
| component type, which may be another array type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ArrayType.html" title="class in org.eclipse.wst.jsdt.core.dom">ArrayType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newArrayType(org.eclipse.wst.jsdt.core.dom.Type, int)">newArrayType</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A> elementType, |
| int dimensions)</CODE> |
| |
| <BR> |
| Creates and returns a new unparented array type node with the given |
| element type and number of dimensions.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AssertStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">AssertStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newAssertStatement()">newAssertStatement</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Assignment.html" title="class in org.eclipse.wst.jsdt.core.dom">Assignment</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newAssignment()">newAssignment</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented assignment expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html" title="class in org.eclipse.wst.jsdt.core.dom">AST</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newAST(int)">newAST</A></B>(int level)</CODE> |
| |
| <BR> |
| Creates a new JavaScript abstract syntax tree |
| (AST) following the specified set of API rules.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Block.html" title="class in org.eclipse.wst.jsdt.core.dom">Block</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newBlock()">newBlock</A></B>()</CODE> |
| |
| <BR> |
| Creates an unparented block node owned by this AST, for an empty list |
| of statements.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BlockComment.html" title="class in org.eclipse.wst.jsdt.core.dom">BlockComment</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newBlockComment()">newBlockComment</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new block comment placeholder node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BooleanLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">BooleanLiteral</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newBooleanLiteral(boolean)">newBooleanLiteral</A></B>(boolean value)</CODE> |
| |
| <BR> |
| Creates and returns a new unparented boolean literal node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BreakStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">BreakStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newBreakStatement()">newBreakStatement</A></B>()</CODE> |
| |
| <BR> |
| Creates an unparented break statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/CastExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">CastExpression</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newCastExpression()">newCastExpression</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented cast expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/CatchClause.html" title="class in org.eclipse.wst.jsdt.core.dom">CatchClause</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newCatchClause()">newCatchClause</A></B>()</CODE> |
| |
| <BR> |
| Creates a new unparented catch clause node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/CharacterLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">CharacterLiteral</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newCharacterLiteral()">newCharacterLiteral</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented character literal node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ClassInstanceCreation.html" title="class in org.eclipse.wst.jsdt.core.dom">ClassInstanceCreation</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newClassInstanceCreation()">newClassInstanceCreation</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented class instance creation |
| ("new") expression node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JavaScriptUnit.html" title="class in org.eclipse.wst.jsdt.core.dom">JavaScriptUnit</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newCompilationUnit()">newCompilationUnit</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>Use <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newJavaScriptUnit()"><CODE>newJavaScriptUnit()</CODE></A> instead</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ConditionalExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">ConditionalExpression</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newConditionalExpression()">newConditionalExpression</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented conditional expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ConstructorInvocation.html" title="class in org.eclipse.wst.jsdt.core.dom">ConstructorInvocation</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newConstructorInvocation()">newConstructorInvocation</A></B>()</CODE> |
| |
| <BR> |
| Creates an unparented alternate constructor ("this(...);") invocation |
| statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ContinueStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">ContinueStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newContinueStatement()">newContinueStatement</A></B>()</CODE> |
| |
| <BR> |
| Creates an unparented continue statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/DoStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">DoStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newDoStatement()">newDoStatement</A></B>()</CODE> |
| |
| <BR> |
| Creates a new unparented do statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/EmptyStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">EmptyStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newEmptyStatement()">newEmptyStatement</A></B>()</CODE> |
| |
| <BR> |
| Creates a new unparented empty statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/EnhancedForStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">EnhancedForStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newEnhancedForStatement()">newEnhancedForStatement</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ExpressionStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">ExpressionStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newExpressionStatement(org.eclipse.wst.jsdt.core.dom.Expression)">newExpressionStatement</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Expression.html" title="class in org.eclipse.wst.jsdt.core.dom">Expression</A> expression)</CODE> |
| |
| <BR> |
| Creates a new unparented expression statement node owned by this AST, |
| for the given expression.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FieldAccess.html" title="class in org.eclipse.wst.jsdt.core.dom">FieldAccess</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFieldAccess()">newFieldAccess</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented field access expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FieldDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">FieldDeclaration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFieldDeclaration(org.eclipse.wst.jsdt.core.dom.VariableDeclarationFragment)">newFieldDeclaration</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/VariableDeclarationFragment.html" title="class in org.eclipse.wst.jsdt.core.dom">VariableDeclarationFragment</A> fragment)</CODE> |
| |
| <BR> |
| Creates a new unparented field declaration node owned by this AST, |
| for the given variable declaration fragment.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ForInStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">ForInStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newForInStatement()">newForInStatement</A></B>()</CODE> |
| |
| <BR> |
| Creates a new unparented for..in statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ForStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">ForStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newForStatement()">newForStatement</A></B>()</CODE> |
| |
| <BR> |
| Creates a new unparented for statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionDeclaration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFunctionDeclaration()">newFunctionDeclaration</A></B>()</CODE> |
| |
| <BR> |
| Creates an unparented method declaration node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionExpression</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFunctionExpression()">newFunctionExpression</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented function expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionInvocation.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionInvocation</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFunctionInvocation()">newFunctionInvocation</A></B>()</CODE> |
| |
| <BR> |
| Creates an unparented method invocation expression node owned by this |
| AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionRef.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionRef</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFunctionRef()">newFunctionRef</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new method reference node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionRefParameter.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionRefParameter</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFunctionRefParameter()">newFunctionRefParameter</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new method reference node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IfStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">IfStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newIfStatement()">newIfStatement</A></B>()</CODE> |
| |
| <BR> |
| Creates a new unparented if statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ImportDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">ImportDeclaration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newImportDeclaration()">newImportDeclaration</A></B>()</CODE> |
| |
| <BR> |
| Creates an unparented import declaration node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/InferredType.html" title="class in org.eclipse.wst.jsdt.core.dom">InferredType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newInferredType(java.lang.String)">newInferredType</A></B>(java.lang.String typeName)</CODE> |
| |
| <BR> |
| Creates and returns a new inferred type node with the given |
| type name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/InfixExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">InfixExpression</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newInfixExpression()">newInfixExpression</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented infix expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Initializer.html" title="class in org.eclipse.wst.jsdt.core.dom">Initializer</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newInitializer()">newInitializer</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/InstanceofExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">InstanceofExpression</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newInstanceofExpression()">newInstanceofExpression</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented instanceof expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JSdoc.html" title="class in org.eclipse.wst.jsdt.core.dom">JSdoc</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newJavadoc()">newJavadoc</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>Use <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newJSdoc()"><CODE>newJSdoc()</CODE></A> instead</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JavaScriptUnit.html" title="class in org.eclipse.wst.jsdt.core.dom">JavaScriptUnit</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newJavaScriptUnit()">newJavaScriptUnit</A></B>()</CODE> |
| |
| <BR> |
| Creates an unparented javaScript unit node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JSdoc.html" title="class in org.eclipse.wst.jsdt.core.dom">JSdoc</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newJSdoc()">newJSdoc</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new doc comment node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/LabeledStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">LabeledStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newLabeledStatement()">newLabeledStatement</A></B>()</CODE> |
| |
| <BR> |
| Creates a new unparented labeled statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/LineComment.html" title="class in org.eclipse.wst.jsdt.core.dom">LineComment</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newLineComment()">newLineComment</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new line comment placeholder node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ListExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">ListExpression</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newListExpression()">newListExpression</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/MemberRef.html" title="class in org.eclipse.wst.jsdt.core.dom">MemberRef</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newMemberRef()">newMemberRef</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new member reference node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionDeclaration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newMethodDeclaration()">newMethodDeclaration</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>Use <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFunctionDeclaration()"><CODE>newFunctionDeclaration()</CODE></A> instead</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionInvocation.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionInvocation</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newMethodInvocation()">newMethodInvocation</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>Use <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFunctionInvocation()"><CODE>newFunctionInvocation()</CODE></A> instead</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionRef.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionRef</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newMethodRef()">newMethodRef</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>Use <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFunctionRef()"><CODE>newFunctionRef()</CODE></A> instead</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionRefParameter.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionRefParameter</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newMethodRefParameter()">newMethodRefParameter</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>Use <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFunctionRefParameter()"><CODE>newFunctionRefParameter()</CODE></A> instead</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Modifier.html" title="class in org.eclipse.wst.jsdt.core.dom">Modifier</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newModifier(org.eclipse.wst.jsdt.core.dom.Modifier.ModifierKeyword)">newModifier</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Modifier.ModifierKeyword.html" title="class in org.eclipse.wst.jsdt.core.dom">Modifier.ModifierKeyword</A> keyword)</CODE> |
| |
| <BR> |
| Creates and returns a new unparented modifier node for the given |
| modifier.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.util.List</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newModifiers(int)">newModifiers</A></B>(int flags)</CODE> |
| |
| <BR> |
| Creates and returns a list of new unparented modifier nodes |
| for the given modifier flags.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Name.html" title="class in org.eclipse.wst.jsdt.core.dom">Name</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newName(java.lang.String)">newName</A></B>(java.lang.String qualifiedName)</CODE> |
| |
| <BR> |
| Creates and returns a new unparented name node for the given name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Name.html" title="class in org.eclipse.wst.jsdt.core.dom">Name</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newName(java.lang.String[])">newName</A></B>(java.lang.String[] identifiers)</CODE> |
| |
| <BR> |
| Creates and returns a new unparented name node for the given name |
| segments.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/NullLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">NullLiteral</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newNullLiteral()">newNullLiteral</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented null literal node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/NumberLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">NumberLiteral</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newNumberLiteral()">newNumberLiteral</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented number literal node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/NumberLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">NumberLiteral</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newNumberLiteral(java.lang.String)">newNumberLiteral</A></B>(java.lang.String literal)</CODE> |
| |
| <BR> |
| Creates and returns a new unparented number literal node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ObjectLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">ObjectLiteral</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newObjectLiteral()">newObjectLiteral</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented object literal expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ObjectLiteralField.html" title="class in org.eclipse.wst.jsdt.core.dom">ObjectLiteralField</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newObjectLiteralField()">newObjectLiteralField</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented object literal field expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/PackageDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">PackageDeclaration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newPackageDeclaration()">newPackageDeclaration</A></B>()</CODE> |
| |
| <BR> |
| Creates an unparented package declaration node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ParameterizedType.html" title="class in org.eclipse.wst.jsdt.core.dom">ParameterizedType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newParameterizedType(org.eclipse.wst.jsdt.core.dom.Type)">newParameterizedType</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A> type)</CODE> |
| |
| <BR> |
| Creates and returns a new unparented parameterized type node with the |
| given type and an empty list of type arguments.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ParenthesizedExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">ParenthesizedExpression</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newParenthesizedExpression()">newParenthesizedExpression</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented parenthesized expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/PostfixExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">PostfixExpression</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newPostfixExpression()">newPostfixExpression</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented postfix expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/PrefixExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">PrefixExpression</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newPrefixExpression()">newPrefixExpression</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented prefix expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/PrimitiveType.html" title="class in org.eclipse.wst.jsdt.core.dom">PrimitiveType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newPrimitiveType(org.eclipse.wst.jsdt.core.dom.PrimitiveType.Code)">newPrimitiveType</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/PrimitiveType.Code.html" title="class in org.eclipse.wst.jsdt.core.dom">PrimitiveType.Code</A> typeCode)</CODE> |
| |
| <BR> |
| Creates and returns a new unparented primitive type node with the given |
| type code.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/QualifiedName.html" title="class in org.eclipse.wst.jsdt.core.dom">QualifiedName</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newQualifiedName(org.eclipse.wst.jsdt.core.dom.Name, org.eclipse.wst.jsdt.core.dom.SimpleName)">newQualifiedName</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Name.html" title="class in org.eclipse.wst.jsdt.core.dom">Name</A> qualifier, |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimpleName.html" title="class in org.eclipse.wst.jsdt.core.dom">SimpleName</A> name)</CODE> |
| |
| <BR> |
| Creates and returns a new unparented qualified name node for the given |
| qualifier and simple name child node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/QualifiedType.html" title="class in org.eclipse.wst.jsdt.core.dom">QualifiedType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newQualifiedType(org.eclipse.wst.jsdt.core.dom.Type, org.eclipse.wst.jsdt.core.dom.SimpleName)">newQualifiedType</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A> qualifier, |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimpleName.html" title="class in org.eclipse.wst.jsdt.core.dom">SimpleName</A> name)</CODE> |
| |
| <BR> |
| Creates and returns a new unparented qualified type node with |
| the given qualifier type and name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/RegularExpressionLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">RegularExpressionLiteral</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newRegularExpressionLiteral()">newRegularExpressionLiteral</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new Regular Expression literal node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ReturnStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">ReturnStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newReturnStatement()">newReturnStatement</A></B>()</CODE> |
| |
| <BR> |
| Creates a new unparented return statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimpleName.html" title="class in org.eclipse.wst.jsdt.core.dom">SimpleName</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newSimpleName(java.lang.String)">newSimpleName</A></B>(java.lang.String identifier)</CODE> |
| |
| <BR> |
| Creates and returns a new unparented simple name node for the given |
| identifier.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimpleType.html" title="class in org.eclipse.wst.jsdt.core.dom">SimpleType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newSimpleType(org.eclipse.wst.jsdt.core.dom.Name)">newSimpleType</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Name.html" title="class in org.eclipse.wst.jsdt.core.dom">Name</A> typeName)</CODE> |
| |
| <BR> |
| Creates and returns a new unparented simple type node with the given |
| type name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SingleVariableDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">SingleVariableDeclaration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newSingleVariableDeclaration()">newSingleVariableDeclaration</A></B>()</CODE> |
| |
| <BR> |
| Creates an unparented single variable declaration node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/StringLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">StringLiteral</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newStringLiteral()">newStringLiteral</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented string literal node for |
| the empty string literal.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SuperConstructorInvocation.html" title="class in org.eclipse.wst.jsdt.core.dom">SuperConstructorInvocation</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newSuperConstructorInvocation()">newSuperConstructorInvocation</A></B>()</CODE> |
| |
| <BR> |
| Creates an unparented alternate super constructor ("super(...);") |
| invocation statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SuperFieldAccess.html" title="class in org.eclipse.wst.jsdt.core.dom">SuperFieldAccess</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newSuperFieldAccess()">newSuperFieldAccess</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented super field access expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SuperMethodInvocation.html" title="class in org.eclipse.wst.jsdt.core.dom">SuperMethodInvocation</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newSuperMethodInvocation()">newSuperMethodInvocation</A></B>()</CODE> |
| |
| <BR> |
| Creates an unparented "super" method invocation expression node owned by |
| this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SwitchCase.html" title="class in org.eclipse.wst.jsdt.core.dom">SwitchCase</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newSwitchCase()">newSwitchCase</A></B>()</CODE> |
| |
| <BR> |
| Creates a new unparented switch case statement node owned by |
| this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SwitchStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">SwitchStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newSwitchStatement()">newSwitchStatement</A></B>()</CODE> |
| |
| <BR> |
| Creates a new unparented switch statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TagElement.html" title="class in org.eclipse.wst.jsdt.core.dom">TagElement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newTagElement()">newTagElement</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new tag element node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TextElement.html" title="class in org.eclipse.wst.jsdt.core.dom">TextElement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newTextElement()">newTextElement</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new text element node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ThisExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">ThisExpression</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newThisExpression()">newThisExpression</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented "this" expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ThrowStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">ThrowStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newThrowStatement()">newThrowStatement</A></B>()</CODE> |
| |
| <BR> |
| Creates a new unparented throw statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TryStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">TryStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newTryStatement()">newTryStatement</A></B>()</CODE> |
| |
| <BR> |
| Creates a new unparented try statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TypeDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">TypeDeclaration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newTypeDeclaration()">newTypeDeclaration</A></B>()</CODE> |
| |
| <BR> |
| Creates an unparented class declaration node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TypeDeclarationStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">TypeDeclarationStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newTypeDeclarationStatement(org.eclipse.wst.jsdt.core.dom.AbstractTypeDeclaration)">newTypeDeclarationStatement</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AbstractTypeDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">AbstractTypeDeclaration</A> decl)</CODE> |
| |
| <BR> |
| Creates a new unparented local type declaration statement node |
| owned by this AST, for the given type declaration.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TypeDeclarationStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">TypeDeclarationStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newTypeDeclarationStatement(org.eclipse.wst.jsdt.core.dom.TypeDeclaration)">newTypeDeclarationStatement</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TypeDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">TypeDeclaration</A> decl)</CODE> |
| |
| <BR> |
| Creates a new unparented local type declaration statement node |
| owned by this AST, for the given type declaration.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TypeLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">TypeLiteral</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newTypeLiteral()">newTypeLiteral</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented type literal expression node |
| owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TypeParameter.html" title="class in org.eclipse.wst.jsdt.core.dom">TypeParameter</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newTypeParameter()">newTypeParameter</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented type parameter type node with an |
| unspecified type variable name and an empty list of type bounds.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/UndefinedLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">UndefinedLiteral</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newUndefinedLiteral()">newUndefinedLiteral</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented 'undefined' literal node.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/VariableDeclarationExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">VariableDeclarationExpression</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newVariableDeclarationExpression(org.eclipse.wst.jsdt.core.dom.VariableDeclarationFragment)">newVariableDeclarationExpression</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/VariableDeclarationFragment.html" title="class in org.eclipse.wst.jsdt.core.dom">VariableDeclarationFragment</A> fragment)</CODE> |
| |
| <BR> |
| Creates a new unparented local variable declaration expression node |
| owned by this AST, for the given variable declaration fragment.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/VariableDeclarationFragment.html" title="class in org.eclipse.wst.jsdt.core.dom">VariableDeclarationFragment</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newVariableDeclarationFragment()">newVariableDeclarationFragment</A></B>()</CODE> |
| |
| <BR> |
| Creates an unparented variable declaration fragment node owned by this |
| AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/VariableDeclarationStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">VariableDeclarationStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newVariableDeclarationStatement(org.eclipse.wst.jsdt.core.dom.VariableDeclarationFragment)">newVariableDeclarationStatement</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/VariableDeclarationFragment.html" title="class in org.eclipse.wst.jsdt.core.dom">VariableDeclarationFragment</A> fragment)</CODE> |
| |
| <BR> |
| Creates a new unparented local variable declaration statement node |
| owned by this AST, for the given variable declaration fragment.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/WhileStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">WhileStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newWhileStatement()">newWhileStatement</A></B>()</CODE> |
| |
| <BR> |
| Creates a new unparented while statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/WildcardType.html" title="class in org.eclipse.wst.jsdt.core.dom">WildcardType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newWildcardType()">newWildcardType</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a new unparented wildcard type node with no |
| type bound.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/WithStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">WithStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newWithStatement()">newWithStatement</A></B>()</CODE> |
| |
| <BR> |
| Creates a new unparented with statement node owned by this AST.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#resolveWellKnownType(java.lang.String)">resolveWellKnownType</A></B>(java.lang.String name)</CODE> |
| |
| <BR> |
| Returns the type binding for a "well known" type.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="JLS2"><!-- --></A><H3> |
| JLS2</H3> |
| <PRE> |
| public static final int <B>JLS2</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>Clients should use the <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#JLS3"><CODE>JLS3</CODE></A> AST API instead.</I><DD>Constant for indicating the AST API that handles standard Javascript. |
| This API is capable of handling all constructs |
| in the JavaScript language as described in the ECMA-262 |
| Specification. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.eclipse.wst.jsdt.core.dom.AST.JLS2">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JLS3"><!-- --></A><H3> |
| JLS3</H3> |
| <PRE> |
| public static final int <B>JLS3</B></PRE> |
| <DL> |
| <DD>Constant for indicating the AST API that handles ECMAScript 4. |
| This API is capable of handling all constructs in the |
| JavaScript language as described in the ECMAScript 4 |
| Specification. |
| ECMAScript 4 is a superset of all earlier versions of the |
| JavaScript language. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.eclipse.wst.jsdt.core.dom.AST.JLS3">Constant Field Values</A></DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="AST()"><!-- --></A><H3> |
| AST</H3> |
| <PRE> |
| public <B>AST</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>Clients should port their code to use the new JLS3 AST API and call |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newAST(int)"><CODE>AST.newAST(AST.JLS3)</CODE></A> instead of using this constructor.</I> |
| <P> |
| <DD>Creates a new, empty abstract syntax tree using default options. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AST(java.util.Map)"><!-- --></A><H3> |
| AST</H3> |
| <PRE> |
| public <B>AST</B>(java.util.Map options)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>Clients should port their code to use the new JLS3 AST API and call |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newAST(int)"><CODE>AST.newAST(AST.JLS3)</CODE></A> instead of using this constructor.</I> |
| <P> |
| <DD>Creates a new, empty abstract syntax tree using the given options. |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>options</CODE> - the table of options (key type: <code>String</code>; |
| value type: <code>String</code>)<DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="convertCompilationUnit(int, org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration, char[], java.util.Map, boolean, org.eclipse.wst.jsdt.internal.core.CompilationUnit, int, IProgressMonitor)"><!-- --></A><H3> |
| convertCompilationUnit</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JavaScriptUnit.html" title="class in org.eclipse.wst.jsdt.core.dom">JavaScriptUnit</A> <B>convertCompilationUnit</B>(int level, |
| org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration compilationUnitDeclaration, |
| char[] source, |
| java.util.Map options, |
| boolean isResolved, |
| org.eclipse.wst.jsdt.internal.core.CompilationUnit workingCopy, |
| int reconcileFlags, |
| IProgressMonitor monitor)</PRE> |
| <DL> |
| <DD>Internal method. |
| <p> |
| This method converts the given internal compiler AST for the given source string |
| into a javaScript unit. This method is not intended to be called by clients. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>level</CODE> - the API level; one of the LEVEL constants<DD><CODE>compilationUnitDeclaration</CODE> - an internal AST node for a javaScript unit declaration<DD><CODE>source</CODE> - the string of the JavaScript javaScript unit<DD><CODE>options</CODE> - validator options<DD><CODE>workingCopy</CODE> - the working copy that the AST is created from<DD><CODE>monitor</CODE> - the progress monitor used to report progress and request cancelation, |
| or <code>null</code> if none<DD><CODE>isResolved</CODE> - whether the given javaScript unit declaration is resolved |
| <DT><B>Returns:</B><DD>the javaScript unit node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newAST(int)"><!-- --></A><H3> |
| newAST</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html" title="class in org.eclipse.wst.jsdt.core.dom">AST</A> <B>newAST</B>(int level)</PRE> |
| <DL> |
| <DD>Creates a new JavaScript abstract syntax tree |
| (AST) following the specified set of API rules. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>level</CODE> - the API level; one of the LEVEL constants |
| <DT><B>Returns:</B><DD>new AST instance following the specified set of API rules. |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the API level is not one of the LEVEL constants</li> |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="modificationCount()"><!-- --></A><H3> |
| modificationCount</H3> |
| <PRE> |
| public long <B>modificationCount</B>()</PRE> |
| <DL> |
| <DD>Returns the modification count for this AST. The modification count |
| is a non-negative value that increases (by 1 or perhaps by more) as |
| this AST or its nodes are changed. The initial value is unspecified. |
| <p> |
| The following things count as modifying an AST: |
| <ul> |
| <li>creating a new node owned by this AST,</li> |
| <li>adding a child to a node owned by this AST,</li> |
| <li>removing a child from a node owned by this AST,</li> |
| <li>setting a non-node attribute of a node owned by this AST.</li> |
| </ul> |
| </p> |
| Operations which do not entail creating or modifying existing nodes |
| do not increase the modification count. |
| <p> |
| N.B. This method may be called several times in the course |
| of a single client operation. The only promise is that the modification |
| count increases monotonically as the AST or its nodes change; there is |
| no promise that a modifying operation increases the count by exactly 1. |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the current value (non-negative) of the modification counter of |
| this AST</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="apiLevel()"><!-- --></A><H3> |
| apiLevel</H3> |
| <PRE> |
| public int <B>apiLevel</B>()</PRE> |
| <DL> |
| <DD>Return the API level supported by this AST. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>level the API level; one of the <code>JLS*</code>LEVEL |
| declared on <code>AST</code>; assume this set is open-ended</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="resolveWellKnownType(java.lang.String)"><!-- --></A><H3> |
| resolveWellKnownType</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A> <B>resolveWellKnownType</B>(java.lang.String name)</PRE> |
| <DL> |
| <DD>Returns the type binding for a "well known" type. |
| <p> |
| Note that bindings are generally unavailable unless requested when the |
| AST is being built. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of a well known type |
| <DT><B>Returns:</B><DD>the corresponding type binding, or <code>null</code> if the |
| named type is not considered well known or if no binding can be found |
| for it</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createInstance(java.lang.Class)"><!-- --></A><H3> |
| createInstance</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom">ASTNode</A> <B>createInstance</B>(java.lang.Class nodeClass)</PRE> |
| <DL> |
| <DD>Creates an unparented node of the given node class |
| (non-abstract subclass of <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>ASTNode</CODE></A>). |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>nodeClass</CODE> - AST node class |
| <DT><B>Returns:</B><DD>a new unparented node owned by this AST |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>nodeClass</code> is |
| <code>null</code> or is not a concrete node type class</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createInstance(int)"><!-- --></A><H3> |
| createInstance</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom">ASTNode</A> <B>createInstance</B>(int nodeType)</PRE> |
| <DL> |
| <DD>Creates an unparented node of the given node type. |
| This convenience method is equivalent to: |
| <pre> |
| createInstance(ASTNode.nodeClassForType(nodeType)) |
| </pre> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>nodeType</CODE> - AST node type, one of the node type |
| constants declared on <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>ASTNode</CODE></A> |
| <DT><B>Returns:</B><DD>a new unparented node owned by this AST |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>nodeType</code> is |
| not a legal AST node type</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newSimpleName(java.lang.String)"><!-- --></A><H3> |
| newSimpleName</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimpleName.html" title="class in org.eclipse.wst.jsdt.core.dom">SimpleName</A> <B>newSimpleName</B>(java.lang.String identifier)</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented simple name node for the given |
| identifier. The identifier should be a legal JavaScript identifier, but not |
| a keyword, boolean literal ("true", "false") or null literal ("null"). |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>identifier</CODE> - the identifier |
| <DT><B>Returns:</B><DD>a new unparented simple name node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the identifier is invalid</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newQualifiedName(org.eclipse.wst.jsdt.core.dom.Name, org.eclipse.wst.jsdt.core.dom.SimpleName)"><!-- --></A><H3> |
| newQualifiedName</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/QualifiedName.html" title="class in org.eclipse.wst.jsdt.core.dom">QualifiedName</A> <B>newQualifiedName</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Name.html" title="class in org.eclipse.wst.jsdt.core.dom">Name</A> qualifier, |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimpleName.html" title="class in org.eclipse.wst.jsdt.core.dom">SimpleName</A> name)</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented qualified name node for the given |
| qualifier and simple name child node. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>qualifier</CODE> - the qualifier name node<DD><CODE>name</CODE> - the simple name being qualified |
| <DT><B>Returns:</B><DD>a new unparented qualified name node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the node belongs to a different AST</li> |
| <li>the node already has a parent</li> |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newName(java.lang.String[])"><!-- --></A><H3> |
| newName</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Name.html" title="class in org.eclipse.wst.jsdt.core.dom">Name</A> <B>newName</B>(java.lang.String[] identifiers)</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented name node for the given name |
| segments. Returns a simple name if there is only one name segment, and |
| a qualified name if there are multiple name segments. Each of the name |
| segments should be legal JavaScript identifiers (this constraint may or may |
| not be enforced), and there must be at least one name segment. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>identifiers</CODE> - a list of 1 or more name segments, each of which |
| is a legal JavaScript identifier |
| <DT><B>Returns:</B><DD>a new unparented name node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the identifier is invalid</li> |
| <li>the list of identifiers is empty</li> |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newName(java.lang.String)"><!-- --></A><H3> |
| newName</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Name.html" title="class in org.eclipse.wst.jsdt.core.dom">Name</A> <B>newName</B>(java.lang.String qualifiedName)</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented name node for the given name. |
| The name string must consist of 1 or more name segments separated |
| by single dots '.'. Returns a <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/QualifiedName.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>QualifiedName</CODE></A> if the name has |
| dots, and a <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimpleName.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>SimpleName</CODE></A> otherwise. Each of the name |
| segments should be legal JavaScript identifiers (this constraint may or may |
| not be enforced), and there must be at least one name segment. |
| The string must not contains white space, '<', '>', |
| '[', ']', or other any other characters that are not |
| part of the JavaScript identifiers or separating '.'s. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>qualifiedName</CODE> - string consisting of 1 or more name segments, |
| each of which is a legal JavaScript identifier, separated by single dots '.' |
| <DT><B>Returns:</B><DD>a new unparented name node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the string is empty</li> |
| <li>the string begins or ends in a '.'</li> |
| <li>the string has adjacent '.'s</li> |
| <li>the segments between the '.'s are not valid JavaScript identifiers</li> |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newSimpleType(org.eclipse.wst.jsdt.core.dom.Name)"><!-- --></A><H3> |
| newSimpleType</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimpleType.html" title="class in org.eclipse.wst.jsdt.core.dom">SimpleType</A> <B>newSimpleType</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Name.html" title="class in org.eclipse.wst.jsdt.core.dom">Name</A> typeName)</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented simple type node with the given |
| type name. |
| <p> |
| This method can be used to convert a name (<code>Name</code>) into a |
| type (<code>Type</code>) by wrapping it. |
| </p> |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>typeName</CODE> - the name of the class or interface |
| <DT><B>Returns:</B><DD>a new unparented simple type node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the node belongs to a different AST</li> |
| <li>the node already has a parent</li> |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newArrayType(org.eclipse.wst.jsdt.core.dom.Type)"><!-- --></A><H3> |
| newArrayType</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ArrayType.html" title="class in org.eclipse.wst.jsdt.core.dom">ArrayType</A> <B>newArrayType</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A> componentType)</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented array type node with the given |
| component type, which may be another array type. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>componentType</CODE> - the component type (possibly another array type) |
| <DT><B>Returns:</B><DD>a new unparented array type node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the node belongs to a different AST</li> |
| <li>the node already has a parent</li> |
| <li>a cycle in would be created</li> |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newArrayType(org.eclipse.wst.jsdt.core.dom.Type, int)"><!-- --></A><H3> |
| newArrayType</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ArrayType.html" title="class in org.eclipse.wst.jsdt.core.dom">ArrayType</A> <B>newArrayType</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A> elementType, |
| int dimensions)</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented array type node with the given |
| element type and number of dimensions. |
| <p> |
| Note that if the element type passed in is an array type, the |
| element type of the result will not be the same as what was passed in. |
| </p> |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>elementType</CODE> - the element type (never an array type)<DD><CODE>dimensions</CODE> - the number of dimensions, a positive number |
| <DT><B>Returns:</B><DD>a new unparented array type node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the node belongs to a different AST</li> |
| <li>the node already has a parent</li> |
| <li>a cycle in would be created</li> |
| <li>the element type is null</li> |
| <li>the element type is an array type</li> |
| <li>the number of dimensions is lower than 1</li> |
| <li>the number of dimensions is greater than 1000</li> |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newPrimitiveType(org.eclipse.wst.jsdt.core.dom.PrimitiveType.Code)"><!-- --></A><H3> |
| newPrimitiveType</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/PrimitiveType.html" title="class in org.eclipse.wst.jsdt.core.dom">PrimitiveType</A> <B>newPrimitiveType</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/PrimitiveType.Code.html" title="class in org.eclipse.wst.jsdt.core.dom">PrimitiveType.Code</A> typeCode)</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented primitive type node with the given |
| type code. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>typeCode</CODE> - one of the primitive type code constants declared in |
| <code>PrimitiveType</code> |
| <DT><B>Returns:</B><DD>a new unparented primitive type node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the primitive type code is invalid</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newInferredType(java.lang.String)"><!-- --></A><H3> |
| newInferredType</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/InferredType.html" title="class in org.eclipse.wst.jsdt.core.dom">InferredType</A> <B>newInferredType</B>(java.lang.String typeName)</PRE> |
| <DL> |
| <DD>Creates and returns a new inferred type node with the given |
| type name. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>typeName</CODE> - the name of the inferred type |
| <DT><B>Returns:</B><DD>a new unparented inferred type node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the node belongs to a different AST</li> |
| <li>the node already has a parent</li> |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newParameterizedType(org.eclipse.wst.jsdt.core.dom.Type)"><!-- --></A><H3> |
| newParameterizedType</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ParameterizedType.html" title="class in org.eclipse.wst.jsdt.core.dom">ParameterizedType</A> <B>newParameterizedType</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A> type)</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented parameterized type node with the |
| given type and an empty list of type arguments. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the type that is parameterized |
| <DT><B>Returns:</B><DD>a new unparented parameterized type node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the node belongs to a different AST</li> |
| <li>the node already has a parent</li> |
| </ul> |
| <DD><CODE>java.lang.UnsupportedOperationException</CODE> - if this operation is used in |
| a JLS2 AST</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newQualifiedType(org.eclipse.wst.jsdt.core.dom.Type, org.eclipse.wst.jsdt.core.dom.SimpleName)"><!-- --></A><H3> |
| newQualifiedType</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/QualifiedType.html" title="class in org.eclipse.wst.jsdt.core.dom">QualifiedType</A> <B>newQualifiedType</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A> qualifier, |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimpleName.html" title="class in org.eclipse.wst.jsdt.core.dom">SimpleName</A> name)</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented qualified type node with |
| the given qualifier type and name. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>qualifier</CODE> - the qualifier type node<DD><CODE>name</CODE> - the simple name being qualified |
| <DT><B>Returns:</B><DD>a new unparented qualified type node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the node belongs to a different AST</li> |
| <li>the node already has a parent</li> |
| </ul> |
| <DD><CODE>java.lang.UnsupportedOperationException</CODE> - if this operation is used in |
| a JLS2 AST</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newWildcardType()"><!-- --></A><H3> |
| newWildcardType</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/WildcardType.html" title="class in org.eclipse.wst.jsdt.core.dom">WildcardType</A> <B>newWildcardType</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented wildcard type node with no |
| type bound. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented wildcard type node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.UnsupportedOperationException</CODE> - if this operation is used in |
| a JLS2 AST</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newCompilationUnit()"><!-- --></A><H3> |
| newCompilationUnit</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JavaScriptUnit.html" title="class in org.eclipse.wst.jsdt.core.dom">JavaScriptUnit</A> <B>newCompilationUnit</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>Use <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newJavaScriptUnit()"><CODE>newJavaScriptUnit()</CODE></A> instead</I> |
| <P> |
| <DD>Creates an unparented javaScript unit node owned by this AST. |
| The javaScript unit initially has no package declaration, no |
| import declarations, and no type declarations. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the new unparented javaScript unit node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newJavaScriptUnit()"><!-- --></A><H3> |
| newJavaScriptUnit</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JavaScriptUnit.html" title="class in org.eclipse.wst.jsdt.core.dom">JavaScriptUnit</A> <B>newJavaScriptUnit</B>()</PRE> |
| <DL> |
| <DD>Creates an unparented javaScript unit node owned by this AST. |
| The javaScript unit initially has no package declaration, no |
| import declarations, and no type declarations. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the new unparented javaScript unit node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newPackageDeclaration()"><!-- --></A><H3> |
| newPackageDeclaration</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/PackageDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">PackageDeclaration</A> <B>newPackageDeclaration</B>()</PRE> |
| <DL> |
| <DD>Creates an unparented package declaration node owned by this AST. |
| The package declaration initially declares a package with an |
| unspecified name. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the new unparented package declaration node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newImportDeclaration()"><!-- --></A><H3> |
| newImportDeclaration</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ImportDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">ImportDeclaration</A> <B>newImportDeclaration</B>()</PRE> |
| <DL> |
| <DD>Creates an unparented import declaration node owned by this AST. |
| The import declaration initially contains a single-type import |
| of a type with an unspecified name. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the new unparented import declaration node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newTypeDeclaration()"><!-- --></A><H3> |
| newTypeDeclaration</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TypeDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">TypeDeclaration</A> <B>newTypeDeclaration</B>()</PRE> |
| <DL> |
| <DD>Creates an unparented class declaration node owned by this AST. |
| The name of the class is an unspecified, but legal, name; |
| no modifiers; no doc comment; no superclass or superinterfaces; |
| and an empty class body. |
| <p> |
| To create an interface, use this method and then call |
| <code>TypeDeclaration.setInterface(true)</code>. |
| </p> |
| <p> |
| To create an enum declaration, use this method and then call |
| <code>TypeDeclaration.setEnumeration(true)</code>. |
| </p> |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented type declaration node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newMethodDeclaration()"><!-- --></A><H3> |
| newMethodDeclaration</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionDeclaration</A> <B>newMethodDeclaration</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>Use <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFunctionDeclaration()"><CODE>newFunctionDeclaration()</CODE></A> instead</I> |
| <P> |
| <DD>Creates an unparented method declaration node owned by this AST. |
| By default, the declaration is for a method of an unspecified, but |
| legal, name; no modifiers; no doc comment; no parameters; return |
| type void; no extra array dimensions; no thrown exceptions; and no |
| body (as opposed to an empty body). |
| <p> |
| To create a constructor, use this method and then call |
| <code>FunctionDeclaration.setConstructor(true)</code> and |
| <code>FunctionDeclaration.setName(className)</code>. |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented method declaration node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newFunctionDeclaration()"><!-- --></A><H3> |
| newFunctionDeclaration</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionDeclaration</A> <B>newFunctionDeclaration</B>()</PRE> |
| <DL> |
| <DD>Creates an unparented method declaration node owned by this AST. |
| By default, the declaration is for a method of an unspecified, but |
| legal, name; no modifiers; no doc comment; no parameters; return |
| type void; no extra array dimensions; no thrown exceptions; and no |
| body (as opposed to an empty body). |
| <p> |
| To create a constructor, use this method and then call |
| <code>FunctionDeclaration.setConstructor(true)</code> and |
| <code>FunctionDeclaration.setName(className)</code>. |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented method declaration node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newSingleVariableDeclaration()"><!-- --></A><H3> |
| newSingleVariableDeclaration</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SingleVariableDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">SingleVariableDeclaration</A> <B>newSingleVariableDeclaration</B>()</PRE> |
| <DL> |
| <DD>Creates an unparented single variable declaration node owned by this AST. |
| By default, the declaration is for a variable with an unspecified, but |
| legal, name and type; no modifiers; no array dimensions after the |
| variable; no initializer; not variable arity. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented single variable declaration node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newVariableDeclarationFragment()"><!-- --></A><H3> |
| newVariableDeclarationFragment</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/VariableDeclarationFragment.html" title="class in org.eclipse.wst.jsdt.core.dom">VariableDeclarationFragment</A> <B>newVariableDeclarationFragment</B>()</PRE> |
| <DL> |
| <DD>Creates an unparented variable declaration fragment node owned by this |
| AST. By default, the fragment is for a variable with an unspecified, but |
| legal, name; no extra array dimensions; and no initializer. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented variable declaration fragment node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newInitializer()"><!-- --></A><H3> |
| newInitializer</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Initializer.html" title="class in org.eclipse.wst.jsdt.core.dom">Initializer</A> <B>newInitializer</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newTypeParameter()"><!-- --></A><H3> |
| newTypeParameter</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TypeParameter.html" title="class in org.eclipse.wst.jsdt.core.dom">TypeParameter</A> <B>newTypeParameter</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented type parameter type node with an |
| unspecified type variable name and an empty list of type bounds. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented type parameter node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.UnsupportedOperationException</CODE> - if this operation is used in |
| a JLS2 AST</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newModifier(org.eclipse.wst.jsdt.core.dom.Modifier.ModifierKeyword)"><!-- --></A><H3> |
| newModifier</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Modifier.html" title="class in org.eclipse.wst.jsdt.core.dom">Modifier</A> <B>newModifier</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Modifier.ModifierKeyword.html" title="class in org.eclipse.wst.jsdt.core.dom">Modifier.ModifierKeyword</A> keyword)</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented modifier node for the given |
| modifier. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>keyword</CODE> - one of the modifier keyword constants |
| <DT><B>Returns:</B><DD>a new unparented modifier node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the primitive type code is invalid |
| <DD><CODE>java.lang.UnsupportedOperationException</CODE> - if this operation is used in |
| a JLS2 AST</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newModifiers(int)"><!-- --></A><H3> |
| newModifiers</H3> |
| <PRE> |
| public java.util.List <B>newModifiers</B>(int flags)</PRE> |
| <DL> |
| <DD>Creates and returns a list of new unparented modifier nodes |
| for the given modifier flags. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>flags</CODE> - bitwise or of modifier flags declared on <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Modifier.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>Modifier</CODE></A> |
| <DT><B>Returns:</B><DD>a possibly empty list of new unparented modifier nodes |
| (element type <code>Modifier</code>) |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.UnsupportedOperationException</CODE> - if this operation is used in |
| a JLS2 AST</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newBlockComment()"><!-- --></A><H3> |
| newBlockComment</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BlockComment.html" title="class in org.eclipse.wst.jsdt.core.dom">BlockComment</A> <B>newBlockComment</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new block comment placeholder node. |
| <p> |
| Note that this node type is used to recording the source |
| range where a comment was found in the source string. |
| These comment nodes are normally found (only) in |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JavaScriptUnit.html#getCommentList()">the comment table</A> for parsed javaScript units. |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented block comment node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newLineComment()"><!-- --></A><H3> |
| newLineComment</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/LineComment.html" title="class in org.eclipse.wst.jsdt.core.dom">LineComment</A> <B>newLineComment</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new line comment placeholder node. |
| <p> |
| Note that this node type is used to recording the source |
| range where a comment was found in the source string. |
| These comment nodes are normally found (only) in |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JavaScriptUnit.html#getCommentList()">the comment table</A> for parsed javaScript units. |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented line comment node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newListExpression()"><!-- --></A><H3> |
| newListExpression</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ListExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">ListExpression</A> <B>newListExpression</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newJavadoc()"><!-- --></A><H3> |
| newJavadoc</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JSdoc.html" title="class in org.eclipse.wst.jsdt.core.dom">JSdoc</A> <B>newJavadoc</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>Use <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newJSdoc()"><CODE>newJSdoc()</CODE></A> instead</I> |
| <P> |
| <DD>Creates and returns a new doc comment node. |
| Initially the new node has an empty list of tag elements |
| (and, for backwards compatability, an unspecified, but legal, |
| doc comment string) |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented doc comment node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newJSdoc()"><!-- --></A><H3> |
| newJSdoc</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JSdoc.html" title="class in org.eclipse.wst.jsdt.core.dom">JSdoc</A> <B>newJSdoc</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new doc comment node. |
| Initially the new node has an empty list of tag elements |
| (and, for backwards compatability, an unspecified, but legal, |
| doc comment string) |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented doc comment node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newTagElement()"><!-- --></A><H3> |
| newTagElement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TagElement.html" title="class in org.eclipse.wst.jsdt.core.dom">TagElement</A> <B>newTagElement</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new tag element node. |
| Initially the new node has no tag name and an empty list of fragments. |
| <p> |
| Note that this node type is used only inside doc comments |
| (<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JSdoc.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>JSdoc</CODE></A>). |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented tag element node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newTextElement()"><!-- --></A><H3> |
| newTextElement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TextElement.html" title="class in org.eclipse.wst.jsdt.core.dom">TextElement</A> <B>newTextElement</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new text element node. |
| Initially the new node has an empty text string. |
| <p> |
| Note that this node type is used only inside doc comments |
| (<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JSdoc.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>Javadoc</CODE></A>). |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented text element node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newMemberRef()"><!-- --></A><H3> |
| newMemberRef</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/MemberRef.html" title="class in org.eclipse.wst.jsdt.core.dom">MemberRef</A> <B>newMemberRef</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new member reference node. |
| Initially the new node has no qualifier name and |
| an unspecified, but legal, member name. |
| <p> |
| Note that this node type is used only inside doc comments |
| (<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JSdoc.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>JSdoc</CODE></A>). |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented member reference node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newMethodRef()"><!-- --></A><H3> |
| newMethodRef</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionRef.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionRef</A> <B>newMethodRef</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>Use <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFunctionRef()"><CODE>newFunctionRef()</CODE></A> instead</I> |
| <P> |
| <DD>Creates and returns a new method reference node. |
| Initially the new node has no qualifier name, |
| an unspecified, but legal, method name, and an |
| empty parameter list. |
| <p> |
| Note that this node type is used only inside doc comments |
| (<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JSdoc.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>Javadoc</CODE></A>). |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented method reference node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newFunctionRef()"><!-- --></A><H3> |
| newFunctionRef</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionRef.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionRef</A> <B>newFunctionRef</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new method reference node. |
| Initially the new node has no qualifier name, |
| an unspecified, but legal, method name, and an |
| empty parameter list. |
| <p> |
| Note that this node type is used only inside doc comments |
| (<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JSdoc.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>Javadoc</CODE></A>). |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented method reference node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newMethodRefParameter()"><!-- --></A><H3> |
| newMethodRefParameter</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionRefParameter.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionRefParameter</A> <B>newMethodRefParameter</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>Use <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFunctionRefParameter()"><CODE>newFunctionRefParameter()</CODE></A> instead</I> |
| <P> |
| <DD>Creates and returns a new method reference node. |
| Initially the new node has an unspecified, but legal, |
| type, not variable arity, and no parameter name. |
| <p> |
| Note that this node type is used only inside doc comments |
| (<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JSdoc.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>JSdoc</CODE></A>). |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented method reference parameter node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newFunctionRefParameter()"><!-- --></A><H3> |
| newFunctionRefParameter</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionRefParameter.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionRefParameter</A> <B>newFunctionRefParameter</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new method reference node. |
| Initially the new node has an unspecified, but legal, |
| type, not variable arity, and no parameter name. |
| <p> |
| Note that this node type is used only inside doc comments |
| (<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/JSdoc.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>JSdoc</CODE></A>). |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented method reference parameter node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newVariableDeclarationStatement(org.eclipse.wst.jsdt.core.dom.VariableDeclarationFragment)"><!-- --></A><H3> |
| newVariableDeclarationStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/VariableDeclarationStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">VariableDeclarationStatement</A> <B>newVariableDeclarationStatement</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/VariableDeclarationFragment.html" title="class in org.eclipse.wst.jsdt.core.dom">VariableDeclarationFragment</A> fragment)</PRE> |
| <DL> |
| <DD>Creates a new unparented local variable declaration statement node |
| owned by this AST, for the given variable declaration fragment. |
| By default, there are no modifiers and the base type is unspecified |
| (but legal). |
| <p> |
| This method can be used to convert a variable declaration fragment |
| (<code>VariableDeclarationFragment</code>) into a statement |
| (<code>Statement</code>) by wrapping it. Additional variable |
| declaration fragments can be added afterwards. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>fragment</CODE> - the variable declaration fragment |
| <DT><B>Returns:</B><DD>a new unparented variable declaration statement node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the node belongs to a different AST</li> |
| <li>the node already has a parent</li> |
| <li>a cycle in would be created</li> |
| <li>the variable declaration fragment is null</li> |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newTypeDeclarationStatement(org.eclipse.wst.jsdt.core.dom.TypeDeclaration)"><!-- --></A><H3> |
| newTypeDeclarationStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TypeDeclarationStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">TypeDeclarationStatement</A> <B>newTypeDeclarationStatement</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TypeDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">TypeDeclaration</A> decl)</PRE> |
| <DL> |
| <DD>Creates a new unparented local type declaration statement node |
| owned by this AST, for the given type declaration. |
| <p> |
| This method can be used to convert a type declaration |
| (<code>TypeDeclaration</code>) into a statement |
| (<code>Statement</code>) by wrapping it. |
| </p> |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>decl</CODE> - the type declaration |
| <DT><B>Returns:</B><DD>a new unparented local type declaration statement node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the node belongs to a different AST</li> |
| <li>the node already has a parent</li> |
| <li>a cycle in would be created</li> |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newTypeDeclarationStatement(org.eclipse.wst.jsdt.core.dom.AbstractTypeDeclaration)"><!-- --></A><H3> |
| newTypeDeclarationStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TypeDeclarationStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">TypeDeclarationStatement</A> <B>newTypeDeclarationStatement</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AbstractTypeDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">AbstractTypeDeclaration</A> decl)</PRE> |
| <DL> |
| <DD>Creates a new unparented local type declaration statement node |
| owned by this AST, for the given type declaration. |
| <p> |
| This method can be used to convert any kind of type declaration |
| (<code>AbstractTypeDeclaration</code>) into a statement |
| (<code>Statement</code>) by wrapping it. |
| </p> |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>decl</CODE> - the type declaration |
| <DT><B>Returns:</B><DD>a new unparented local type declaration statement node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the node belongs to a different AST</li> |
| <li>the node already has a parent</li> |
| <li>a cycle in would be created</li> |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newBlock()"><!-- --></A><H3> |
| newBlock</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Block.html" title="class in org.eclipse.wst.jsdt.core.dom">Block</A> <B>newBlock</B>()</PRE> |
| <DL> |
| <DD>Creates an unparented block node owned by this AST, for an empty list |
| of statements. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented, empty block node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newContinueStatement()"><!-- --></A><H3> |
| newContinueStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ContinueStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">ContinueStatement</A> <B>newContinueStatement</B>()</PRE> |
| <DL> |
| <DD>Creates an unparented continue statement node owned by this AST. |
| The continue statement has no label. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented continue statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newBreakStatement()"><!-- --></A><H3> |
| newBreakStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BreakStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">BreakStatement</A> <B>newBreakStatement</B>()</PRE> |
| <DL> |
| <DD>Creates an unparented break statement node owned by this AST. |
| The break statement has no label. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented break statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newExpressionStatement(org.eclipse.wst.jsdt.core.dom.Expression)"><!-- --></A><H3> |
| newExpressionStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ExpressionStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">ExpressionStatement</A> <B>newExpressionStatement</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Expression.html" title="class in org.eclipse.wst.jsdt.core.dom">Expression</A> expression)</PRE> |
| <DL> |
| <DD>Creates a new unparented expression statement node owned by this AST, |
| for the given expression. |
| <p> |
| This method can be used to convert an expression |
| (<code>Expression</code>) into a statement (<code>Type</code>) |
| by wrapping it. Note, however, that the result is only legal for |
| limited expression types, including method invocations, assignments, |
| and increment/decrement operations. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>expression</CODE> - the expression |
| <DT><B>Returns:</B><DD>a new unparented statement node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the node belongs to a different AST</li> |
| <li>the node already has a parent</li> |
| <li>a cycle in would be created</li> |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newIfStatement()"><!-- --></A><H3> |
| newIfStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IfStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">IfStatement</A> <B>newIfStatement</B>()</PRE> |
| <DL> |
| <DD>Creates a new unparented if statement node owned by this AST. |
| By default, the expression is unspecified (but legal), |
| the then statement is an empty block, and there is no else statement. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented if statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newWhileStatement()"><!-- --></A><H3> |
| newWhileStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/WhileStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">WhileStatement</A> <B>newWhileStatement</B>()</PRE> |
| <DL> |
| <DD>Creates a new unparented while statement node owned by this AST. |
| By default, the expression is unspecified (but legal), and |
| the body statement is an empty block. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented while statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newWithStatement()"><!-- --></A><H3> |
| newWithStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/WithStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">WithStatement</A> <B>newWithStatement</B>()</PRE> |
| <DL> |
| <DD>Creates a new unparented with statement node owned by this AST. |
| By default, the expression is unspecified (but legal), and |
| the body statement is an empty block. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented with statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newDoStatement()"><!-- --></A><H3> |
| newDoStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/DoStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">DoStatement</A> <B>newDoStatement</B>()</PRE> |
| <DL> |
| <DD>Creates a new unparented do statement node owned by this AST. |
| By default, the expression is unspecified (but legal), and |
| the body statement is an empty block. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented do statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newTryStatement()"><!-- --></A><H3> |
| newTryStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TryStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">TryStatement</A> <B>newTryStatement</B>()</PRE> |
| <DL> |
| <DD>Creates a new unparented try statement node owned by this AST. |
| By default, the try statement has an empty block, no catch |
| clauses, and no finally block. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented try statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newCatchClause()"><!-- --></A><H3> |
| newCatchClause</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/CatchClause.html" title="class in org.eclipse.wst.jsdt.core.dom">CatchClause</A> <B>newCatchClause</B>()</PRE> |
| <DL> |
| <DD>Creates a new unparented catch clause node owned by this AST. |
| By default, the catch clause declares an unspecified, but legal, |
| exception declaration and has an empty block. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented catch clause node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newReturnStatement()"><!-- --></A><H3> |
| newReturnStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ReturnStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">ReturnStatement</A> <B>newReturnStatement</B>()</PRE> |
| <DL> |
| <DD>Creates a new unparented return statement node owned by this AST. |
| By default, the return statement has no expression. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented return statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newThrowStatement()"><!-- --></A><H3> |
| newThrowStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ThrowStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">ThrowStatement</A> <B>newThrowStatement</B>()</PRE> |
| <DL> |
| <DD>Creates a new unparented throw statement node owned by this AST. |
| By default, the expression is unspecified, but legal. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented throw statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newAssertStatement()"><!-- --></A><H3> |
| newAssertStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AssertStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">AssertStatement</A> <B>newAssertStatement</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newEmptyStatement()"><!-- --></A><H3> |
| newEmptyStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/EmptyStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">EmptyStatement</A> <B>newEmptyStatement</B>()</PRE> |
| <DL> |
| <DD>Creates a new unparented empty statement node owned by this AST. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented empty statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newLabeledStatement()"><!-- --></A><H3> |
| newLabeledStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/LabeledStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">LabeledStatement</A> <B>newLabeledStatement</B>()</PRE> |
| <DL> |
| <DD>Creates a new unparented labeled statement node owned by this AST. |
| By default, the label and statement are both unspecified, but legal. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented labeled statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newSwitchStatement()"><!-- --></A><H3> |
| newSwitchStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SwitchStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">SwitchStatement</A> <B>newSwitchStatement</B>()</PRE> |
| <DL> |
| <DD>Creates a new unparented switch statement node owned by this AST. |
| By default, the expression is unspecified, but legal, and there are |
| no statements or switch cases. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented labeled statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newSwitchCase()"><!-- --></A><H3> |
| newSwitchCase</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SwitchCase.html" title="class in org.eclipse.wst.jsdt.core.dom">SwitchCase</A> <B>newSwitchCase</B>()</PRE> |
| <DL> |
| <DD>Creates a new unparented switch case statement node owned by |
| this AST. By default, the expression is unspecified, but legal. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented switch case node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newForStatement()"><!-- --></A><H3> |
| newForStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ForStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">ForStatement</A> <B>newForStatement</B>()</PRE> |
| <DL> |
| <DD>Creates a new unparented for statement node owned by this AST. |
| By default, there are no initializers, no condition expression, |
| no updaters, and the body is an empty block. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented for statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newForInStatement()"><!-- --></A><H3> |
| newForInStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ForInStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">ForInStatement</A> <B>newForInStatement</B>()</PRE> |
| <DL> |
| <DD>Creates a new unparented for..in statement node owned by this AST. |
| By default, there are no initializers, no condition expression, |
| no updaters, and the body is an empty block. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented for..in statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newEnhancedForStatement()"><!-- --></A><H3> |
| newEnhancedForStatement</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/EnhancedForStatement.html" title="class in org.eclipse.wst.jsdt.core.dom">EnhancedForStatement</A> <B>newEnhancedForStatement</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newStringLiteral()"><!-- --></A><H3> |
| newStringLiteral</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/StringLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">StringLiteral</A> <B>newStringLiteral</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented string literal node for |
| the empty string literal. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented string literal node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newCharacterLiteral()"><!-- --></A><H3> |
| newCharacterLiteral</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/CharacterLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">CharacterLiteral</A> <B>newCharacterLiteral</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented character literal node. |
| Initially the node has an unspecified character literal. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented character literal node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newRegularExpressionLiteral()"><!-- --></A><H3> |
| newRegularExpressionLiteral</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/RegularExpressionLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">RegularExpressionLiteral</A> <B>newRegularExpressionLiteral</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new Regular Expression literal node. |
| Initially the node has an unspecified character literal. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented regular expression literal node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newNumberLiteral(java.lang.String)"><!-- --></A><H3> |
| newNumberLiteral</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/NumberLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">NumberLiteral</A> <B>newNumberLiteral</B>(java.lang.String literal)</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented number literal node. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>literal</CODE> - the token for the numeric literal as it would |
| appear in JavaScript source code |
| <DT><B>Returns:</B><DD>a new unparented number literal node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the literal is null</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newNumberLiteral()"><!-- --></A><H3> |
| newNumberLiteral</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/NumberLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">NumberLiteral</A> <B>newNumberLiteral</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented number literal node. |
| Initially the number literal token is <code>"0"</code>. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented number literal node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newNullLiteral()"><!-- --></A><H3> |
| newNullLiteral</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/NullLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">NullLiteral</A> <B>newNullLiteral</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented null literal node. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented null literal node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newUndefinedLiteral()"><!-- --></A><H3> |
| newUndefinedLiteral</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/UndefinedLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">UndefinedLiteral</A> <B>newUndefinedLiteral</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented 'undefined' literal node. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented 'undefined' literal node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newBooleanLiteral(boolean)"><!-- --></A><H3> |
| newBooleanLiteral</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BooleanLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">BooleanLiteral</A> <B>newBooleanLiteral</B>(boolean value)</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented boolean literal node. |
| <p> |
| For example, the assignment expression <code>foo = true</code> |
| is generated by the following snippet: |
| <code> |
| <pre> |
| Assignment e= ast.newAssignment(); |
| e.setLeftHandSide(ast.newSimpleName("foo")); |
| e.setRightHandSide(ast.newBooleanLiteral(true)); |
| </pre> |
| </code> |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>value</CODE> - the boolean value |
| <DT><B>Returns:</B><DD>a new unparented boolean literal node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newAssignment()"><!-- --></A><H3> |
| newAssignment</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Assignment.html" title="class in org.eclipse.wst.jsdt.core.dom">Assignment</A> <B>newAssignment</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented assignment expression node |
| owned by this AST. By default, the assignment operator is "=" and |
| the left and right hand side expressions are unspecified, but |
| legal, names. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented assignment expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newMethodInvocation()"><!-- --></A><H3> |
| newMethodInvocation</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionInvocation.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionInvocation</A> <B>newMethodInvocation</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>Use <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AST.html#newFunctionInvocation()"><CODE>newFunctionInvocation()</CODE></A> instead</I> |
| <P> |
| <DD>Creates an unparented method invocation expression node owned by this |
| AST. By default, the name of the method is unspecified (but legal) |
| there is no receiver expression, no type arguments, and the list of |
| arguments is empty. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented method invocation expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newFunctionInvocation()"><!-- --></A><H3> |
| newFunctionInvocation</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionInvocation.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionInvocation</A> <B>newFunctionInvocation</B>()</PRE> |
| <DL> |
| <DD>Creates an unparented method invocation expression node owned by this |
| AST. By default, the name of the method is unspecified (but legal) |
| there is no receiver expression, no type arguments, and the list of |
| arguments is empty. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented method invocation expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newSuperMethodInvocation()"><!-- --></A><H3> |
| newSuperMethodInvocation</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SuperMethodInvocation.html" title="class in org.eclipse.wst.jsdt.core.dom">SuperMethodInvocation</A> <B>newSuperMethodInvocation</B>()</PRE> |
| <DL> |
| <DD>Creates an unparented "super" method invocation expression node owned by |
| this AST. By default, the name of the method is unspecified (but legal) |
| there is no qualifier, no type arguments, and the list of arguments is empty. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented "super" method invocation |
| expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newConstructorInvocation()"><!-- --></A><H3> |
| newConstructorInvocation</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ConstructorInvocation.html" title="class in org.eclipse.wst.jsdt.core.dom">ConstructorInvocation</A> <B>newConstructorInvocation</B>()</PRE> |
| <DL> |
| <DD>Creates an unparented alternate constructor ("this(...);") invocation |
| statement node owned by this AST. By default, the lists of arguments |
| and type arguments are both empty. |
| <p> |
| Note that this type of node is a Statement, whereas a regular |
| method invocation is an Expression. The only valid use of these |
| statements are as the first statement of a constructor body. |
| </p> |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented alternate constructor invocation statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newSuperConstructorInvocation()"><!-- --></A><H3> |
| newSuperConstructorInvocation</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SuperConstructorInvocation.html" title="class in org.eclipse.wst.jsdt.core.dom">SuperConstructorInvocation</A> <B>newSuperConstructorInvocation</B>()</PRE> |
| <DL> |
| <DD>Creates an unparented alternate super constructor ("super(...);") |
| invocation statement node owned by this AST. By default, there is no |
| qualifier, no type arguments, and the list of arguments is empty. |
| <p> |
| Note that this type of node is a Statement, whereas a regular |
| super method invocation is an Expression. The only valid use of these |
| statements are as the first statement of a constructor body. |
| </p> |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented super constructor invocation statement node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newVariableDeclarationExpression(org.eclipse.wst.jsdt.core.dom.VariableDeclarationFragment)"><!-- --></A><H3> |
| newVariableDeclarationExpression</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/VariableDeclarationExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">VariableDeclarationExpression</A> <B>newVariableDeclarationExpression</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/VariableDeclarationFragment.html" title="class in org.eclipse.wst.jsdt.core.dom">VariableDeclarationFragment</A> fragment)</PRE> |
| <DL> |
| <DD>Creates a new unparented local variable declaration expression node |
| owned by this AST, for the given variable declaration fragment. By |
| default, there are no modifiers and the base type is unspecified |
| (but legal). |
| <p> |
| This method can be used to convert a variable declaration fragment |
| (<code>VariableDeclarationFragment</code>) into an expression |
| (<code>Expression</code>) by wrapping it. Additional variable |
| declaration fragments can be added afterwards. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>fragment</CODE> - the first variable declaration fragment |
| <DT><B>Returns:</B><DD>a new unparented variable declaration expression node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the node belongs to a different AST</li> |
| <li>the node already has a parent</li> |
| <li>a cycle in would be created</li> |
| <li>the given fragment is null</li> |
| <li>a cycle in would be created</li> |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newFieldDeclaration(org.eclipse.wst.jsdt.core.dom.VariableDeclarationFragment)"><!-- --></A><H3> |
| newFieldDeclaration</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FieldDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">FieldDeclaration</A> <B>newFieldDeclaration</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/VariableDeclarationFragment.html" title="class in org.eclipse.wst.jsdt.core.dom">VariableDeclarationFragment</A> fragment)</PRE> |
| <DL> |
| <DD>Creates a new unparented field declaration node owned by this AST, |
| for the given variable declaration fragment. By default, there are no |
| modifiers, no doc comment, and the base type is unspecified |
| (but legal). |
| <p> |
| This method can be used to wrap a variable declaration fragment |
| (<code>VariableDeclarationFragment</code>) into a field declaration |
| suitable for inclusion in the body of a type declaration |
| (<code>FieldDeclaration</code> implements <code>BodyDeclaration</code>). |
| Additional variable declaration fragments can be added afterwards. |
| </p> |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>fragment</CODE> - the variable declaration fragment |
| <DT><B>Returns:</B><DD>a new unparented field declaration node |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - if: |
| <ul> |
| <li>the node belongs to a different AST</li> |
| <li>the node already has a parent</li> |
| <li>a cycle in would be created</li> |
| <li>the given fragment is null</li> |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newThisExpression()"><!-- --></A><H3> |
| newThisExpression</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ThisExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">ThisExpression</A> <B>newThisExpression</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented "this" expression node |
| owned by this AST. By default, there is no qualifier. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented "this" expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newFieldAccess()"><!-- --></A><H3> |
| newFieldAccess</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FieldAccess.html" title="class in org.eclipse.wst.jsdt.core.dom">FieldAccess</A> <B>newFieldAccess</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented field access expression node |
| owned by this AST. By default, the expression and field are both |
| unspecified, but legal, names. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented field access expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newSuperFieldAccess()"><!-- --></A><H3> |
| newSuperFieldAccess</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SuperFieldAccess.html" title="class in org.eclipse.wst.jsdt.core.dom">SuperFieldAccess</A> <B>newSuperFieldAccess</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented super field access expression node |
| owned by this AST. By default, the expression and field are both |
| unspecified, but legal, names. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented super field access expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newTypeLiteral()"><!-- --></A><H3> |
| newTypeLiteral</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TypeLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">TypeLiteral</A> <B>newTypeLiteral</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented type literal expression node |
| owned by this AST. By default, the type is unspecified (but legal). |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented type literal node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newCastExpression()"><!-- --></A><H3> |
| newCastExpression</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/CastExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">CastExpression</A> <B>newCastExpression</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented cast expression node |
| owned by this AST. By default, the type and expression are unspecified |
| (but legal). |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented cast expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newFunctionExpression()"><!-- --></A><H3> |
| newFunctionExpression</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionExpression</A> <B>newFunctionExpression</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented function expression node |
| owned by this AST. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented function expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newObjectLiteral()"><!-- --></A><H3> |
| newObjectLiteral</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ObjectLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">ObjectLiteral</A> <B>newObjectLiteral</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented object literal expression node |
| owned by this AST. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented object literal expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newObjectLiteralField()"><!-- --></A><H3> |
| newObjectLiteralField</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ObjectLiteralField.html" title="class in org.eclipse.wst.jsdt.core.dom">ObjectLiteralField</A> <B>newObjectLiteralField</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented object literal field expression node |
| owned by this AST. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented object literal field expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newParenthesizedExpression()"><!-- --></A><H3> |
| newParenthesizedExpression</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ParenthesizedExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">ParenthesizedExpression</A> <B>newParenthesizedExpression</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented parenthesized expression node |
| owned by this AST. By default, the expression is unspecified (but legal). |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented parenthesized expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newInfixExpression()"><!-- --></A><H3> |
| newInfixExpression</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/InfixExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">InfixExpression</A> <B>newInfixExpression</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented infix expression node |
| owned by this AST. By default, the operator and left and right |
| operand are unspecified (but legal), and there are no extended |
| operands. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented infix expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newInstanceofExpression()"><!-- --></A><H3> |
| newInstanceofExpression</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/InstanceofExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">InstanceofExpression</A> <B>newInstanceofExpression</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented instanceof expression node |
| owned by this AST. By default, the operator and left and right |
| operand are unspecified (but legal). |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented instanceof expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newPostfixExpression()"><!-- --></A><H3> |
| newPostfixExpression</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/PostfixExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">PostfixExpression</A> <B>newPostfixExpression</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented postfix expression node |
| owned by this AST. By default, the operator and operand are |
| unspecified (but legal). |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented postfix expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newPrefixExpression()"><!-- --></A><H3> |
| newPrefixExpression</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/PrefixExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">PrefixExpression</A> <B>newPrefixExpression</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented prefix expression node |
| owned by this AST. By default, the operator and operand are |
| unspecified (but legal). |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented prefix expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newArrayAccess()"><!-- --></A><H3> |
| newArrayAccess</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ArrayAccess.html" title="class in org.eclipse.wst.jsdt.core.dom">ArrayAccess</A> <B>newArrayAccess</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented array access expression node |
| owned by this AST. By default, the array and index expression are |
| both unspecified (but legal). |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented array access expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newArrayCreation()"><!-- --></A><H3> |
| newArrayCreation</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ArrayCreation.html" title="class in org.eclipse.wst.jsdt.core.dom">ArrayCreation</A> <B>newArrayCreation</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented array creation expression node |
| owned by this AST. By default, the array type is an unspecified |
| 1-dimensional array, the list of dimensions is empty, and there is no |
| array initializer. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented array creation expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newClassInstanceCreation()"><!-- --></A><H3> |
| newClassInstanceCreation</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ClassInstanceCreation.html" title="class in org.eclipse.wst.jsdt.core.dom">ClassInstanceCreation</A> <B>newClassInstanceCreation</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented class instance creation |
| ("new") expression node owned by this AST. By default, |
| there is no qualifying expression, no type parameters, |
| an unspecified (but legal) type name, an empty list of |
| arguments, and does not declare an anonymous class declaration. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented class instance creation expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newAnonymousClassDeclaration()"><!-- --></A><H3> |
| newAnonymousClassDeclaration</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/AnonymousClassDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">AnonymousClassDeclaration</A> <B>newAnonymousClassDeclaration</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented anonymous class declaration |
| node owned by this AST. By default, the body declaration list is empty. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented anonymous class declaration node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newArrayInitializer()"><!-- --></A><H3> |
| newArrayInitializer</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ArrayInitializer.html" title="class in org.eclipse.wst.jsdt.core.dom">ArrayInitializer</A> <B>newArrayInitializer</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented array initializer node |
| owned by this AST. By default, the initializer has no expressions. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented array initializer node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newConditionalExpression()"><!-- --></A><H3> |
| newConditionalExpression</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ConditionalExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">ConditionalExpression</A> <B>newConditionalExpression</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a new unparented conditional expression node |
| owned by this AST. By default, the condition and both expressions |
| are unspecified (but legal). |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new unparented array conditional expression node</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="hasResolvedBindings()"><!-- --></A><H3> |
| hasResolvedBindings</H3> |
| <PRE> |
| public boolean <B>hasResolvedBindings</B>()</PRE> |
| <DL> |
| <DD>Returns true if the ast tree was created with bindings, false otherwise |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if the ast tree was created with bindings, false otherwise</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="hasStatementsRecovery()"><!-- --></A><H3> |
| hasStatementsRecovery</H3> |
| <PRE> |
| public boolean <B>hasStatementsRecovery</B>()</PRE> |
| <DL> |
| <DD>Returns true if the ast tree was created with statements recovery, false otherwise |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if the ast tree was created with statements recovery, false otherwise</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="hasBindingsRecovery()"><!-- --></A><H3> |
| hasBindingsRecovery</H3> |
| <PRE> |
| public boolean <B>hasBindingsRecovery</B>()</PRE> |
| <DL> |
| <DD>Returns true if the ast tree was created with bindings recovery, false otherwise |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if the ast tree was created with bindings recovery, false otherwise</DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AST.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Assignment.Operator.html" title="class in org.eclipse.wst.jsdt.core.dom"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTMatcher.html" title="class in org.eclipse.wst.jsdt.core.dom"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/eclipse/wst/jsdt/core/dom/AST.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AST.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| |
| </BODY> |
| </HTML> |