public class CompoundStatement extends AbstractStatement
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Statement> |
statements |
| Constructor and Description |
|---|
CompoundStatement(BytecodeLoc loc,
Statement... statements) |
| Modifier and Type | Method and Description |
|---|---|
void |
collectLValueAssignments(LValueAssignmentCollector<Statement> lValueAssigmentCollector) |
void |
collectLValueUsage(LValueUsageCollector lValueUsageCollector) |
Statement |
deepClone(CloneHelper cloneHelper) |
Dumper |
dump(Dumper dumper) |
boolean |
equivalentUnder(java.lang.Object o,
EquivalenceConstraint constraint) |
BytecodeLoc |
getCombinedLoc() |
java.util.List<Statement> |
getCompoundParts() |
LValue |
getCreatedLValue() |
Expression |
getRValue() |
StructuredStatement |
getStructuredStatement() |
boolean |
isCompound() |
void |
replaceSingleUsageLValues(LValueRewriter lValueRewriter,
SSAIdentifiers ssaIdentifiers) |
void |
rewriteExpressions(ExpressionRewriter expressionRewriter,
SSAIdentifiers ssaIdentifiers) |
addLoc, canThrow, collectLocallyMutatedVariables, collectObjectCreation, doesBlackListLValueReplacement, fallsToNext, getContainer, getLoc, getTargetStatement, outerDeepClone, setContainer, setLifetimeHint, toString, wantsLifetimeHintprivate java.util.List<Statement> statements
public CompoundStatement(BytecodeLoc loc, Statement... statements)
public BytecodeLoc getCombinedLoc()
public void collectLValueAssignments(LValueAssignmentCollector<Statement> lValueAssigmentCollector)
collectLValueAssignments in interface StatementcollectLValueAssignments in class AbstractStatementpublic Statement deepClone(CloneHelper cloneHelper)
public LValue getCreatedLValue()
getCreatedLValue in interface StatementgetCreatedLValue in class AbstractStatementpublic void collectLValueUsage(LValueUsageCollector lValueUsageCollector)
public Expression getRValue()
getRValue in interface StatementgetRValue in class AbstractStatementpublic void replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers)
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers)
public boolean isCompound()
isCompound in interface StatementisCompound in class AbstractStatementpublic java.util.List<Statement> getCompoundParts()
getCompoundParts in interface StatementgetCompoundParts in class AbstractStatementpublic StructuredStatement getStructuredStatement()
public final boolean equivalentUnder(java.lang.Object o,
EquivalenceConstraint constraint)