|
||||||||||
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
org.eclipse.jdt.internal.compiler.ast.CompoundAssignment
org.eclipse.jdt.internal.compiler.ast.PostfixExpression
public class PostfixExpression
Field Summary |
---|
Fields inherited from class org.eclipse.jdt.internal.compiler.ast.CompoundAssignment |
---|
operator, preAssignImplicitConversion |
Fields inherited from class org.eclipse.jdt.internal.compiler.ast.Assignment |
---|
expression, lhs |
Fields inherited from class org.eclipse.jdt.internal.compiler.ast.Expression |
---|
constant, implicitConversion, resolvedType, statementEnd |
Fields inherited from interface org.eclipse.jdt.internal.compiler.ast.OperatorIds |
---|
AND, AND_AND, DIVIDE, EQUAL, EQUAL_EQUAL, GREATER, GREATER_EQUAL, INSTANCEOF, JML_ELEMTYPE, JML_EQUIV, JML_IMPLIES, JML_NONNULLELEMENTS, JML_NOT_ASSIGNED, JML_NOT_EQUIV, JML_NOT_MODIFIED, JML_OLD, JML_PRE, JML_REPRESENTS, JML_REV_IMPLIES, JML_TYPE, JML_TYPEOF, JmlOtherOpIdStart, LEFT_SHIFT, LESS, LESS_EQUAL, MINUS, MINUS_MINUS, MULTIPLY, NOT, NOT_EQUAL, NumberOfExtraTablesForJML, NumberOfTables, OR, OR_OR, PLUS, PLUS_PLUS, QUESTIONCOLON, REMAINDER, RIGHT_SHIFT, TWIDDLE, UNSIGNED_RIGHT_SHIFT, XOR |
Constructor Summary | |
---|---|
PostfixExpression(Expression lhs,
Expression expression,
int operator,
int pos)
|
Method Summary | |
---|---|
void |
generateCode(BlockScope currentScope,
CodeStream codeStream,
boolean valueRequired)
Code generation for PostfixExpression |
java.lang.String |
operatorToString()
|
java.lang.StringBuffer |
printExpressionNoParenthesis(int indent,
java.lang.StringBuffer output)
|
boolean |
restrainUsageToNumericTypes()
|
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.CompoundAssignment |
---|
analyseCode, nullStatus, resolveType |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.Assignment |
---|
getDirectBinding, localVariableBinding, print, printExpression, printStatement, resolveTypeExpecting |
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 |
Constructor Detail |
---|
public PostfixExpression(Expression lhs, Expression expression, int operator, int pos)
Method Detail |
---|
public void generateCode(BlockScope currentScope, CodeStream codeStream, boolean valueRequired)
generateCode
in class CompoundAssignment
currentScope
- org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream
- org.eclipse.jdt.internal.compiler.codegen.CodeStreamvalueRequired
- booleanpublic java.lang.String operatorToString()
operatorToString
in class CompoundAssignment
public java.lang.StringBuffer printExpressionNoParenthesis(int indent, java.lang.StringBuffer output)
printExpressionNoParenthesis
in class CompoundAssignment
public boolean restrainUsageToNumericTypes()
restrainUsageToNumericTypes
in class CompoundAssignment
public void traverse(ASTVisitor visitor, BlockScope scope)
Expression
traverse
in class CompoundAssignment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |