public DekiScriptExpression Visit(DekiScriptReturn expr, DekiScriptExpressionEvaluationState state) { return(DekiScriptExpression.ReturnStatement(expr.Location, expr.Value.VisitWith(this, state))); }
public DekiScriptOutputBuffer.Range Visit(DekiScriptReturn expr, DekiScriptExpressionEvaluationState state) { var value = state.Pop(expr.Value.VisitWith(this, state)); throw new DekiScriptReturnException(expr.Location, value); }