| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| using System.Management.Automation.Language; | |
| using BenchmarkDotNet.Attributes; | |
| using MicroBenchmarks; | |
| namespace Engine | |
| { | |
| [] | |
| public class Parsing | |
| { | |
| [] | |
| public Ast UsingStatement() | |
| { | |
| const string Script = @" | |
| using module moduleA | |
| using Assembly assemblyA | |
| using namespace System.IO"; | |
| return Parser.ParseInput(Script, out _, out _); | |
| } | |
| } | |
| } | |