Initial implementation of view-hir command

This commit is contained in:
Phil Ellison 2020-12-28 18:29:58 +00:00
parent 1d530756ed
commit 077592a12f
10 changed files with 145 additions and 1 deletions

View file

@ -24,6 +24,7 @@ export interface SyntaxTreeParams {
}
export const syntaxTree = new lc.RequestType<SyntaxTreeParams, string, void>("rust-analyzer/syntaxTree");
export const viewHir = new lc.RequestType<lc.TextDocumentPositionParams, string, void>("rust-analyzer/viewHir");
export interface ExpandMacroParams {
textDocument: lc.TextDocumentIdentifier;