Ejemplo n.º 1
0
        public override Expression InstantiateTemplate(Dictionary <string, TypeName> parameters)
        {
            AsTypeExpression result = new AsTypeExpression(this, type.InstantiateTemplate(parameters));

            result.SetParent(parent.InstantiateTemplate(parameters));
            return(result);
        }
Ejemplo n.º 2
0
 public IsTypeExpression(ILocation location, TypeName type)
     : base(location)
 {
     inner = new AsTypeExpression(location, type);
 }
Ejemplo n.º 3
0
 public IsTypeExpression(ILocation location, AsTypeExpression inner)
     : base(location)
 {
     Require.Assigned(inner);
     this.inner = inner;
 }