protected internal Throw(NRefactory.ThrowStatement throwStatement, IScope scope, INRefcatoryExpressionVisitor visitor) : base(scope, visitor) { _throwStatement = throwStatement; Value = throwStatement.Expression.AcceptVisitor(Visitor, ParentScope); InternalType = TypeSystem.Void; }
S IAstVisitor <T, S> .VisitThrowStatement(ThrowStatement throwStatement, T data) { var handler = ThrowStatementVisited; if (handler != null) { handler(throwStatement, data); } return(VisitChildren(throwStatement, data)); }
void IAstVisitor.VisitThrowStatement(ThrowStatement throwStatement) { Visit(EnterThrowStatement, LeaveThrowStatement, throwStatement); }
public virtual S VisitThrowStatement(ThrowStatement throwStatement, T data) { return(VisitChildren(throwStatement, data)); }
public override void VisitThrowStatement(ThrowStatement throwStatement) { VisitChildren(throwStatement); FixSemicolon(throwStatement.SemicolonToken); }
public static Throw Throw(NRefactory.ThrowStatement throwStatement, IScope scope, INRefcatoryExpressionVisitor visitor) { return(new Throw(throwStatement, scope, visitor)); }
protected internal Throw(NRefactory.ThrowStatement throwStatement, IScope scope, INRefcatoryExpressionVisitor visitor) : base(scope, visitor) { _throwStatement = throwStatement; Value = throwStatement.Expression.AcceptVisitor(Visitor, ParentScope); InternalType = TypeSystem.Void; }
public virtual S VisitThrowStatement(ThrowStatement throwStatement, T data) { throw new NotImplementedException(); }
public override AstExpression VisitThrowStatement(NRefactory.ThrowStatement throwStatement, IScope scope) { return(AstExpression.Throw(throwStatement, scope, this)); }