Skip to content

Commit 78263f8

Browse files
committed
Moved the ParsePas enum out of the IParseTreeInspection to the ParseRunners.
1 parent 944e0d2 commit 78263f8

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

Rubberduck.Parsing/Inspections/Abstract/IParseTreeInspection.cs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
namespace Rubberduck.Parsing.Inspections.Abstract
2-
{
3-
public enum ParsePass
4-
{
5-
AttributesPass,
6-
CodePanePass,
7-
}
1+
using Rubberduck.Parsing.VBA;
82

3+
namespace Rubberduck.Parsing.Inspections.Abstract
4+
{
95
public interface IParseTreeInspection : IInspection
106
{
117
ParsePass Pass { get; }

Rubberduck.Parsing/Rubberduck.Parsing.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@
154154
<Compile Include="Inspections\Abstract\IInspector.cs" />
155155
<Compile Include="Inspections\Abstract\IParseTreeInspection.cs" />
156156
<Compile Include="Inspections\Abstract\IQuickFix.cs" />
157+
<Compile Include="VBA\ParsePass.cs" />
157158
<Compile Include="Inspections\CannotAnnotateAttribute.cs" />
158159
<Compile Include="Inspections\RequiredLibraryAttribute.cs" />
159160
<Compile Include="Inspections\Resources\CodeInspectionSeverity.cs" />

Rubberduck.Parsing/VBA/ParsePass.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace Rubberduck.Parsing.VBA
2+
{
3+
public enum ParsePass
4+
{
5+
AttributesPass,
6+
CodePanePass,
7+
}
8+
}

0 commit comments

Comments
 (0)