public virtual object VisitThrowStatement(ThrowStatement throwStatement, object data) { Debug.Assert((throwStatement != null)); Debug.Assert((throwStatement.Expression != null)); return throwStatement.Expression.AcceptVisitor(this, data); }
public virtual object VisitThrowStatement(ThrowStatement throwStatement, object data) { Debug.Assert((throwStatement != null)); Debug.Assert((throwStatement.Expression != null)); nodeStack.Push(throwStatement.Expression); throwStatement.Expression.AcceptVisitor(this, data); throwStatement.Expression = ((Expression)(nodeStack.Pop())); return null; }
public virtual object VisitThrowStatement(ThrowStatement throwStatement, object data) { throw new global::System.NotImplementedException("ThrowStatement"); }
void ThrowStatement(out Statement statement) { Expression expr = null; Expect(215); if (StartOf(24)) { Expr(out expr); } statement = new ThrowStatement(expr); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { ThrowStatement o = other as ThrowStatement; return(o != null && this.Expression.DoMatch(o.Expression, match)); }
public sealed override object VisitThrowStatement(ThrowStatement throwStatement, object data) { this.BeginVisit(throwStatement); object result = this.TrackedVisitThrowStatement(throwStatement, data); this.EndVisit(throwStatement); return result; }
public virtual object TrackedVisitThrowStatement(ThrowStatement throwStatement, object data) { return base.VisitThrowStatement(throwStatement, data); }
public override object VisitThrowStatement(ThrowStatement throwStatement, object data) { CodeThrowExceptionStatement throwStmt = new CodeThrowExceptionStatement((CodeExpression)throwStatement.Expression.AcceptVisitor(this, data)); // Add Statement to Current Statement Collection AddStmt(throwStmt); return throwStmt; }