public override Expression InstantiateTemplate(Dictionary <string, TypeName> parameters) { AsTypeExpression result = new AsTypeExpression(this, type.InstantiateTemplate(parameters)); result.SetParent(parent.InstantiateTemplate(parameters)); return(result); }
public IsTypeExpression(ILocation location, TypeName type) : base(location) { inner = new AsTypeExpression(location, type); }
public IsTypeExpression(ILocation location, AsTypeExpression inner) : base(location) { Require.Assigned(inner); this.inner = inner; }