Skip to content

Parsing support for jsDocComments.#3291

Merged
CyrusNajmabadi merged 1 commit into
masterfrom
jsDocParsing2
May 28, 2015
Merged

Parsing support for jsDocComments.#3291
CyrusNajmabadi merged 1 commit into
masterfrom
jsDocParsing2

Conversation

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

These are the same code changes as in #2646. However, this only contains the changes necessary for parsing, and none of the binding/checking changes.

Those will be coming in later once we agree on an overall design for how we incorporate the type information from those elements.

In the meantime though, supporting parsing is simple and will enable nice features like classification/completion in js doc comments.

Comment thread src/compiler/core.ts
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why would file be undefined?

CyrusNajmabadi added a commit that referenced this pull request May 28, 2015
Parsing support for jsDocComments.
@CyrusNajmabadi CyrusNajmabadi merged commit 3f87259 into master May 28, 2015
@CyrusNajmabadi CyrusNajmabadi deleted the jsDocParsing2 branch May 28, 2015 18:10
@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented May 28, 2015

I do not see any tests for error cases.. are these going to be added later?

Comment thread src/compiler/parser.ts
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

when is this set to true? debugging? can you put a comment.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This has been removed. It was only for ascertaining what we could'nt handle on code in the wild.

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

Also, there are about 32 tests for the error cases.

@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