Nathan Shively-Sanders
aa7e2b0f07
Add callback tag, with type parameters ( #23947 )
...
* Add initial tests
* Add types
* Half of parsing (builds but does not pass tests)
* Parsing done; types are uglier; doesn't crash but doesn't pass
* Bind callback tag
Builds but tests still don't pass
* Only bind param tags inside callback tags
* Fix binding switch to only handle param tags once
* Checking is 1/3 done or so.
Now I'm going to go rename some members to be more uniform. I hate
unnnecessary conditionals.
* Rename typeExpression to type (for some jsdoc)
(maybe I'll rename more later)
* Rename the rest of typeExpressions
Turns out there is a constraint in services such that they all need to
be named the same.
* Few more checker changes
* Revert "Rename the rest of typeExpressions"
This reverts commit f41a96b24d .
* Revert "Rename typeExpression to type (for some jsdoc)"
This reverts commit 7d2233a00e .
* Finish undoing typeExpression rename
* Rename and improve getTypeParametersForAliasSymbol
Plus some other small fixes
* Core checking works, but is flabbergastingly messy
I'm serious.
* Callback return types work now
* Fix crash in services
* Make github diff smaller
* Try to make github diff even smaller
* Fix rename for callback tag
* Fix nav bar for callback tag
Also clean up some now-redundant code there to find the name of typedefs.
* Handle ooorder callback tags
Also get rid of redundant typedef name code *in the binder*. It's
everywhere!
* Add ooorder callback tag test
* Parse comments for typedef/callback+display param comments
* Always export callbacks
This requires almost no new code since it is basically the same as
typedefs
* Update baselines
* Fix support for nested namespaced callbacks
And add test
* Callbacks support type parameters
1. Haven't run it with all tests
2. Haven't tested typedef tags yet
3. Still allows shared symbols when on function or class declarations.
* Template tags are now bound correctly
* Test oorder template tags
It works.
* Parser cleanup
* Cleanup types and utilities
As much as possible, and not as much as I would like.
* Handle callback more often in services
* Cleanup of binder and checker
* More checker cleanup
* Remove TODOs and one more cleanup
* Support parameter-less callback tags
* Remove extra bind call on template type parameters
* Bind template tag containers
Doesn't quite work with typedefs, but that's because it's now stricter,
without the typedef fixes. I'm going to merge with jsdoc/callback and
see how it goes.
* Fix fourslash failures
* Stop pre-binding js type aliases
Next up, stop pre-binding js type parameters
* Further cleanup of delayed js type alias binding
* Stop prebinding template tags too
This gets rid of prebinding entirely
* Remove TODO
* Fix lint
* Finish merge with use-jsdoc-aliases
* Update callback tag baselines
* Rename getTypeParametersForAliasSymbol
The real fix is *probably* to rename Type.aliasTypeArguments to
aliasTypeParameters, but I want to make sure and then put it in a
separate PR.
2018-05-17 09:28:11 -07:00
..
2018-05-17 09:28:11 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-03 13:04:08 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-07 12:40:33 -07:00
2018-05-07 12:40:33 -07:00
2018-05-03 12:58:42 -07:00
2018-05-03 12:58:42 -07:00
2018-05-07 12:40:33 -07:00
2018-05-07 12:40:33 -07:00
2018-05-07 12:40:33 -07:00
2018-05-17 16:35:20 +08:00
2018-05-17 16:35:20 +08:00
2018-05-01 14:33:42 -07:00
2018-04-26 08:00:38 -07:00
2018-04-26 08:00:38 -07:00
2018-04-26 08:00:38 -07:00
2018-05-15 16:21:15 -07:00
2018-05-16 12:28:27 -07:00
2018-05-15 22:08:01 -07:00
2018-05-01 09:24:02 -07:00
2018-05-01 09:24:02 -07:00
2018-05-01 09:24:02 -07:00
2018-05-07 12:40:33 -07:00
2018-05-07 12:40:33 -07:00
2018-05-02 15:42:05 -07:00
2018-05-10 16:44:48 -07:00
2018-05-10 16:44:48 -07:00
2018-05-08 13:33:55 -07:00
2018-05-08 13:33:55 -07:00
2018-05-08 13:33:55 -07:00
2018-05-08 13:33:55 -07:00
2018-05-08 11:23:01 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-03 13:04:08 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-07 12:39:00 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-01 13:00:13 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-01 13:00:13 -07:00
2018-05-01 13:00:13 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-04-23 11:24:51 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-04-25 16:15:49 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-09 15:18:45 -07:00
2018-05-03 13:04:08 -07:00
2018-05-04 17:10:48 -07:00
2018-05-04 17:10:48 -07:00
2018-05-04 17:10:48 -07:00
2018-05-04 17:10:48 -07:00
2018-05-10 16:50:26 -07:00
2018-05-03 12:58:42 -07:00
2018-05-03 13:04:08 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-05-03 13:04:08 -07:00
2018-05-15 12:34:53 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-05-04 16:58:07 -07:00
2018-05-07 10:08:38 -07:00
2018-05-10 15:31:06 -07:00
2018-05-10 15:31:06 -07:00
2018-05-07 11:06:21 -07:00
2018-05-10 15:31:06 -07:00
2018-05-10 15:31:06 -07:00
2018-05-07 10:08:38 -07:00
2018-04-23 15:24:31 -07:00
2018-04-23 15:24:31 -07:00
2018-04-30 14:55:26 -07:00
2018-05-10 15:31:06 -07:00
2018-04-23 13:29:14 -07:00
2018-04-23 13:29:14 -07:00
2018-05-10 15:31:06 -07:00
2018-05-07 11:06:21 -07:00
2018-04-23 13:29:14 -07:00
2018-04-23 13:29:14 -07:00
2018-04-23 13:29:14 -07:00
2018-04-23 13:29:14 -07:00
2018-04-23 13:29:14 -07:00
2018-04-23 13:29:14 -07:00
2018-04-23 13:29:14 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 11:06:21 -07:00
2018-05-07 10:08:38 -07:00
2018-04-28 19:59:41 -04:00
2018-05-15 16:22:58 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-01 13:00:13 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-09 19:53:44 -07:00
2018-04-23 11:11:06 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-15 12:34:53 -07:00
2018-05-06 12:27:10 +08:00
2018-05-09 22:42:44 +08:00
2018-05-09 22:42:44 +08:00
2018-05-03 16:28:55 -07:00
2018-05-03 16:28:55 -07:00
2018-05-05 13:22:48 -07:00
2018-05-03 16:28:55 -07:00
2018-05-03 16:28:55 -07:00
2018-05-03 16:28:55 -07:00
2018-05-09 19:53:44 -07:00
2018-04-24 09:41:47 -07:00
2018-04-24 09:41:47 -07:00
2018-05-03 08:02:56 -07:00
2018-04-24 09:41:47 -07:00
2018-05-15 15:12:29 -07:00
2018-05-03 12:58:42 -07:00
2018-05-03 12:58:42 -07:00
2018-05-03 12:58:42 -07:00
2018-04-25 08:04:20 -07:00
2018-04-24 08:54:14 -07:00
2018-05-03 14:57:01 -07:00
2018-05-15 12:34:53 -07:00
2018-05-04 11:29:54 -07:00
2018-05-03 13:04:08 -07:00
2018-05-15 12:34:53 -07:00
2018-05-03 13:04:08 -07:00
2018-05-01 13:00:13 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-17 09:28:11 -07:00
2018-05-11 16:24:42 -07:00
2018-05-11 09:51:12 -07:00
2018-05-16 13:09:54 -07:00
2018-05-16 13:53:40 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-10 11:17:04 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-04-23 13:29:14 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-05-15 16:22:58 -07:00
2018-05-07 15:45:43 -07:00
2018-04-23 16:05:37 -07:00
2018-04-30 14:55:26 -07:00
2018-04-30 14:55:26 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-05-15 16:22:58 -07:00
2018-04-23 16:05:37 -07:00
2018-05-08 15:07:55 -07:00
2018-04-30 14:55:26 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-05-14 12:00:40 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-04-23 16:05:37 -07:00
2018-05-16 15:34:11 +08:00
2018-05-16 15:34:11 +08:00
2018-05-16 15:34:11 +08:00
2018-05-16 15:34:11 +08:00
2018-05-08 12:26:34 +08:00
2018-05-16 15:34:11 +08:00
2018-05-07 12:40:33 -07:00
2018-05-07 12:40:33 -07:00
2018-05-07 12:40:33 -07:00
2018-05-07 12:40:33 -07:00
2018-05-16 15:34:11 +08:00
2018-05-09 18:41:46 +08:00
2018-05-16 14:47:44 +08:00
2018-05-10 15:31:06 -07:00
2018-05-10 15:31:06 -07:00
2018-05-10 15:31:06 -07:00
2018-04-23 13:29:14 -07:00
2018-04-23 13:29:14 -07:00
2018-04-23 13:29:14 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00
2018-04-23 13:29:14 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-03 13:04:08 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-05-07 10:08:38 -07:00
2018-04-24 09:41:47 -07:00
2018-05-15 12:34:53 -07:00
2018-05-15 12:34:53 -07:00