public override AstVisitAction VisitBlockStatement(BlockStatementAst blockStatementAst) { if (!blockStatementAst.IsInWorkflow()) { this._parser.ReportError(blockStatementAst.Kind.Extent, ParserStrings.UnexpectedKeyword, new object[] { blockStatementAst.Kind.Text }); } return(AstVisitAction.Continue); }
public System.Object VisitBlockStatement(System.Management.Automation.Language.BlockStatementAst blockStatementAst) { IScriptExtent mappedExtent = MapExtent(blockStatementAst.Extent); StatementBlockAst mappedBody = (StatementBlockAst)VisitStatementBlock(blockStatementAst.Body); return(new BlockStatementAst(mappedExtent, blockStatementAst.Kind, mappedBody)); }
/// <summary/> public virtual object VisitBlockStatement(BlockStatementAst blockStatementAst) { return _decorated.VisitBlockStatement(blockStatementAst); }
/// <summary> /// Visit Block Statement /// </summary> /// <param name="blockStatementAst"></param> /// <returns></returns> public object VisitBlockStatement(BlockStatementAst blockStatementAst) { if (blockStatementAst == null) return null; blockStatementAst.Body.Visit(this.Decorator); return null; }
public override AstVisitAction VisitBlockStatement(BlockStatementAst ast) { return Check(ast); }
public object VisitBlockStatement(BlockStatementAst blockStatementAst) { return(false); }
public object VisitBlockStatement(BlockStatementAst blockStatementAst) { throw PSTraceSource.NewArgumentException("ast"); }
public override AstVisitAction VisitBlockStatement(BlockStatementAst ast) { return(Check(ast)); }
public object VisitBlockStatement(BlockStatementAst blockStatementAst) { return AutomationNull.Value; }
public override AstVisitAction VisitBlockStatement(BlockStatementAst blockStatementAst) { this.ReportError(blockStatementAst, () => ParserStrings.ParallelAndSequenceBlockNotSupportedInDataSection, new object[0]); return(AstVisitAction.Continue); }
public object VisitBlockStatement(BlockStatementAst blockStatementAst) { throw new UnexpectedElementException(); }
public override AstVisitAction VisitBlockStatement(BlockStatementAst blockStatementAst) { // Keyword blocks are not allowed ReportError(blockStatementAst, () => ParserStrings.ParallelAndSequenceBlockNotSupportedInDataSection); return AstVisitAction.Continue; }
public override AstVisitAction VisitBlockStatement(BlockStatementAst blockStatementAst) { if (blockStatementAst.IsInWorkflow()) { return AstVisitAction.Continue; } _parser.ReportError(blockStatementAst.Kind.Extent, () => ParserStrings.UnexpectedKeyword, blockStatementAst.Kind.Text); return AstVisitAction.Continue; }
/// <summary/> public virtual AstVisitAction VisitBlockStatement(BlockStatementAst blockStatementAst) => DefaultVisit(blockStatementAst);
public override AstVisitAction VisitBlockStatement(BlockStatementAst blockStatementAst) { if (!blockStatementAst.IsInWorkflow()) { this._parser.ReportError(blockStatementAst.Kind.Extent, ParserStrings.UnexpectedKeyword, new object[] { blockStatementAst.Kind.Text }); } return AstVisitAction.Continue; }
public object VisitBlockStatement(BlockStatementAst blockStatementAst) { blockStatementAst.Body.Accept(this); return(null); }
public virtual AstVisitAction VisitBlockStatement(BlockStatementAst blockStatementAst) { return AstVisitAction.Continue; }
/// <summary/> public virtual object VisitBlockStatement(BlockStatementAst blockStatementAst) { return(null); }
public object VisitBlockStatement(BlockStatementAst blockStatementAst) { return null; }
public object VisitBlockStatement(BlockStatementAst blockStatementAst) { return false; }
public override AstVisitAction VisitBlockStatement(BlockStatementAst blockStatementAst) { this.ReportError(blockStatementAst, () => ParserStrings.ParallelAndSequenceBlockNotSupportedInDataSection, new object[0]); return AstVisitAction.Continue; }
/// <summary/> public virtual AstVisitAction VisitBlockStatement(BlockStatementAst blockStatementAst) { return(AstVisitAction.Continue); }
public object VisitBlockStatement(BlockStatementAst blockStatementAst) { blockStatementAst.Body.Accept(this); return null; }
public object VisitBlockStatement(BlockStatementAst blockStatementAst) { return(AutomationNull.Value); }
public object VisitBlockStatement(BlockStatementAst blockStatementAst) { throw new NotImplementedException(); }