public static ConstExpr MakeChar(string literal, int line) { return(new ConstExpr(line) { Value = XiLangValue.MakeChar(literal) }); }
public static ConstExpr MakeBool(bool val, int line) { return(new ConstExpr(line) { Value = XiLangValue.MakeBool(val) }); }
public static ConstExpr MakeInt(string literal, int fromBase, int line) { return(new ConstExpr(line) { Value = XiLangValue.MakeInt(literal, fromBase) }); }
public static ConstExpr MakeNull(int line) { return(new ConstExpr(line) { Value = XiLangValue.MakeNull() }); }