-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from OmniSharp/nullref-fail
fixed issue with non object JTokens in resolve command matcher. Dete…
- Loading branch information
Showing
8 changed files
with
142 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace OmniSharp.Extensions.LanguageServer.Server.Abstractions | ||
{ | ||
public interface IHandlerPreProcessor | ||
{ | ||
/// <summary> | ||
/// Does post processing for a request of descriptor type | ||
/// </summary> | ||
/// <param name="descriptor">The descriptor.</param> | ||
/// <param name="parameters">The parameters.</param> | ||
/// <returns></returns> | ||
object Process(ILspHandlerDescriptor descriptor, object parameters); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace OmniSharp.Extensions.LanguageServer.Server.Abstractions | ||
{ | ||
public interface IHandlerPreProcessorMatcher | ||
{ | ||
/// <summary> | ||
/// Finds any postproessor for a given descriptor and response | ||
/// </summary> | ||
/// <param name="descriptor">The descriptor.</param> | ||
/// <param name="parameters">The parameters.</param> | ||
/// <param name="response">The response.</param> | ||
/// <returns></returns> | ||
IEnumerable<IHandlerPreProcessor> FindPreProcessor(ILspHandlerDescriptor descriptor, object parameters); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters