| <!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:55 CDT 2008 --> |
| <TITLE> |
| Expression |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.core.dom.Expression class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="Expression"; |
| } |
| </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/Expression.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/EnhancedForStatement.html" title="class in org.eclipse.wst.jsdt.core.dom"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ExpressionStatement.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/Expression.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="Expression.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="#fields_inherited_from_class_org.eclipse.wst.jsdt.core.dom.ASTNode">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <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 Expression</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom">org.eclipse.wst.jsdt.core.dom.ASTNode</A> |
| <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.wst.jsdt.core.dom.Expression</B> |
| </PRE> |
| <DL> |
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ArrayAccess.html" title="class in org.eclipse.wst.jsdt.core.dom">ArrayAccess</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ArrayCreation.html" title="class in org.eclipse.wst.jsdt.core.dom">ArrayCreation</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ArrayInitializer.html" title="class in org.eclipse.wst.jsdt.core.dom">ArrayInitializer</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Assignment.html" title="class in org.eclipse.wst.jsdt.core.dom">Assignment</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BooleanLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">BooleanLiteral</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/CastExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">CastExpression</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/CharacterLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">CharacterLiteral</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ClassInstanceCreation.html" title="class in org.eclipse.wst.jsdt.core.dom">ClassInstanceCreation</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ConditionalExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">ConditionalExpression</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/EmptyExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">EmptyExpression</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FieldAccess.html" title="class in org.eclipse.wst.jsdt.core.dom">FieldAccess</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionExpression</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionInvocation.html" title="class in org.eclipse.wst.jsdt.core.dom">FunctionInvocation</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/InfixExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">InfixExpression</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/InstanceofExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">InstanceofExpression</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ListExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">ListExpression</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Name.html" title="class in org.eclipse.wst.jsdt.core.dom">Name</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/NullLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">NullLiteral</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/NumberLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">NumberLiteral</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ObjectLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">ObjectLiteral</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ObjectLiteralField.html" title="class in org.eclipse.wst.jsdt.core.dom">ObjectLiteralField</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ParenthesizedExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">ParenthesizedExpression</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/PostfixExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">PostfixExpression</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/PrefixExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">PrefixExpression</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/RegularExpressionLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">RegularExpressionLiteral</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/StringLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">StringLiteral</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SuperFieldAccess.html" title="class in org.eclipse.wst.jsdt.core.dom">SuperFieldAccess</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SuperMethodInvocation.html" title="class in org.eclipse.wst.jsdt.core.dom">SuperMethodInvocation</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ThisExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">ThisExpression</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/TypeLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">TypeLiteral</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/UndefinedLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom">UndefinedLiteral</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/VariableDeclarationExpression.html" title="class in org.eclipse.wst.jsdt.core.dom">VariableDeclarationExpression</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public abstract class <B>Expression</B><DT>extends <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom">ASTNode</A></DL> |
| </PRE> |
| |
| <P> |
| Abstract base class of AST nodes that represent expressions. |
| There are several kinds of expressions. |
| <p> |
| <pre> |
| Expression: |
| Name |
| IntegerLiteral (includes decimal, hex, and octal forms; and long) |
| FloatingPointLiteral (includes both float and double) |
| CharacterLiteral |
| NullLiteral |
| BooleanLiteral |
| StringLiteral |
| TypeLiteral |
| ThisExpression |
| SuperFieldAccess |
| FieldAccess |
| Assignment |
| ParenthesizedExpression |
| ClassInstanceCreation |
| ArrayCreation |
| ArrayInitializer |
| FunctionInvocation |
| SuperMethodInvocation |
| ArrayAccess |
| InfixExpression |
| InstanceofExpression |
| ConditionalExpression |
| PostfixExpression |
| PrefixExpression |
| CastExpression |
| VariableDeclarationExpression |
| </pre> |
| </p> |
| |
| 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. |
| <P> |
| |
| <P> |
| <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> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.eclipse.wst.jsdt.core.dom.ASTNode"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from class org.eclipse.wst.jsdt.core.dom.<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom">ASTNode</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ANONYMOUS_CLASS_DECLARATION">ANONYMOUS_CLASS_DECLARATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ARRAY_ACCESS">ARRAY_ACCESS</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ARRAY_CREATION">ARRAY_CREATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ARRAY_INITIALIZER">ARRAY_INITIALIZER</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ARRAY_TYPE">ARRAY_TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ASSERT_STATEMENT">ASSERT_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ASSIGNMENT">ASSIGNMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#BLOCK">BLOCK</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#BLOCK_COMMENT">BLOCK_COMMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#BOOLEAN_LITERAL">BOOLEAN_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#BREAK_STATEMENT">BREAK_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#CAST_EXPRESSION">CAST_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#CATCH_CLAUSE">CATCH_CLAUSE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#CHARACTER_LITERAL">CHARACTER_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#CLASS_INSTANCE_CREATION">CLASS_INSTANCE_CREATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#CONDITIONAL_EXPRESSION">CONDITIONAL_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#CONSTRUCTOR_INVOCATION">CONSTRUCTOR_INVOCATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#CONTINUE_STATEMENT">CONTINUE_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#DO_STATEMENT">DO_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#EMPTY_EXPRESSION">EMPTY_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#EMPTY_STATEMENT">EMPTY_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ENHANCED_FOR_STATEMENT">ENHANCED_FOR_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#EXPRESSION_STATEMENT">EXPRESSION_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FIELD_ACCESS">FIELD_ACCESS</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FIELD_DECLARATION">FIELD_DECLARATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FOR_IN_STATEMENT">FOR_IN_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FOR_STATEMENT">FOR_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FUNCTION_DECLARATION">FUNCTION_DECLARATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FUNCTION_EXPRESSION">FUNCTION_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FUNCTION_INVOCATION">FUNCTION_INVOCATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FUNCTION_REF">FUNCTION_REF</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FUNCTION_REF_PARAMETER">FUNCTION_REF_PARAMETER</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#IF_STATEMENT">IF_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#IMPORT_DECLARATION">IMPORT_DECLARATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#INFERRED_TYPE">INFERRED_TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#INFIX_EXPRESSION">INFIX_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#INITIALIZER">INITIALIZER</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#INSTANCEOF_EXPRESSION">INSTANCEOF_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#JAVASCRIPT_UNIT">JAVASCRIPT_UNIT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#JSDOC">JSDOC</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#LABELED_STATEMENT">LABELED_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#LINE_COMMENT">LINE_COMMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#LIST_EXPRESSION">LIST_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#MALFORMED">MALFORMED</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#MEMBER_REF">MEMBER_REF</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#MODIFIER">MODIFIER</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#NULL_LITERAL">NULL_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#NUMBER_LITERAL">NUMBER_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#OBJECT_LITERAL">OBJECT_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#OBJECT_LITERAL_FIELD">OBJECT_LITERAL_FIELD</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ORIGINAL">ORIGINAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#PACKAGE_DECLARATION">PACKAGE_DECLARATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#PARAMETERIZED_TYPE">PARAMETERIZED_TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#PARENTHESIZED_EXPRESSION">PARENTHESIZED_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#POSTFIX_EXPRESSION">POSTFIX_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#PREFIX_EXPRESSION">PREFIX_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#PRIMITIVE_TYPE">PRIMITIVE_TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#PROTECT">PROTECT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#QUALIFIED_NAME">QUALIFIED_NAME</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#QUALIFIED_TYPE">QUALIFIED_TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#RECOVERED">RECOVERED</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#REGULAR_EXPRESSION_LITERAL">REGULAR_EXPRESSION_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#RETURN_STATEMENT">RETURN_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SIMPLE_NAME">SIMPLE_NAME</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SIMPLE_TYPE">SIMPLE_TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SINGLE_VARIABLE_DECLARATION">SINGLE_VARIABLE_DECLARATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#STRING_LITERAL">STRING_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SUPER_CONSTRUCTOR_INVOCATION">SUPER_CONSTRUCTOR_INVOCATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SUPER_FIELD_ACCESS">SUPER_FIELD_ACCESS</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SUPER_METHOD_INVOCATION">SUPER_METHOD_INVOCATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SWITCH_CASE">SWITCH_CASE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SWITCH_STATEMENT">SWITCH_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#TAG_ELEMENT">TAG_ELEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#TEXT_ELEMENT">TEXT_ELEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#THIS_EXPRESSION">THIS_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#THROW_STATEMENT">THROW_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#TRY_STATEMENT">TRY_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#TYPE_DECLARATION">TYPE_DECLARATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#TYPE_DECLARATION_STATEMENT">TYPE_DECLARATION_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#TYPE_LITERAL">TYPE_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#TYPE_PARAMETER">TYPE_PARAMETER</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#UNDEFINED_LITERAL">UNDEFINED_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#VARIABLE_DECLARATION_EXPRESSION">VARIABLE_DECLARATION_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#VARIABLE_DECLARATION_FRAGMENT">VARIABLE_DECLARATION_FRAGMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#VARIABLE_DECLARATION_STATEMENT">VARIABLE_DECLARATION_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#WHILE_STATEMENT">WHILE_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#WILDCARD_TYPE">WILDCARD_TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#WITH_STATEMENT">WITH_STATEMENT</A></CODE></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> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Expression.html#resolveBoxing()">resolveBoxing</A></B>()</CODE> |
| |
| <BR> |
| Returns whether this expression node is the site of a boxing |
| conversion (JLS3 5.1.7).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.Object</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Expression.html#resolveConstantExpressionValue()">resolveConstantExpressionValue</A></B>()</CODE> |
| |
| <BR> |
| Resolves and returns the compile-time constant expression value as |
| specified in JLS2 15.28, if this expression has one.</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/Expression.html#resolveTypeBinding()">resolveTypeBinding</A></B>()</CODE> |
| |
| <BR> |
| Resolves and returns the binding for the type of this expression.</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/Expression.html#resolveUnboxing()">resolveUnboxing</A></B>()</CODE> |
| |
| <BR> |
| Returns whether this expression node is the site of an unboxing |
| conversion (JLS3 5.1.8).</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.eclipse.wst.jsdt.core.dom.ASTNode"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class org.eclipse.wst.jsdt.core.dom.<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom">ASTNode</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#accept(org.eclipse.wst.jsdt.core.dom.ASTVisitor)">accept</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#copySubtree(org.eclipse.wst.jsdt.core.dom.AST, org.eclipse.wst.jsdt.core.dom.ASTNode)">copySubtree</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#copySubtrees(org.eclipse.wst.jsdt.core.dom.AST, java.util.List)">copySubtrees</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#delete()">delete</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getAST()">getAST</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getFlags()">getFlags</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getLength()">getLength</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getLocationInParent()">getLocationInParent</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getNodeType()">getNodeType</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getParent()">getParent</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getProperty(java.lang.String)">getProperty</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getRoot()">getRoot</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getStartPosition()">getStartPosition</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getStructuralProperty(org.eclipse.wst.jsdt.core.dom.StructuralPropertyDescriptor)">getStructuralProperty</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#hashCode()">hashCode</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#nodeClassForType(int)">nodeClassForType</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#properties()">properties</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#setFlags(int)">setFlags</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#setSourceRange(int, int)">setSourceRange</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#setStructuralProperty(org.eclipse.wst.jsdt.core.dom.StructuralPropertyDescriptor, java.lang.Object)">setStructuralProperty</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#structuralPropertiesForType()">structuralPropertiesForType</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#subtreeBytes()">subtreeBytes</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#subtreeMatch(org.eclipse.wst.jsdt.core.dom.ASTMatcher, java.lang.Object)">subtreeMatch</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#toString()">toString</A></CODE></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>getClass, notify, notifyAll, wait, wait, wait</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ 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="resolveConstantExpressionValue()"><!-- --></A><H3> |
| resolveConstantExpressionValue</H3> |
| <PRE> |
| public final java.lang.Object <B>resolveConstantExpressionValue</B>()</PRE> |
| <DL> |
| <DD>Resolves and returns the compile-time constant expression value as |
| specified in JLS2 15.28, if this expression has one. Constant expression |
| values are unavailable unless bindings are requested when the AST is |
| being built. If the type of the value is a primitive type, the result |
| is the boxed equivalent (i.e., int returned as an <code>Integer</code>); |
| if the type of the value is <code>String</code>, the result is the string |
| itself. If the expression does not have a compile-time constant expression |
| value, the result is <code>null</code>. |
| <p> |
| Resolving constant expressions takes into account the value of simple |
| and qualified names that refer to constant variables (JLS2 4.12.4). |
| </p> |
| <p> |
| Note 1: enum constants are not considered constant expressions. |
| The result is always <code>null</code> for these. |
| </p> |
| <p> |
| Note 2: Compile-time constant expressions cannot denote <code>null</code>. |
| So technically <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/NullLiteral.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>NullLiteral</CODE></A> nodes are not constant expressions. |
| The result is <code>null</code> for these nonetheless. |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the constant expression value, or <code>null</code> if this |
| expression has no constant expression value or if bindings were not |
| requested when the AST was created</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="resolveTypeBinding()"><!-- --></A><H3> |
| resolveTypeBinding</H3> |
| <PRE> |
| public final <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A> <B>resolveTypeBinding</B>()</PRE> |
| <DL> |
| <DD>Resolves and returns the binding for the type of this expression. |
| <p> |
| Note that bindings are generally unavailable unless requested when the |
| AST is being built. |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the binding for the type of this expression, or |
| <code>null</code> if the type cannot be resolved</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="resolveBoxing()"><!-- --></A><H3> |
| resolveBoxing</H3> |
| <PRE> |
| public final boolean <B>resolveBoxing</B>()</PRE> |
| <DL> |
| <DD>Returns whether this expression node is the site of a boxing |
| conversion (JLS3 5.1.7). This information is available only |
| when bindings are requested when the AST is being built. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD><code>true</code> if this expression is the site of a |
| boxing conversion, or <code>false</code> if either no boxing conversion |
| is involved or if bindings were not requested when the AST was created</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="resolveUnboxing()"><!-- --></A><H3> |
| resolveUnboxing</H3> |
| <PRE> |
| public final boolean <B>resolveUnboxing</B>()</PRE> |
| <DL> |
| <DD>Returns whether this expression node is the site of an unboxing |
| conversion (JLS3 5.1.8). This information is available only |
| when bindings are requested when the AST is being built. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD><code>true</code> if this expression is the site of an |
| unboxing conversion, or <code>false</code> if either no unboxing |
| conversion is involved or if bindings were not requested when the |
| AST was created</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/Expression.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/EnhancedForStatement.html" title="class in org.eclipse.wst.jsdt.core.dom"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ExpressionStatement.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/Expression.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="Expression.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="#fields_inherited_from_class_org.eclipse.wst.jsdt.core.dom.ASTNode">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| |
| </BODY> |
| </HTML> |