Exemple #1
0
 public StringType(StringType node)
 {
     val = node.val;
 }
Exemple #2
0
 public static StringType Read()
 {
     StringType ret = new StringType();
     ret.Read();
     return ret;
 }
Exemple #3
0
 public static IntType ToInt(StringType str)
 {
     return new IntType(Int32.Parse(str.strval));
 }
Exemple #4
0
 public static void Print(StringType fmt, TypeBase p)
 {
     p.Print(fmt.strval);
 }