예제 #1
0
 public virtual S VisitTypeReferenceExpression(TypeReferenceExpression typeReferenceExpression, T data)
 {
     return(VisitChildren(typeReferenceExpression, data));
 }
예제 #2
0
 void IAstVisitor.VisitTypeReferenceExpression(TypeReferenceExpression typeReferenceExpression)
 {
     Visit(EnterTypeReferenceExpression, LeaveTypeReferenceExpression, typeReferenceExpression);
 }
예제 #3
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            TypeReferenceExpression o = other as TypeReferenceExpression;

            return(o != null && this.Type.DoMatch(o.Type, match));
        }
 protected internal TypeReference(NRefactory.TypeReferenceExpression typeReferenceExpression, IScope scope, INRefcatoryExpressionVisitor visitor)
     : base(scope, visitor)
 {
     _typeReferenceExpression = typeReferenceExpression;
     InternalType             = _typeReferenceExpression.Type.AcceptVisitor(Visitor, ParentScope).Type;
 }
 protected internal TypeReference(NRefactory.TypeReferenceExpression typeReferenceExpression, IScope scope, INRefcatoryExpressionVisitor visitor)
     : base(scope, visitor) {
     _typeReferenceExpression = typeReferenceExpression;
     InternalType = _typeReferenceExpression.Type.AcceptVisitor(Visitor, ParentScope).Type;
 }
 public static TypeReference TypeReference(NRefactory.TypeReferenceExpression typeReferenceExpression, IScope scope, INRefcatoryExpressionVisitor visitor)
 {
     return(new TypeReference(typeReferenceExpression, scope, visitor));
 }
 public virtual S VisitTypeReferenceExpression(TypeReferenceExpression typeReferenceExpression, T data)
 {
     throw new NotImplementedException();
 }
예제 #8
0
 public override AstExpression VisitTypeReferenceExpression(NRefactory.TypeReferenceExpression typeReferenceExpression, IScope scope)
 {
     return(AstExpression.TypeReference(typeReferenceExpression, scope, this));
 }