LoopStatementAst LoopStatementAst LoopStatementAst Class

Definition

An abstract base class for looping statements including a the do/while statement, the do/until statement, the foreach statement, the for statement, and the while statement.

public abstract class LoopStatementAst : System.Management.Automation.Language.LabeledStatementAst
type LoopStatementAst = class
    inherit LabeledStatementAst
Public MustInherit Class LoopStatementAst
Inherits LabeledStatementAst
Inheritance
Derived

Constructors

LoopStatementAst(IScriptExtent, String, PipelineBaseAst, StatementBlockAst) LoopStatementAst(IScriptExtent, String, PipelineBaseAst, StatementBlockAst) LoopStatementAst(IScriptExtent, String, PipelineBaseAst, StatementBlockAst)

Initialize the properties common to all loop statements.

Properties

Body Body Body

The body of a loop statement. This property is never null.

Condition Condition Condition Inherited from LabeledStatementAst
Extent Extent Extent Inherited from Ast
Label Label Label Inherited from LabeledStatementAst
Parent Parent Parent Inherited from Ast

Methods

Copy() Copy() Copy() Inherited from Ast
Find(Func<Ast,Boolean>, Boolean) Find(Func<Ast,Boolean>, Boolean) Find(Func<Ast,Boolean>, Boolean) Inherited from Ast
FindAll(Func<Ast,Boolean>, Boolean) FindAll(Func<Ast,Boolean>, Boolean) FindAll(Func<Ast,Boolean>, Boolean) Inherited from Ast
SafeGetValue() SafeGetValue() SafeGetValue() Inherited from Ast
ToString() ToString() ToString() Inherited from Ast
Visit(AstVisitor) Visit(AstVisitor) Visit(AstVisitor) Inherited from Ast
Visit(ICustomAstVisitor) Visit(ICustomAstVisitor) Visit(ICustomAstVisitor) Inherited from Ast

Applies to