blob: b19679854b3a4ac14e575d78b1f93a082b86e3ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package lionel2;
import io.devnulllabs.openjava.mop.*;
import io.devnulllabs.openjava.ptree.*;
public class Printer instantiates Metaclass extends OJClass {
public void translateDefinition() throws MOPException {
System.out.println("translateDefinition() of " + getName());
}
public Expression expandAllocation(
Environment env,
AllocationExpression expr) {
System.out.println(
"expandAllocation() of " + getName() + " for " + expr.toString());
return expr;
}
}
|