2 import IR.TypeDescriptor;
4 public class FlatLiteralNode extends FlatNode {
9 public FlatLiteralNode(TypeDescriptor type, Object o, TempDescriptor dst) {
15 public Object getValue() {
19 public String printNode(int indent) {
23 return dst+"="+'"'+escapeString(value.toString())+'"';
25 //return dst+"="+"/*"+getType()+ "*/"+value.toString();
28 private static String escapeString(String st) {
30 for(int i=0;i<st.length();i++) {