Klasse CompoundAssignment

Alle implementierten Schnittstellen:
OperatorIds, TypeConstants, TypeIds
Bekannte direkte Unterklassen:
PostfixExpression, PrefixExpression

public class CompoundAssignment extends Assignment implements OperatorIds
  • Felddetails

    • operator

      public int operator
    • preAssignImplicitConversion

      public int preAssignImplicitConversion
  • Konstruktordetails

    • CompoundAssignment

      public CompoundAssignment(Expression lhs, Expression expression, int operator, int sourceEnd)
  • Methodendetails

    • analyseCode

      public FlowInfo analyseCode(BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo)
      Setzt außer Kraft:
      analyseCode in Klasse Assignment
    • checkCastCompatibility

      public boolean checkCastCompatibility()
    • generateCode

      public void generateCode(BlockScope currentScope, CodeStream codeStream, boolean valueRequired)
      Beschreibung aus Klasse kopiert: Expression
      Every expression is responsible for generating its implicit conversion when necessary.
      Setzt außer Kraft:
      generateCode in Klasse Assignment
      Parameter:
      currentScope - org.eclipse.jdt.internal.compiler.lookup.BlockScope
      codeStream - org.eclipse.jdt.internal.compiler.codegen.CodeStream
      valueRequired - boolean
    • nullStatus

      public int nullStatus(FlowInfo flowInfo, FlowContext flowContext)
      Setzt außer Kraft:
      nullStatus in Klasse Assignment
    • operatorToString

      public String operatorToString()
    • printExpressionNoParenthesis

      public StringBuffer printExpressionNoParenthesis(int indent, StringBuffer output)
      Setzt außer Kraft:
      printExpressionNoParenthesis in Klasse Assignment
    • resolveType

      public TypeBinding resolveType(BlockScope scope)
      Beschreibung aus Klasse kopiert: Expression
      Resolve the type of this expression in the context of a blockScope
      Setzt außer Kraft:
      resolveType in Klasse Assignment
      Parameter:
      scope -
      Gibt zurück:
      Return the actual type of this expression after resolution
    • restrainUsageToNumericTypes

      public boolean restrainUsageToNumericTypes()
    • traverse

      public void traverse(ASTVisitor visitor, BlockScope scope)
      Beschreibung aus Klasse kopiert: Expression
      Traverse an expression in the context of a blockScope
      Setzt außer Kraft:
      traverse in Klasse Assignment
      Parameter:
      visitor -
      scope -