This topic has not yet been rated - Rate this topic

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)
'Usage
Dim instance As Ast
Dim astVisitor As ICustomAstVisitor
Dim returnValue As Object

returnValue = instance.Visit(astVisitor)
public Object Visit (
	ICustomAstVisitor astVisitor
)
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 Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.