System.Management.Pash.Implementation.ExecutionVisitor.VisitBreakStatement C# (CSharp) Method

VisitBreakStatement() public method

public VisitBreakStatement ( System.Management.Automation.Language.BreakStatementAst breakStatementAst ) : AstVisitAction
breakStatementAst System.Management.Automation.Language.BreakStatementAst
return AstVisitAction
        public override AstVisitAction VisitBreakStatement(BreakStatementAst breakStatementAst)
        {
            var label = breakStatementAst.Label == null ? null : EvaluateAst(breakStatementAst.Label, false);
            throw new BreakException(LanguagePrimitives.ConvertTo<string>(label));
        }
ExecutionVisitor