Esempio n. 1
0
    public System.Object VisitContinueStatement(System.Management.Automation.Language.ContinueStatementAst continueStatementAst)
    {
        IScriptExtent mappedExtent = MapExtent(continueStatementAst.Extent);

        ExpressionAst mappedLabel = _VisitExpression(continueStatementAst.Label);

        return(new ContinueStatementAst(mappedExtent, mappedLabel));
    }
Esempio n. 2
0
 public override AstVisitAction VisitContinueStatement(ContinueStatementAst ast) { return CheckParent(ast); }
Esempio n. 3
0
 public object VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     return(false);
 }
Esempio n. 4
0
 public object VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     throw PSTraceSource.NewArgumentException("ast");
 }
Esempio n. 5
0
 public override AstVisitAction VisitContinueStatement(ContinueStatementAst ast)
 {
     return(Check(ast));
 }
Esempio n. 6
0
 public override AstVisitAction VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     this.CheckForFlowOutOfFinally(continueStatementAst, GetLabel(continueStatementAst.Label));
     return(AstVisitAction.Continue);
 }
Esempio n. 7
0
 public virtual AstVisitAction VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     return AstVisitAction.Continue;
 }
Esempio n. 8
0
 public override AstVisitAction VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     return AstVisitAction.SkipChildren;
 }
 public override AstVisitAction VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     this.ReportError(continueStatementAst, () => ParserStrings.FlowControlStatementNotSupportedInDataSection, new object[0]);
     return(AstVisitAction.Continue);
 }
 public object VisitContinueStatement(ContinueStatementAst continueStatementAst) { throw new UnexpectedElementException(); }
Esempio n. 11
0
        public override AstVisitAction VisitContinueStatement(ContinueStatementAst continueStatementAst)
        {
            string label = GetLabel(continueStatementAst.Label);
            CheckForFlowOutOfFinally(continueStatementAst, label);
            CheckLabelExists(continueStatementAst, label);

            return AstVisitAction.Continue;
        }
Esempio n. 12
0
 /// <summary/>
 public virtual AstVisitAction VisitContinueStatement(ContinueStatementAst continueStatementAst) => DefaultVisit(continueStatementAst);
Esempio n. 13
0
 public object VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     return this.GenerateBreakOrContinue(continueStatementAst, continueStatementAst.Label, lgt => lgt.ContinueLabel, new Func<LabelTarget, Expression>(Expression.Continue), CachedReflectionInfo.ContinueException_ctor);
 }
Esempio n. 14
0
 public override AstVisitAction VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     this.CheckForFlowOutOfFinally(continueStatementAst, GetLabel(continueStatementAst.Label));
     return AstVisitAction.Continue;
 }
Esempio n. 15
0
 /// <summary/>
 public virtual object VisitContinueStatement(ContinueStatementAst continueStatementAst) { return null; }
Esempio n. 16
0
 public override AstVisitAction VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     var label = continueStatementAst.Label == null ? null : EvaluateAst(continueStatementAst.Label, false);
     throw new ContinueException(LanguagePrimitives.ConvertTo<string>(label));
 }
Esempio n. 17
0
 public override AstVisitAction VisitContinueStatement(ContinueStatementAst ast)
 {
     return this.Check(ast);
 }
Esempio n. 18
0
 public object VisitContinueStatement(ContinueStatementAst continueStatementAst) { return AutomationNull.Value; }
Esempio n. 19
0
 public override AstVisitAction VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     throw new NotImplementedException(); //VisitContinueStatement(continueStatementAst);
 }
Esempio n. 20
0
 public object VisitContinueStatement(ContinueStatementAst continueStatementAst) { throw PSTraceSource.NewArgumentException("ast"); }
Esempio n. 21
0
 public object VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     this.BreakOrContinue(continueStatementAst.Label, t => t.ContinueTarget);
     return(null);
 }
Esempio n. 22
0
 public object VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     return GenerateBreakOrContinue(continueStatementAst, continueStatementAst.Label, lgt => lgt.ContinueLabel, Expression.Continue,
                                    CachedReflectionInfo.ContinueException_ctor);
 }
Esempio n. 23
0
 /// <summary/>
 public virtual object VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     return(null);
 }
Esempio n. 24
0
 public override AstVisitAction VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     this.ReportError(continueStatementAst, () => ParserStrings.FlowControlStatementNotSupportedInDataSection, new object[0]);
     return AstVisitAction.Continue;
 }
Esempio n. 25
0
 public object VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     return false;
 }
        /// <summary>
        /// Visit continue statement
        /// </summary>
        /// <param name="continueStatementAst"></param>
        /// <returns></returns>
        public object VisitContinueStatement(ContinueStatementAst continueStatementAst)
        {
            if (continueStatementAst == null) return null;

            BreakOrContinue(continueStatementAst.Label, t => t.ContinueTarget);
            return null;
        }
Esempio n. 27
0
 /// <summary/>
 public virtual AstVisitAction VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     return(AstVisitAction.Continue);
 }
 /// <summary/>
 public virtual object VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     return _decorated.VisitContinueStatement(continueStatementAst);
 }
Esempio n. 29
0
 public object VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     return(AutomationNull.Value);
 }
 public object VisitContinueStatement(ContinueStatementAst continueStatementAst)
 {
     throw new NotImplementedException();
 }