PredictionContext(Ast, Token[]) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PredictionContext class from the AST and tokens that represent the user input.
public PredictionContext (System.Management.Automation.Language.Ast inputAst, System.Management.Automation.Language.Token[] inputTokens);
new System.Management.Automation.Subsystem.Prediction.PredictionContext : System.Management.Automation.Language.Ast * System.Management.Automation.Language.Token[] -> System.Management.Automation.Subsystem.Prediction.PredictionContext
Public Sub New (inputAst As Ast, inputTokens As Token())