|
||||||||||
| 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 |
| Fields inherited from class org.eclipse.jdt.internal.compiler.ast.Statement |
|---|
COMPLAINED_FAKE_REACHABLE, COMPLAINED_UNREACHABLE, NOT_COMPLAINED |
| 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. |
LocalVariableBinding |
localVariableBinding()
Returns the local variable referenced by this node. |
int |
nullStatus(FlowInfo flowInfo)
|
StringBuffer |
print(int indent,
StringBuffer output)
|
StringBuffer |
printExpression(int indent,
StringBuffer output)
|
StringBuffer |
printExpressionNoParenthesis(int indent,
StringBuffer output)
|
StringBuffer |
printStatement(int indent,
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, checkAgainstNullAnnotation, complainIfUnreachable, expectedType, generateArguments, isBoxingCompatible, isEmptyBlock, isKnowDeadCodePattern, 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 |
|---|
clone, equals, finalize, 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 ExpressioncurrentScope - org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream - org.eclipse.jdt.internal.compiler.codegen.CodeStreamvalueRequired - booleanpublic int nullStatus(FlowInfo flowInfo)
nullStatus in class Expression
public StringBuffer print(int indent,
StringBuffer output)
print in class Expression
public StringBuffer printExpression(int indent,
StringBuffer output)
printExpression in class Expression
public StringBuffer printExpressionNoParenthesis(int indent,
StringBuffer output)
public StringBuffer printStatement(int indent,
StringBuffer output)
printStatement in class Expressionpublic TypeBinding resolveType(BlockScope scope)
Expression
resolveType in class Expression
public TypeBinding resolveTypeExpecting(BlockScope scope,
TypeBinding expectedType)
resolveTypeExpecting in class ExpressionExpression.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 Expressionpublic LocalVariableBinding localVariableBinding()
Expression
localVariableBinding in class Expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||