Class StructuredIter
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredStatement
org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredBlockStatement
org.benf.cfr.reader.bytecode.analysis.structured.statement.StructuredIter
- All Implemented Interfaces:
HasByteCodeLoc, Matcher<StructuredStatement>, StructuredStatement, Dumpable, TypeUsageCollectable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStructuredIter(BytecodeLoc loc, BlockIdentifier block, LValue iterator, Expression list, Op04StructuredStatement body) -
Method Summary
Modifier and TypeMethodDescriptionbooleanalwaysDefines(LValue scopedEntity) booleancanDefine(LValue scopedEntity, ScopeDiscoverInfoCache factCache) voidcollectTypeUsages(TypeUsageCollector collector) booleanvoidvoidmarkCreator(LValue scopedEntity, StatementContainer<StructuredStatement> hint) voidrewriteExpressions(ExpressionRewriter expressionRewriter) booleanbooleanvoidtraceLocalVariableScope(LValueScopeDiscoverer scopeDiscoverer) Methods inherited from class AbstractStructuredBlockStatement
getBody, isRecursivelyStructured, transformStructuredChildrenMethods inherited from class AbstractStructuredStatement
addLoc, canFall, claimBlock, fallsNopToNext, getContainer, getInline, getLoc, informBlockHeirachy, inlineable, isEffectivelyNOP, isProperlyStructured, match, setContainer, suggestName, toString, transformStructuredChildrenInReverse
-
Field Details
-
block
-
iterator
-
list
-
-
Constructor Details
-
StructuredIter
StructuredIter(BytecodeLoc loc, BlockIdentifier block, LValue iterator, Expression list, Op04StructuredStatement body)
-
-
Method Details
-
collectTypeUsages
- Specified by:
collectTypeUsagesin interfaceTypeUsageCollectable- Overrides:
collectTypeUsagesin classAbstractStructuredBlockStatement
-
getCombinedLoc
-
dump
-
isScopeBlock
public boolean isScopeBlock()- Specified by:
isScopeBlockin interfaceStructuredStatement- Overrides:
isScopeBlockin classAbstractStructuredStatement
-
linearizeInto
-
getBreakableBlockOrNull
- Specified by:
getBreakableBlockOrNullin interfaceStructuredStatement- Overrides:
getBreakableBlockOrNullin classAbstractStructuredStatement
-
supportsContinueBreak
public boolean supportsContinueBreak()- Specified by:
supportsContinueBreakin interfaceStructuredStatement- Overrides:
supportsContinueBreakin classAbstractStructuredStatement
-
supportsBreak
public boolean supportsBreak()- Specified by:
supportsBreakin interfaceStructuredStatement- Overrides:
supportsBreakin classAbstractStructuredStatement
-
traceLocalVariableScope
-
markCreator
- Specified by:
markCreatorin interfaceStructuredStatement- Overrides:
markCreatorin classAbstractStructuredStatement
-
alwaysDefines
- Specified by:
alwaysDefinesin interfaceStructuredStatement- Overrides:
alwaysDefinesin classAbstractStructuredStatement
-
canDefine
- Specified by:
canDefinein interfaceStructuredStatement- Overrides:
canDefinein classAbstractStructuredStatement
-
findCreatedHere
- Specified by:
findCreatedHerein interfaceStructuredStatement- Overrides:
findCreatedHerein classAbstractStructuredStatement
-
rewriteExpressions
-