public override Type VisitBvTypeProxy(BvTypeProxy node) { //Contract.Requires(node != null); Contract.Ensures(Contract.Result <Type>() != null); if (node.ProxyFor != null) { return(base.VisitBvTypeProxy(node)); } return(Instantiate(node, new BvType(node.MinBits))); }
public virtual Type VisitBvTypeProxy(BvTypeProxy node) { Contract.Requires(node != null); Contract.Ensures(Contract.Result <Type>() != null); // if the type proxy is instantiated with some more // specific type, we visit the instantiation if (node.ProxyFor != null) { return((Type)this.Visit(node.ProxyFor)); } return(this.VisitType(node)); }
public override Type VisitBvTypeProxy(BvTypeProxy node) { Contract.Ensures(Contract.Result<Type>() == node); // if the type proxy is instantiated with some more // specific type, we visit the instantiation if (node.ProxyFor != null) this.Visit(node.ProxyFor); return this.VisitType(node); }
public virtual Type VisitBvTypeProxy(BvTypeProxy node) { Contract.Requires(node != null); Contract.Ensures(Contract.Result<Type>() != null); // if the type proxy is instantiated with some more // specific type, we visit the instantiation if (node.ProxyFor != null) return (Type)this.Visit(node.ProxyFor); return this.VisitType(node); }
public override Type VisitBvTypeProxy(BvTypeProxy node) { //Contract.Requires(node != null); Contract.Ensures(Contract.Result<Type>() != null); if (node.ProxyFor != null) return base.VisitBvTypeProxy(node); return Instantiate(node, new BvType(node.MinBits)); }
public override Type VisitBvTypeProxy(BvTypeProxy node) { problematicNode = node; return(node); }