Skip to content

Commit 6b0c56a

Browse files
committed
removed unused InterfaceImplementationListener and commented-out deadcode in VBProjectParseResult
1 parent a2b52c8 commit 6b0c56a

File tree

4 files changed

+0
-44
lines changed

4 files changed

+0
-44
lines changed

Rubberduck.Parsing/Rubberduck.Parsing.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
<Compile Include="Grammar\VBAVisitor.cs" />
6767
<Compile Include="IParseResultProvider.cs" />
6868
<Compile Include="IRubberduckParser.cs" />
69-
<Compile Include="Symbols\InterfaceImplementationListener.cs" />
7069
<Compile Include="Symbols\ExceptionErrorListener.cs" />
7170
<Compile Include="Symbols\IdentifierReferenceResolver.cs" />
7271
<Compile Include="Symbols\SyntaxErrorException.cs" />

Rubberduck.Parsing/Symbols/IdentifierReferenceResolver.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4-
using System.Text;
54
using Antlr4.Runtime;
65
using Rubberduck.Parsing.Grammar;
76
using Rubberduck.VBEditor;

Rubberduck.Parsing/Symbols/InterfaceImplementationListener.cs

Lines changed: 0 additions & 25 deletions
This file was deleted.

Rubberduck.Parsing/VBProjectParseResult.cs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,6 @@ private void OnProgress(VBComponentParseResult result)
4545

4646
public void Resolve()
4747
{
48-
// make a first pass to identify all interface implementations - resolver needs this to disembiguate members.
49-
//foreach (var componentParseResult in _parseResults)
50-
//{
51-
// try
52-
// {
53-
// var resolver = new IdentifierReferenceResolver(componentParseResult.QualifiedName, _declarations);
54-
// var listener = new InterfaceImplementationListener(resolver);
55-
// var walker = new ParseTreeWalker();
56-
// walker.Walk(listener, componentParseResult.ParseTree);
57-
// }
58-
// catch (WalkerCancelledException)
59-
// {
60-
// // exception is purposely thrown when walker exits the module's declarations section.
61-
// }
62-
//}
63-
64-
// second pass; resolve all identifier usages
6548
foreach (var componentParseResult in _parseResults)
6649
{
6750
OnProgress(componentParseResult);

0 commit comments

Comments
 (0)