-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Add callback tag, with type parameters #23947
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
Merged
Merged
Changes from 41 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
f9f9157
Add initial tests
sandersn 5fab72f
Add types
sandersn 37076b3
Half of parsing (builds but does not pass tests)
sandersn 248cd06
Parsing done; types are uglier; doesn't crash but doesn't pass
sandersn 2ce53ba
Bind callback tag
sandersn 8991502
Only bind param tags inside callback tags
sandersn 7737c7c
Fix binding switch to only handle param tags once
sandersn ec7ddf8
Checking is 1/3 done or so.
sandersn 7d2233a
Rename typeExpression to type (for some jsdoc)
sandersn f41a96b
Rename the rest of typeExpressions
sandersn 64631e5
Few more checker changes
sandersn 009c411
Revert "Rename the rest of typeExpressions"
sandersn 0de72c2
Revert "Rename typeExpression to type (for some jsdoc)"
sandersn 8ae8939
Finish undoing typeExpression rename
sandersn a96bdfd
Rename and improve getTypeParametersForAliasSymbol
sandersn 6a0a5eb
Core checking works, but is flabbergastingly messy
sandersn 0003c48
Callback return types work now
sandersn f4ac992
Fix crash in services
sandersn ad7fb64
Make github diff smaller
sandersn 2410bee
Try to make github diff even smaller
sandersn 0ae190b
Fix rename for callback tag
sandersn 3ca5bf0
Fix nav bar for callback tag
sandersn 819f19d
Handle ooorder callback tags
sandersn c2d7db7
Add ooorder callback tag test
sandersn 7c6d66e
Parse comments for typedef/callback+display param comments
sandersn 5e02518
Always export callbacks
sandersn 12bd83d
Update baselines
sandersn dafb67d
Fix support for nested namespaced callbacks
sandersn 9600db7
Callbacks support type parameters
sandersn 0c28218
Template tags are now bound correctly
sandersn 07cd96d
Test oorder template tags
sandersn 1986b4d
Merge branch 'master' into jsdoc/callback
sandersn eb61b8b
Parser cleanup
sandersn e6e8ebf
Cleanup types and utilities
sandersn 91d95f7
Handle callback more often in services
sandersn 57fa3a5
Merge branch 'master' into jsdoc/callback
sandersn 6973c5d
Cleanup of binder and checker
sandersn 52cd1c7
More checker cleanup
sandersn 072ae0d
Remove TODOs and one more cleanup
sandersn 4c01063
Support parameter-less callback tags
sandersn 831f44f
Remove extra bind call on template type parameters
sandersn 9ec7f26
Bind template tag containers
sandersn 3fed87e
Fix fourslash failures
sandersn 64623f5
Stop pre-binding js type aliases
sandersn f44be81
Further cleanup of delayed js type alias binding
sandersn e59acbc
Stop prebinding template tags too
sandersn 7a4ac26
Remove TODO
sandersn a073966
Merge branch 'master' into jsdoc/callback
sandersn 0e13916
Fix lint
sandersn f75abe1
Merge branch 'master' into jsdoc/callback
sandersn 4f61e71
Finish merge with use-jsdoc-aliases
sandersn cc011a6
Merge branch 'master' into jsdoc/callback
sandersn 75d4d95
Update callback tag baselines
sandersn fcdc499
Merge branch 'master' into jsdoc/callback
sandersn 4116fea
Merge branch 'master' into jsdoc/callback
sandersn 3431563
Rename getTypeParametersForAliasSymbol
sandersn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we doing this? is not a typeAlais always introducing its own scope? at least for
@propertyand@tempate?