public VarDeclarationValue(SourceCodePosition pos, BTypeValue t, string id, LiteralValue v) : base(pos, t, id, v) { if (!v.GetBType().IsImplicitCastableTo(t)) { throw new ImplicitCastException(pos, v.GetBType(), t); } }
public VarDeclarationValue(SourceCodePosition pos, BTypeValue t, string id) : base(pos, t, id, null) { }