示例#1
0
 protected internal TypeAs(NRefactory.AsExpression asExpression, IScope scope, INRefcatoryExpressionVisitor visitor)
     : base(scope, visitor)
 {
     _asExpression = asExpression;
     Expression    = asExpression.Expression.AcceptVisitor(Visitor, ParentScope);
     InternalType  = asExpression.Type.AcceptVisitor(Visitor, ParentScope).Type;
 }
示例#2
0
 public static TypeAs TypeAs(NRefactory.AsExpression asExpression, IScope scope, INRefcatoryExpressionVisitor visitor)
 {
     return(new TypeAs(asExpression, scope, visitor));
 }
 protected internal TypeAs(NRefactory.AsExpression asExpression, IScope scope, INRefcatoryExpressionVisitor visitor)
     : base(scope, visitor) {
     _asExpression = asExpression;
     Expression = asExpression.Expression.AcceptVisitor(Visitor, ParentScope);
     InternalType = asExpression.Type.AcceptVisitor(Visitor, ParentScope).Type;
 }
 public virtual S VisitAsExpression(AsExpression asExpression, T data)
 {
     return(VisitChildren(asExpression, data));
 }
 public virtual S VisitAsExpression(AsExpression asExpression, T data)
 {
     throw new NotImplementedException();
 }
示例#6
0
 public override AstExpression VisitAsExpression(NRefactory.AsExpression asExpression, IScope scope)
 {
     return(AstExpression.TypeAs(asExpression, scope, this));
 }