Ast Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents the abstract base class for all PowerShell abstract syntax tree nodes. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation.Language
Assembly:  System.Management.Automation (in System.Management.Automation.dll)


public abstract class Ast

NameDescription
System_CAPS_protmethodAst(IScriptExtent)

Initializes the common fields of an abstract syntax tree. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubpropertyExtent

Gets the extent in the source that this abstract syntax tree represents. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyParent

Gets the parent tree for this node. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubmethodCopy()

Copies the Ast instance. Introduced in Windows PowerShell 4.0.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFind(Func<Ast, Boolean>, Boolean)

Retrieves the first node in the abstract syntax tree that matches the search predicate. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodFindAll(Func<Ast, Boolean>, Boolean)

Retrieves all nodes in the abstract syntax tree that match the search predicate. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSafeGetValue()

Constructs the resultant object from the AST and returns it if it is safe.

System_CAPS_pubmethodToString()

Formats an abstract syntax tree and returns a string. Introduced in Windows PowerShell 3.0.(Overrides Object.ToString().)

System_CAPS_pubmethodVisit(AstVisitor)

Visits each node in an abstract syntax tree, calling the methods in the visitor for each node in the abstract syntax tree. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodVisit(ICustomAstVisitor)

Visits an abstract syntax tree using a visitor that can choose how the tree traversal is performed. Introduced in Windows PowerShell 3.0.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: