public class Aggregator extends BodyTransformer
| Constructor and Description |
|---|
Aggregator(Singletons.Global g) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
internalTransform(Body b,
java.lang.String phaseName,
java.util.Map options)
Traverse the statements in the given body, looking for
aggregation possibilities; that is, given a def d and a use u,
d has no other uses, u has no other defs, collapse d and u.
|
static Aggregator |
v() |
transform, transform, transformpublic Aggregator(Singletons.Global g)
public static Aggregator v()
protected void internalTransform(Body b, java.lang.String phaseName, java.util.Map options)
internalTransform in class BodyTransformerb - the body on which to apply the transformationphaseName - the phasename for this transform; not typically used by implementations.options - the actual computed options; a combination of default options and Scene specified options.Copyright © 2012-2019 RoboVM AB. All Rights Reserved.