public interface

ICAssignment

implements ICDeclaration
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICAssignment

Class Overview

C assignment.

Several forms of assignments are allowed, see isSimpleAssignment(), isCombinedOperatorAssignment(), and isUnaryOperatorAssignment().

Summary

Public Methods
abstract ICOperator getCombinedOperator()
Get the operator used for combined operator assignments
abstract ICLeftExpression getLeft()
Get the left-hand side of the assignment.
abstract ICExpression getRight()
Get the right-hand side of the assignment.
abstract void getUnaryOperator(boolean[] r)
Get the operator used for a unary operator assignment.
abstract boolean isCombinedOperatorAssignment()
Check if the assignment is a combined operator assignment (+=, -=, ...).
abstract boolean isSimpleAssignment()
Check if the assignment is simple, i.e.
abstract boolean isUnaryOperatorAssignment()
Check if the assignment is a unary operator assignment (++, --).
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICElement

Public Methods

public abstract ICOperator getCombinedOperator ()

Get the operator used for combined operator assignments

public abstract ICLeftExpression getLeft ()

Get the left-hand side of the assignment.

public abstract ICExpression getRight ()

Get the right-hand side of the assignment.

Warning: null for unary operator assignments, and does not represent the final right value for combined operator assignments.

public abstract void getUnaryOperator (boolean[] r)

Get the operator used for a unary operator assignment.

Parameters
r will be filled with two values: r[0] is true for ++, false for --; r[1] is true for prefix ++/--, false for postfix ++/--

public abstract boolean isCombinedOperatorAssignment ()

Check if the assignment is a combined operator assignment (+=, -=, ...).

public abstract boolean isSimpleAssignment ()

Check if the assignment is simple, i.e. it is not a combined operator assignment and not a unary operator assignment.

public abstract boolean isUnaryOperatorAssignment ()

Check if the assignment is a unary operator assignment (++, --).