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