kanga.util
Class KangaTreeCreator

java.lang.Object
  extended by kanga.util.KangaTreeCreator

public class KangaTreeCreator
extends java.lang.Object

A utility class that helps instantiate a Kanga subtree.

Author:
Santoso Wijaya

Constructor Summary
KangaTreeCreator()
           
 
Method Summary
static Exp createHAllocateExp(SimpleExp exp)
           
static SimpleExp createIntegerLiteralExp(int literal)
           
static SimpleExp createLabelExp(KangaLabel label)
           
static SimpleExp createRegExp(KangaReg reg)
           
static Exp wrapExp(SimpleExp simple)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KangaTreeCreator

public KangaTreeCreator()
Method Detail

createHAllocateExp

public static Exp createHAllocateExp(SimpleExp exp)

wrapExp

public static Exp wrapExp(SimpleExp simple)

createIntegerLiteralExp

public static SimpleExp createIntegerLiteralExp(int literal)

createRegExp

public static SimpleExp createRegExp(KangaReg reg)

createLabelExp

public static SimpleExp createLabelExp(KangaLabel label)