|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.internal.compiler.ast.ASTNode
org.eclipse.jdt.internal.compiler.ast.Statement
org.eclipse.jdt.internal.compiler.ast.Expression
org.eclipse.jdt.internal.compiler.ast.Assignment
public class Assignment
Field Summary | |
---|---|
Expression |
expression
|
Expression |
lhs
|
Fields inherited from class org.eclipse.jdt.internal.compiler.ast.Expression |
---|
constant, implicitConversion, resolvedType, statementEnd |
Constructor Summary | |
---|---|
Assignment(Expression lhs,
Expression expression,
int sourceEnd)
|
Method Summary | |
---|---|
FlowInfo |
analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
|
void |
generateCode(BlockScope currentScope,
CodeStream codeStream,
boolean valueRequired)
Every expression is responsible for generating its implicit conversion when necessary. |
static Binding |
getDirectBinding(Expression someExpression)
|
LocalVariableBinding |
localVariableBinding()
Returns the local variable referenced by this node. |
int |
nullStatus(FlowInfo flowInfo)
|
java.lang.StringBuffer |
print(int indent,
java.lang.StringBuffer output)
|
java.lang.StringBuffer |
printExpression(int indent,
java.lang.StringBuffer output)
|
java.lang.StringBuffer |
printExpressionNoParenthesis(int indent,
java.lang.StringBuffer output)
|
java.lang.StringBuffer |
printStatement(int indent,
java.lang.StringBuffer output)
|
TypeBinding |
resolveType(BlockScope scope)
Resolve the type of this expression in the context of a blockScope |
TypeBinding |
resolveTypeExpecting(BlockScope scope,
TypeBinding expectedType)
|
void |
traverse(ASTVisitor visitor,
BlockScope scope)
Traverse an expression in the context of a blockScope |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.Statement |
---|
branchChainTo, complainIfUnreachable, generateArguments, isEmptyBlock, isValidJavaStatement, resolveCase |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.ASTNode |
---|
checkInvocationArguments, concreteStatement, isFieldUseDeprecated, isImplicitThis, isMethodUseDeprecated, isSuper, isThis, isTypeUseDeprecated, printAnnotations, printIndent, printModifiers, resolveAnnotations, resolveDeprecatedAnnotations, sourceEnd, sourceStart, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Expression lhs
public Expression expression
Constructor Detail |
---|
public Assignment(Expression lhs, Expression expression, int sourceEnd)
Method Detail |
---|
public FlowInfo analyseCode(BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo)
analyseCode
in class Expression
public void generateCode(BlockScope currentScope, CodeStream codeStream, boolean valueRequired)
Expression
generateCode
in class Expression
currentScope
- org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream
- org.eclipse.jdt.internal.compiler.codegen.CodeStreamvalueRequired
- booleanpublic static Binding getDirectBinding(Expression someExpression)
public int nullStatus(FlowInfo flowInfo)
nullStatus
in class Expression
public java.lang.StringBuffer print(int indent, java.lang.StringBuffer output)
print
in class Expression
public java.lang.StringBuffer printExpression(int indent, java.lang.StringBuffer output)
printExpression
in class Expression
public java.lang.StringBuffer printExpressionNoParenthesis(int indent, java.lang.StringBuffer output)
public java.lang.StringBuffer printStatement(int indent, java.lang.StringBuffer output)
printStatement
in class Expression
public TypeBinding resolveType(BlockScope scope)
Expression
resolveType
in class Expression
public TypeBinding resolveTypeExpecting(BlockScope scope, TypeBinding expectedType)
resolveTypeExpecting
in class Expression
Expression.resolveTypeExpecting(org.eclipse.jdt.internal.compiler.lookup.BlockScope, org.eclipse.jdt.internal.compiler.lookup.TypeBinding)
public void traverse(ASTVisitor visitor, BlockScope scope)
Expression
traverse
in class Expression
public LocalVariableBinding localVariableBinding()
Expression
localVariableBinding
in class Expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |