public virtual object VisitMemberInitializerExpression(MemberInitializerExpression memberInitializerExpression, object data) { Debug.Assert((memberInitializerExpression != null)); Debug.Assert((memberInitializerExpression.Expression != null)); return memberInitializerExpression.Expression.AcceptVisitor(this, data); }
public virtual object VisitMemberInitializerExpression(MemberInitializerExpression memberInitializerExpression, object data) { throw new global::System.NotImplementedException("MemberInitializerExpression"); }
public virtual object VisitMemberInitializerExpression(MemberInitializerExpression memberInitializerExpression, object data) { Debug.Assert((memberInitializerExpression != null)); Debug.Assert((memberInitializerExpression.Expression != null)); nodeStack.Push(memberInitializerExpression.Expression); memberInitializerExpression.Expression.AcceptVisitor(this, data); memberInitializerExpression.Expression = ((Expression)(nodeStack.Pop())); return null; }
void MemberInitializer(out MemberInitializerExpression memberInitializer) { memberInitializer = new MemberInitializerExpression(); memberInitializer.StartLocation = la.Location; Expression initExpr = null; bool isKey = false; string name = null; if (la.kind == 147) { Get(); isKey = true; } Expect(26); IdentifierOrKeyword(out name); Expect(20); Expr(out initExpr); memberInitializer.Name = name; memberInitializer.Expression = initExpr; memberInitializer.IsKey = isKey; memberInitializer.EndLocation = t.EndLocation; }
public sealed override object VisitMemberInitializerExpression(MemberInitializerExpression memberInitializerExpression, object data) { this.BeginVisit(memberInitializerExpression); object result = this.TrackedVisitMemberInitializerExpression(memberInitializerExpression, data); this.EndVisit(memberInitializerExpression); return result; }
public virtual object TrackedVisitMemberInitializerExpression(MemberInitializerExpression memberInitializerExpression, object data) { return base.VisitMemberInitializerExpression(memberInitializerExpression, data); }