Ast.Visit Method (ICustomAstVisitor)
Visits an abstract syntax tree using a visitor that can choose how the tree traversal is performed.
Namespace: System.Management.Automation.Language
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Namespace: System.Management.Automation.Language
Assembly: System.Management.Automation (in System.Management.Automation.dll)
public Object Visit ( ICustomAstVisitor astVisitor )
public function Visit ( astVisitor : ICustomAstVisitor ) : Object
Parameters
- astVisitor
The visitor to the abstract syntax tree.
Return Value
Returns the value returned by the visitor.This visit method is for advanced uses of the visitor pattern where an AstVisitor is insufficient.
Any public static (
Shared
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Target Platforms
Windows Developer Preview, Windows Server Developer PreviewSend comments about this topic to Microsoft.