spiglet.util
Class SpigletTreeCreator
java.lang.Object
spiglet.util.SpigletTreeCreator
public final class SpigletTreeCreator
- extends java.lang.Object
A utility class to quickly create instances of a Spiglet subtree.
- Author:
- Santoso Wijaya
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpigletTreeCreator
public SpigletTreeCreator()
createCallExp
public static Exp createCallExp(SimpleExp exp,
NodeListOptional temps)
createHAllocateExp
public static Exp createHAllocateExp(SimpleExp exp)
wrapExp
public static Exp wrapExp(SimpleExp simple)
createTempExp
public static SimpleExp createTempExp(SpigletTemp temp)
createLabelExp
public static SimpleExp createLabelExp(SpigletLabel label)