Skip to content

Add the ability to get TypeScript.SyntaxTree from LanguageService #438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

bashor
Copy link

@bashor bashor commented Aug 12, 2014

No description provided.

@CyrusNajmabadi
Copy link
Contributor

We are still working on plan on how we'll be exposing pieces of compiler data.

Could you let us know what you want to use the syntax tree for?

Thanks!

@mhegazy
Copy link
Contributor

mhegazy commented Aug 13, 2014

As @CyrusNajmabadi noted we are not ready to expose the compiler internal structures yet. we will be working on this during the TypeScript 1.2 time frame.

@mhegazy mhegazy closed this Aug 13, 2014
@bashor
Copy link
Author

bashor commented Aug 13, 2014

Hi!

Right now I want get SourceUnitSyntax for a file. Unfortunately I didn't find another legal way to do it.
Another suggestion, but not covered in this PR is implement real refresh otherwise we should hack it by call some method which do it as side effect.

@bashor
Copy link
Author

bashor commented Aug 13, 2014

Additionally I suggest to add the ability to access to current typeChecker.

Thanks!

@jednano jednano mentioned this pull request Sep 8, 2014
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 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.

3 participants