다음을 통해 공유


Parser Class

Definition

The parser that parses PowerShell script and returns a ScriptBlockAst, tokens, and error messages if the script cannot be parsed successfully.

public ref class Parser sealed
public sealed class Parser
type Parser = class
Public NotInheritable Class Parser
Inheritance
Parser

Methods

ParseFile(String, Token[], ParseError[])

Parse input from the specified file.

ParseInput(String, String, Token[], ParseError[])

Parse input that does not come from a file.

ParseInput(String, Token[], ParseError[])

Parse input that does not come from a file.

Applies to