2019-12-30 14:53:43 +01:00
|
|
|
import { Ctx, Cmd } from '../ctx'
|
|
|
|
|
|
2019-12-30 14:42:59 +01:00
|
|
|
import { analyzerStatus } from './analyzer_status';
|
2019-12-30 15:20:13 +01:00
|
|
|
import { matchingBrace } from './matching_brace';
|
2019-12-30 15:50:15 +01:00
|
|
|
import { joinLines } from './join_lines';
|
2019-12-30 16:43:34 +01:00
|
|
|
import { onEnter } from './on_enter';
|
2019-12-30 17:03:05 +01:00
|
|
|
import { parentModule } from './parent_module';
|
2019-11-18 02:47:50 +08:00
|
|
|
import * as expandMacro from './expand_macro';
|
2019-07-24 19:52:26 +03:00
|
|
|
import * as inlayHints from './inlay_hints';
|
2018-10-08 20:18:55 +02:00
|
|
|
import * as runnables from './runnables';
|
|
|
|
|
import * as syntaxTree from './syntaxTree';
|
|
|
|
|
|
2019-12-30 14:53:43 +01:00
|
|
|
function collectGarbage(ctx: Ctx): Cmd {
|
|
|
|
|
return async () => { ctx.client.sendRequest<null>('rust-analyzer/collectGarbage', null) }
|
|
|
|
|
}
|
|
|
|
|
|
2018-10-08 20:18:55 +02:00
|
|
|
export {
|
2019-01-23 00:15:03 +03:00
|
|
|
analyzerStatus,
|
2019-11-18 02:47:50 +08:00
|
|
|
expandMacro,
|
2018-10-08 20:18:55 +02:00
|
|
|
joinLines,
|
|
|
|
|
matchingBrace,
|
|
|
|
|
parentModule,
|
|
|
|
|
runnables,
|
2018-10-09 16:00:20 +03:00
|
|
|
syntaxTree,
|
2019-07-23 16:38:21 +03:00
|
|
|
onEnter,
|
2019-12-09 20:57:55 +02:00
|
|
|
inlayHints,
|
2019-12-30 14:53:43 +01:00
|
|
|
collectGarbage
|
2018-10-08 20:18:55 +02:00
|
|
|
};
|