|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
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
org.eclipse.jdt.internal.compiler.ast.CompoundAssignment
public class CompoundAssignment
| 字段摘要 | |
|---|---|
int |
operator
|
int |
preAssignImplicitConversion
|
| 从类 org.eclipse.jdt.internal.compiler.ast.Assignment 继承的字段 |
|---|
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 |
| 从接口 org.eclipse.jdt.internal.compiler.ast.OperatorIds 继承的字段 |
|---|
AND, AND_AND, DIVIDE, EQUAL, EQUAL_EQUAL, GREATER, GREATER_EQUAL, INSTANCEOF, LEFT_SHIFT, LESS, LESS_EQUAL, MINUS, MINUS_MINUS, MULTIPLY, NOT, NOT_EQUAL, NumberOfTables, OR, OR_OR, PLUS, PLUS_PLUS, QUESTIONCOLON, REMAINDER, RIGHT_SHIFT, TWIDDLE, UNSIGNED_RIGHT_SHIFT, XOR |
| 构造方法摘要 | |
|---|---|
CompoundAssignment(Expression lhs,
Expression expression,
int operator,
int sourceEnd)
|
|
| 方法摘要 | |
|---|---|
FlowInfo |
analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
|
boolean |
checkCastCompatibility()
|
void |
generateCode(BlockScope currentScope,
CodeStream codeStream,
boolean valueRequired)
Every expression is responsible for generating its implicit conversion when necessary. |
int |
nullStatus(FlowInfo flowInfo)
|
String |
operatorToString()
|
StringBuffer |
printExpressionNoParenthesis(int indent,
StringBuffer output)
|
TypeBinding |
resolveType(BlockScope scope)
Resolve the type of this expression in the context of a blockScope |
boolean |
restrainUsageToNumericTypes()
|
void |
traverse(ASTVisitor visitor,
BlockScope scope)
Traverse an expression in the context of a blockScope |
| 从类 org.eclipse.jdt.internal.compiler.ast.Assignment 继承的方法 |
|---|
localVariableBinding, print, printExpression, printStatement, resolveTypeExpecting |
| 从类 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 int operator
public int preAssignImplicitConversion
| 构造方法详细信息 |
|---|
public CompoundAssignment(Expression lhs,
Expression expression,
int operator,
int sourceEnd)
| 方法详细信息 |
|---|
public FlowInfo analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
Assignment 中的 analyseCodepublic boolean checkCastCompatibility()
public void generateCode(BlockScope currentScope,
CodeStream codeStream,
boolean valueRequired)
Expression 复制的描述
Assignment 中的 generateCodecurrentScope - org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream - org.eclipse.jdt.internal.compiler.codegen.CodeStreamvalueRequired - booleanpublic int nullStatus(FlowInfo flowInfo)
Assignment 中的 nullStatuspublic String operatorToString()
public StringBuffer printExpressionNoParenthesis(int indent,
StringBuffer output)
Assignment 中的 printExpressionNoParenthesispublic TypeBinding resolveType(BlockScope scope)
Expression 复制的描述
Assignment 中的 resolveTypepublic boolean restrainUsageToNumericTypes()
public void traverse(ASTVisitor visitor,
BlockScope scope)
Expression 复制的描述
Assignment 中的 traverse
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||