public interface

ICForStm

implements ICGenericLoop
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICForStm

Class Overview

C AST interface used to represent a standard for loop statement. A for loop is a pre-tested loop, that consists of an initializer statement, a test predicate, a post-iteration statement, and a body.

Example:

 for(initializer; predicate; poststm) {
     // body
 }
 

Summary

Public Methods
abstract ICForStm duplicate()
Deep duplication of the element.
abstract ICStatement getPostStatement()
abstract ICStatement getPreStatement()
abstract void setPostStatement(ICStatement post)
abstract void setPreStatement(ICStatement pre)
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICCompound
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICElement
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICGenericBreakable
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICGenericLoop
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement

Public Methods

public abstract ICForStm duplicate ()

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

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

public abstract ICStatement getPostStatement ()

public abstract ICStatement getPreStatement ()

public abstract void setPostStatement (ICStatement post)

public abstract void setPreStatement (ICStatement pre)