Dela via


AstVisitor Class

Definition

AstVisitor is used for basic scenarios requiring traversal of the nodes in an Ast. An implementation of AstVisitor does not explicitly traverse the Ast, instead, the engine traverses all nodes in the Ast and calls the appropriate method on each node.

public ref class AstVisitor abstract
public abstract class AstVisitor
type AstVisitor = class
Public MustInherit Class AstVisitor
Inheritance
AstVisitor
Derived

Constructors

AstVisitor()

Methods

DefaultVisit(Ast)
VisitArrayExpression(ArrayExpressionAst)
VisitArrayLiteral(ArrayLiteralAst)
VisitAssignmentStatement(AssignmentStatementAst)
VisitAttribute(AttributeAst)
VisitAttributedExpression(AttributedExpressionAst)
VisitBinaryExpression(BinaryExpressionAst)
VisitBlockStatement(BlockStatementAst)
VisitBreakStatement(BreakStatementAst)
VisitCatchClause(CatchClauseAst)
VisitCommand(CommandAst)
VisitCommandExpression(CommandExpressionAst)
VisitCommandParameter(CommandParameterAst)
VisitConstantExpression(ConstantExpressionAst)
VisitContinueStatement(ContinueStatementAst)
VisitConvertExpression(ConvertExpressionAst)
VisitDataStatement(DataStatementAst)
VisitDoUntilStatement(DoUntilStatementAst)
VisitDoWhileStatement(DoWhileStatementAst)
VisitErrorExpression(ErrorExpressionAst)
VisitErrorStatement(ErrorStatementAst)
VisitExitStatement(ExitStatementAst)
VisitExpandableStringExpression(ExpandableStringExpressionAst)
VisitFileRedirection(FileRedirectionAst)
VisitForEachStatement(ForEachStatementAst)
VisitForStatement(ForStatementAst)
VisitFunctionDefinition(FunctionDefinitionAst)
VisitHashtable(HashtableAst)
VisitIfStatement(IfStatementAst)
VisitIndexExpression(IndexExpressionAst)
VisitInvokeMemberExpression(InvokeMemberExpressionAst)
VisitMemberExpression(MemberExpressionAst)
VisitMergingRedirection(MergingRedirectionAst)
VisitNamedAttributeArgument(NamedAttributeArgumentAst)
VisitNamedBlock(NamedBlockAst)
VisitParamBlock(ParamBlockAst)
VisitParameter(ParameterAst)
VisitParenExpression(ParenExpressionAst)
VisitPipeline(PipelineAst)
VisitReturnStatement(ReturnStatementAst)
VisitScriptBlock(ScriptBlockAst)
VisitScriptBlockExpression(ScriptBlockExpressionAst)
VisitStatementBlock(StatementBlockAst)
VisitStringConstantExpression(StringConstantExpressionAst)
VisitSubExpression(SubExpressionAst)
VisitSwitchStatement(SwitchStatementAst)
VisitThrowStatement(ThrowStatementAst)
VisitTrap(TrapStatementAst)
VisitTryStatement(TryStatementAst)
VisitTypeConstraint(TypeConstraintAst)
VisitTypeExpression(TypeExpressionAst)
VisitUnaryExpression(UnaryExpressionAst)
VisitUsingExpression(UsingExpressionAst)
VisitVariableExpression(VariableExpressionAst)
VisitWhileStatement(WhileStatementAst)

Applies to