Skip to content

Reuse trees#9295

Merged
mhegazy merged 2 commits into
tsserverVS-WIPfrom
reuseTrees
Jun 21, 2016
Merged

Reuse trees#9295
mhegazy merged 2 commits into
tsserverVS-WIPfrom
reuseTrees

Conversation

@mhegazy
Copy link
Copy Markdown
Contributor

@mhegazy mhegazy commented Jun 21, 2016

Use document registry to get sourceFiles in SyntaxTreeCache to share trees between semantic and syntactic operations

@vladima can you take a look

Comment thread src/services/services.ts
let currentScriptKind: ScriptKind;
let currentCompilerOptions: CompilerOptions;
return {
getCurrentSourceFile: function (fileName: string) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: method syntax

@vladima
Copy link
Copy Markdown
Contributor

vladima commented Jun 21, 2016

👍

@mhegazy mhegazy merged commit 9763dc8 into tsserverVS-WIP Jun 21, 2016
@mhegazy mhegazy deleted the reuseTrees branch June 21, 2016 23:52
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants