Exemplo 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);
        }
Exemplo n.º 2
0
 public IsTypeExpression(ILocation location, TypeName type)
     : base(location)
 {
     inner = new AsTypeExpression(location, type);
 }
Exemplo n.º 3
0
 public IsTypeExpression(ILocation location, AsTypeExpression inner)
     : base(location)
 {
     Require.Assigned(inner);
     this.inner = inner;
 }