|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
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
| 字段摘要 | |
|---|---|
Expression |
expression
|
Expression |
lhs
|
| 从类 org.eclipse.jdt.internal.compiler.ast.Expression 继承的字段 |
|---|
constant, implicitConversion, resolvedType, statementEnd |
| 从类 org.eclipse.jdt.internal.compiler.ast.Statement 继承的字段 |
|---|
COMPLAINED_FAKE_REACHABLE, COMPLAINED_UNREACHABLE, NOT_COMPLAINED |
| 构造方法摘要 | |
|---|---|
Assignment(Expression lhs,
Expression expression,
int sourceEnd)
|
|
| 方法摘要 | |
|---|---|
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 |
| 从类 org.eclipse.jdt.internal.compiler.ast.Statement 继承的方法 |
|---|
branchChainTo, checkAgainstNullAnnotation, complainIfUnreachable, expectedType, generateArguments, isBoxingCompatible, isEmptyBlock, isKnowDeadCodePattern, isValidJavaStatement, resolveCase |
| 从类 org.eclipse.jdt.internal.compiler.ast.ASTNode 继承的方法 |
|---|
checkInvocationArguments, concreteStatement, isFieldUseDeprecated, isImplicitThis, isMethodUseDeprecated, isSuper, isThis, isTypeUseDeprecated, printAnnotations, printIndent, printModifiers, resolveAnnotations, resolveDeprecatedAnnotations, sourceEnd, sourceStart, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
public Expression lhs
public Expression expression
| 构造方法详细信息 |
|---|
public Assignment(Expression lhs,
Expression expression,
int sourceEnd)
| 方法详细信息 |
|---|
public FlowInfo analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
Expression 中的 analyseCode
public void generateCode(BlockScope currentScope,
CodeStream codeStream,
boolean valueRequired)
Expression 复制的描述
Expression 中的 generateCodecurrentScope - org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream - org.eclipse.jdt.internal.compiler.codegen.CodeStreamvalueRequired - booleanpublic int nullStatus(FlowInfo flowInfo)
Expression 中的 nullStatus
public StringBuffer print(int indent,
StringBuffer output)
Expression 中的 print
public StringBuffer printExpression(int indent,
StringBuffer output)
Expression 中的 printExpression
public StringBuffer printExpressionNoParenthesis(int indent,
StringBuffer output)
public StringBuffer printStatement(int indent,
StringBuffer output)
Expression 中的 printStatementpublic TypeBinding resolveType(BlockScope scope)
Expression 复制的描述
Expression 中的 resolveType
public TypeBinding resolveTypeExpecting(BlockScope scope,
TypeBinding expectedType)
Expression 中的 resolveTypeExpectingExpression.resolveTypeExpecting(org.eclipse.jdt.internal.compiler.lookup.BlockScope, org.eclipse.jdt.internal.compiler.lookup.TypeBinding)
public void traverse(ASTVisitor visitor,
BlockScope scope)
Expression 复制的描述
Expression 中的 traversepublic LocalVariableBinding localVariableBinding()
Expression 复制的描述
Expression 中的 localVariableBinding
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||