Share via


ICustomAstVisitor.VisitTrap(TrapStatementAst) Method

Definition

public:
 System::Object ^ VisitTrap(System::Management::Automation::Language::TrapStatementAst ^ trapStatementAst);
public object VisitTrap (System.Management.Automation.Language.TrapStatementAst trapStatementAst);
public virtual object VisitTrap (System.Management.Automation.Language.TrapStatementAst trapStatementAst);
public virtual object? VisitTrap (System.Management.Automation.Language.TrapStatementAst trapStatementAst);
abstract member VisitTrap : System.Management.Automation.Language.TrapStatementAst -> obj
abstract member VisitTrap : System.Management.Automation.Language.TrapStatementAst -> obj
override this.VisitTrap : System.Management.Automation.Language.TrapStatementAst -> obj
Public Function VisitTrap (trapStatementAst As TrapStatementAst) As Object
Public Overridable Function VisitTrap (trapStatementAst As TrapStatementAst) As Object

Parameters

trapStatementAst
TrapStatementAst

Returns

Applies to