AstToXamlConverter Class

Definition

Converts a PowerShell AST into the workflow XAML that represents it.

public ref class AstToXamlConverter : System::Management::Automation::Language::ICustomAstVisitor
public class AstToXamlConverter : System.Management.Automation.Language.ICustomAstVisitor
type AstToXamlConverter = class
    interface ICustomAstVisitor
Public Class AstToXamlConverter
Implements ICustomAstVisitor
Inheritance
AstToXamlConverter
Implements

Methods

Convert(FunctionDefinitionAst, PSModuleInfo, List<String>, Dictionary<String,ParameterAst>, WorkflowInfo[], Dictionary<String,String>, String)

Converts a PowerShell AST into the XAML that represents it, also returning the cmdlet attribute string for the workflow.

Convert(String, String, InitialSessionState)
ToString()

Returns the XAML result of the AST compilation

Validate(FunctionDefinitionAst)

Validates a PowerShell AST as a valid workflow.

Explicit Interface Implementations

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

Applies to