Dela via


AstToWorkflowConverter Class

Definition

Converts a PowerShell AST into a function that invokes the corresponding script as a workflow job.

public ref class AstToWorkflowConverter sealed : System::Management::Automation::Internal::IAstToWorkflowConverter
public sealed class AstToWorkflowConverter : System.Management.Automation.Internal.IAstToWorkflowConverter
type AstToWorkflowConverter = class
    interface IAstToWorkflowConverter
Public NotInheritable Class AstToWorkflowConverter
Implements IAstToWorkflowConverter
Inheritance
AstToWorkflowConverter
Implements

Constructors

AstToWorkflowConverter()

Methods

CompileWorkflow(String, String, InitialSessionState)

Compile a single workflow from it's definition as a string.

CompileWorkflows(ScriptBlockAst, PSModuleInfo, InitialSessionState, Nullable<PSLanguageMode>, ParseException)

Converts a PowerShell AST into a script block that represents the workflow to run.

CompileWorkflows(ScriptBlockAst, PSModuleInfo, InitialSessionState, ParseException, String)

Converts a PowerShell AST into a script block that represents the workflow to run.

CompileWorkflows(ScriptBlockAst, PSModuleInfo, InitialSessionState, ParseException)

Converts a PowerShell AST into a script block that represents the workflow to run.

CompileWorkflows(ScriptBlockAst, PSModuleInfo, String)

Converts a PowerShell AST into a script block that represents the workflow to run.

CompileWorkflows(ScriptBlockAst, PSModuleInfo)

Converts a PowerShell AST into a script block that represents the workflow to run.

GetActivityParameters(CommandAst)

Returns the parameters of the activity called by the commandAst.

ValidateAst(FunctionDefinitionAst)

Provides the opportunity for job converters to validate the semantics of the AST before compilation. This stage should be light-weight and as efficient as possible.

Applies to