Interface ICForStm
- All Superinterfaces:
ICCompound,ICElement,ICGenericBreakable,ICGenericLoop,ICStatement
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
}
-
Method Summary
Modifier and TypeMethodDescriptionDeep duplication of the element.voidsetPostStatement(ICStatement post) voidMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICCompound
generateFlatList, getBlocks, insertAt, resetMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICElement
addPhysicalOffset, addPhysicalOffsets, evaluate, format, generate, getData, getElementType, getPhysicalOffset, getPhysicalOffsets, getSubElements, replaceSubElement, setData, setPhysicalOffsets, toString, visitDepthPost, visitDepthPost, visitDepthPost, visitDepthPre, visitDepthPre, visitDepthPreMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICGenericLoop
getBody, getPredicate, setBody, setPredicateMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement
getIntermediateOffset, setIntermediateOffset
-
Method Details
-
getPreStatement
ICStatement getPreStatement() -
setPreStatement
-
getPostStatement
ICStatement getPostStatement() -
setPostStatement
-
duplicate
ICForStm duplicate()Description copied from interface:ICElementDeep duplication of the element. Sub-elements are duplicated.Note:
ICClass,ICMethod,ICField,ICIdentifier,ICConstant,ICTypeandICLabelare not duplicated.- Specified by:
duplicatein interfaceICCompound- Specified by:
duplicatein interfaceICElement- Specified by:
duplicatein interfaceICGenericBreakable- Specified by:
duplicatein interfaceICGenericLoop- Specified by:
duplicatein interfaceICStatement
-