public virtual object TrackedVisitNamedArgumentExpression(NamedArgumentExpression namedArgumentExpression, object data)
 {
     return base.VisitNamedArgumentExpression(namedArgumentExpression, data);
 }
 public override sealed object VisitNamedArgumentExpression(NamedArgumentExpression namedArgumentExpression, object data)
 {
     this.BeginVisit(namedArgumentExpression);
     object result = this.TrackedVisitNamedArgumentExpression(namedArgumentExpression, data);
     this.EndVisit(namedArgumentExpression);
     return result;
 }
 public virtual object VisitNamedArgumentExpression(NamedArgumentExpression namedArgumentExpression, object data)
 {
     Debug.Assert((namedArgumentExpression != null));
     Debug.Assert((namedArgumentExpression.Expression != null));
     return namedArgumentExpression.Expression.AcceptVisitor(this, data);
 }
 public virtual object VisitNamedArgumentExpression(NamedArgumentExpression namedArgumentExpression, object data)
 {
     throw new global::System.NotImplementedException("NamedArgumentExpression");
 }
Beispiel #5
0
        void Argument(out Expression argumentexpr)
        {
            Expression expr;
            argumentexpr = null;
            string name;
            Location startLocation = la.Location;

            if (IsNamedAssign()) {
            Identifier();
            name = t.val;
            Expect(55);
            Expr(out expr);
            argumentexpr = new NamedArgumentExpression(name, expr) { StartLocation = startLocation, EndLocation = t.EndLocation };

            } else if (StartOf(24)) {
            Expr(out argumentexpr);
            } else SynErr(299);
        }
 public virtual object VisitNamedArgumentExpression(NamedArgumentExpression namedArgumentExpression, object data)
 {
     Debug.Assert((namedArgumentExpression != null));
     Debug.Assert((namedArgumentExpression.Expression != null));
     nodeStack.Push(namedArgumentExpression.Expression);
     namedArgumentExpression.Expression.AcceptVisitor(this, data);
     namedArgumentExpression.Expression = ((Expression)(nodeStack.Pop()));
     return null;
 }