Example #1
0
 public static ConstExpr MakeChar(string literal, int line)
 {
     return(new ConstExpr(line)
     {
         Value = XiLangValue.MakeChar(literal)
     });
 }
Example #2
0
 public static ConstExpr MakeBool(bool val, int line)
 {
     return(new ConstExpr(line)
     {
         Value = XiLangValue.MakeBool(val)
     });
 }
Example #3
0
 public static ConstExpr MakeInt(string literal, int fromBase, int line)
 {
     return(new ConstExpr(line)
     {
         Value = XiLangValue.MakeInt(literal, fromBase)
     });
 }
Example #4
0
 public static ConstExpr MakeNull(int line)
 {
     return(new ConstExpr(line)
     {
         Value = XiLangValue.MakeNull()
     });
 }