public Literal(CodeRange pos, LaxType type, object val) : base(ExprType.Literal) { this.CodeRange = pos; this.ValueType = type; this.Value = val; }
public Literal GetLiteral(CodeRange pos) { var type = new LaxType(DataType.Unit, new Unit(Name)); return new Literal(pos, type, null); }