Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The abstract base class for all PowerShell abstract syntax tree nodes.
public ref class Ast abstract
public abstract class Ast
type Ast = class
Public MustInherit Class Ast
Initialize the common fields of an ast.
The extent in the source this ast represents.
The parent tree for this node.
Duplicates the AST, allowing it to be composed into other ASTs.
Traverse the entire Ast, returning the first node in the tree for which
Traverse the entire Ast, returning all nodes in the tree for which
Constructs the resultant object from the AST and returns it if it is safe.
Formats the ast and returns a string.
Visit each node in the Ast, calling the methods in
Visit the Ast using a visitor that can choose how the tree traversal is performed. This visit method is for advanced uses of the visitor pattern where an AstVisitor is insufficient.