public class CompoundStatement extends AbstractStatement
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(Object o,
EquivalenceConstraint constraint) |
BytecodeLoc |
getCombinedLoc() |
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, wantsLifetimeHint
public CompoundStatement(BytecodeLoc loc, Statement... statements)
public BytecodeLoc getCombinedLoc()
public void collectLValueAssignments(LValueAssignmentCollector<Statement> lValueAssigmentCollector)
collectLValueAssignments
in interface Statement
collectLValueAssignments
in class AbstractStatement
public Statement deepClone(CloneHelper cloneHelper)
public LValue getCreatedLValue()
getCreatedLValue
in interface Statement
getCreatedLValue
in class AbstractStatement
public void collectLValueUsage(LValueUsageCollector lValueUsageCollector)
public Expression getRValue()
getRValue
in interface Statement
getRValue
in class AbstractStatement
public void replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers)
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers)
public boolean isCompound()
isCompound
in interface Statement
isCompound
in class AbstractStatement
public List<Statement> getCompoundParts()
getCompoundParts
in interface Statement
getCompoundParts
in class AbstractStatement
public StructuredStatement getStructuredStatement()
public final boolean equivalentUnder(Object o, EquivalenceConstraint constraint)
Copyright © 2011-2021. All Rights Reserved.