public interface

ICPredicate

implements ICExpression
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICPredicate

Class Overview

C AST predicate, wrapper for a C expression that can be evaluated to true or false.

Summary

Public Methods
abstract ICPredicate duplicate()
Deep duplication of the element.
abstract ICPredicate duplicateAndReverse(ICOperatorFactory of)
Create a deep copy of this predicate (using duplicate()) and reverse it.
abstract ICExpression getExpression()
abstract boolean isLitteralFalse()
abstract boolean isLitteralTrue()
abstract void reverse(ICOperatorFactory of)
Reverse this predicate.
abstract void setExpression(ICExpression expression)
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICElement
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICExpression

Public Methods

public abstract ICPredicate duplicate ()

Deep duplication of the element. Sub-elements are duplicated.

Note: ICClass, ICMethod, ICField, ICIdentifier, ICConstant, ICType and ICLabel are not duplicated.

public abstract ICPredicate duplicateAndReverse (ICOperatorFactory of)

Create a deep copy of this predicate (using duplicate()) and reverse it. This object is not modified.

Parameters
of mandatory C operator factory

public abstract ICExpression getExpression ()

public abstract boolean isLitteralFalse ()

public abstract boolean isLitteralTrue ()

public abstract void reverse (ICOperatorFactory of)

Reverse this predicate. This object is modified. If this object inner ICExpression is a ICOperation, the inner COperation is modified.

Parameters
of mandatory C operator factory

public abstract void setExpression (ICExpression expression)