public class StructuredCase extends AbstractStructuredBlockStatement
| Constructor and Description |
|---|
StructuredCase(BytecodeLoc loc,
List<Expression> values,
InferredJavaType inferredJavaTypeOfSwitch,
Op04StructuredStatement body,
BlockIdentifier blockIdentifier) |
StructuredCase(BytecodeLoc loc,
List<Expression> values,
InferredJavaType inferredJavaTypeOfSwitch,
Op04StructuredStatement body,
BlockIdentifier blockIdentifier,
boolean enumSwitch) |
| Modifier and Type | Method and Description |
|---|---|
void |
collectTypeUsages(TypeUsageCollector collector) |
Dumper |
dump(Dumper dumper) |
BlockIdentifier |
getBlockIdentifier() |
BytecodeLoc |
getCombinedLoc() |
List<Expression> |
getValues() |
boolean |
isDefault() |
boolean |
isProperlyStructured() |
void |
linearizeInto(List<StructuredStatement> out) |
boolean |
match(MatchIterator<StructuredStatement> matchIterator,
MatchResultCollector matchResultCollector) |
void |
rewriteExpressions(ExpressionRewriter expressionRewriter) |
void |
traceLocalVariableScope(LValueScopeDiscoverer scopeDiscoverer) |
getBody, isRecursivelyStructured, transformStructuredChildrenaddLoc, alwaysDefines, canDefine, canFall, claimBlock, fallsNopToNext, findCreatedHere, getBreakableBlockOrNull, getContainer, getInline, getLoc, informBlockHeirachy, inlineable, isEffectivelyNOP, isScopeBlock, markCreator, setContainer, suggestName, supportsBreak, supportsContinueBreak, toString, transformStructuredChildrenInReversepublic StructuredCase(BytecodeLoc loc, List<Expression> values, InferredJavaType inferredJavaTypeOfSwitch, Op04StructuredStatement body, BlockIdentifier blockIdentifier)
public StructuredCase(BytecodeLoc loc, List<Expression> values, InferredJavaType inferredJavaTypeOfSwitch, Op04StructuredStatement body, BlockIdentifier blockIdentifier, boolean enumSwitch)
public BytecodeLoc getCombinedLoc()
public void collectTypeUsages(TypeUsageCollector collector)
collectTypeUsages in interface TypeUsageCollectablecollectTypeUsages in class AbstractStructuredBlockStatementpublic boolean isProperlyStructured()
isProperlyStructured in interface StructuredStatementisProperlyStructured in class AbstractStructuredStatementpublic List<Expression> getValues()
public BlockIdentifier getBlockIdentifier()
public void linearizeInto(List<StructuredStatement> out)
public void traceLocalVariableScope(LValueScopeDiscoverer scopeDiscoverer)
public boolean match(MatchIterator<StructuredStatement> matchIterator, MatchResultCollector matchResultCollector)
match in interface Matcher<StructuredStatement>match in class AbstractStructuredStatementpublic void rewriteExpressions(ExpressionRewriter expressionRewriter)
public boolean isDefault()
Copyright © 2011-2021. All Rights Reserved.