public class StructuredFor extends AbstractStructuredBlockStatement
| Constructor and Description |
|---|
StructuredFor(BytecodeLoc loc,
ConditionalExpression condition,
AssignmentSimple initial,
List<AbstractAssignmentExpression> assignments,
Op04StructuredStatement body,
BlockIdentifier block) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDefine(LValue scopedEntity,
ScopeDiscoverInfoCache factCache) |
void |
collectTypeUsages(TypeUsageCollector collector) |
Dumper |
dump(Dumper dumper) |
List<LValue> |
findCreatedHere() |
BlockIdentifier |
getBlock() |
BlockIdentifier |
getBreakableBlockOrNull() |
BytecodeLoc |
getCombinedLoc() |
boolean |
isScopeBlock() |
void |
linearizeInto(List<StructuredStatement> out) |
void |
markCreator(LValue scopedEntity,
StatementContainer<StructuredStatement> hint) |
boolean |
match(MatchIterator<StructuredStatement> matchIterator,
MatchResultCollector matchResultCollector) |
void |
rewriteExpressions(ExpressionRewriter expressionRewriter) |
String |
suggestName(LocalVariable createdHere,
Predicate<String> testNameUsedFn) |
boolean |
supportsBreak() |
void |
traceLocalVariableScope(LValueScopeDiscoverer scopeDiscoverer) |
getBody, isRecursivelyStructured, transformStructuredChildrenaddLoc, alwaysDefines, canFall, claimBlock, fallsNopToNext, getContainer, getInline, getLoc, informBlockHeirachy, inlineable, isEffectivelyNOP, isProperlyStructured, setContainer, supportsContinueBreak, toString, transformStructuredChildrenInReversepublic StructuredFor(BytecodeLoc loc, ConditionalExpression condition, AssignmentSimple initial, List<AbstractAssignmentExpression> assignments, Op04StructuredStatement body, BlockIdentifier block)
public void collectTypeUsages(TypeUsageCollector collector)
collectTypeUsages in interface TypeUsageCollectablecollectTypeUsages in class AbstractStructuredBlockStatementpublic BytecodeLoc getCombinedLoc()
public boolean isScopeBlock()
isScopeBlock in interface StructuredStatementisScopeBlock in class AbstractStructuredStatementpublic void linearizeInto(List<StructuredStatement> out)
public BlockIdentifier getBreakableBlockOrNull()
getBreakableBlockOrNull in interface StructuredStatementgetBreakableBlockOrNull in class AbstractStructuredStatementpublic boolean supportsBreak()
supportsBreak in interface StructuredStatementsupportsBreak in class AbstractStructuredStatementpublic void traceLocalVariableScope(LValueScopeDiscoverer scopeDiscoverer)
public void markCreator(LValue scopedEntity, StatementContainer<StructuredStatement> hint)
markCreator in interface StructuredStatementmarkCreator in class AbstractStructuredStatementpublic boolean canDefine(LValue scopedEntity, ScopeDiscoverInfoCache factCache)
canDefine in interface StructuredStatementcanDefine in class AbstractStructuredStatementpublic List<LValue> findCreatedHere()
findCreatedHere in interface StructuredStatementfindCreatedHere in class AbstractStructuredStatementpublic String suggestName(LocalVariable createdHere, Predicate<String> testNameUsedFn)
suggestName in interface StructuredStatementsuggestName in class AbstractStructuredStatementpublic void rewriteExpressions(ExpressionRewriter expressionRewriter)
public BlockIdentifier getBlock()
public boolean match(MatchIterator<StructuredStatement> matchIterator, MatchResultCollector matchResultCollector)
match in interface Matcher<StructuredStatement>match in class AbstractStructuredStatementCopyright © 2011-2021. All Rights Reserved.