Commit Graph

1191 Commits

Author SHA1 Message Date
Nathan Shively-Sanders 0cda239e1c Merge pull request #12156 from Microsoft/fix-jsdoc-missing-space-from-bad-indent
Fix jsdoc missing space from bad indent
2016-11-14 08:21:40 -08:00
Anders Hejlsberg 1c7ec6b8ce Add missing node visits in forEachChild 2016-11-11 07:38:44 -08:00
Nathan Shively-Sanders 973d83ce93 Merge branch 'master' into fix-jsdoc-missing-space-from-bad-indent 2016-11-10 13:12:32 -08:00
Nathan Shively-Sanders 8bd0a47c82 Retain space after first word in multiline jsdoc
For words that were shorter than the jsdoc indent level, the space was
omitted previously.
2016-11-10 13:11:32 -08:00
Anders Hejlsberg 64d269885c Merge branch 'master' into mappedTypes
# Conflicts:
#	src/compiler/checker.ts
2016-11-10 11:17:53 -08:00
Sheetal Nandi c458576553 Merge pull request #12135 from Microsoft/jsxFactory
Support for --jsxFactory option
2016-11-10 09:49:57 -08:00
Sheetal Nandi f7bac98948 Verify that jsxFactory is either identifier or qualified name 2016-11-09 14:32:42 -08:00
Nathan Shively-Sanders 609cd0016b Merge branch 'object-spread' into object-rest 2016-11-07 11:10:29 -08:00
Nathan Shively-Sanders a84c7aeea4 Rename SpreadElementExpression -> SpreadAssignment
and SpreadExpression (formerly SpreadElementExpression) -> SpreadElement
2016-11-07 08:36:03 -08:00
Anders Hejlsberg d1a8af5320 Parse '[P in K]' part of mapped type as a type parameter declaration 2016-11-03 14:35:27 -07:00
Nathan Shively-Sanders 7ff8876096 Merge branch 'object-spread' into object-rest-syntax 2016-11-03 10:12:45 -07:00
Anders Hejlsberg 7cd39e3818 Parsing of mapped types 2016-11-03 06:09:44 -07:00
Nathan Shively-Sanders 334820c357 Remove spread types, leaving spread syntax/emit
Spreads are still typed, but cannot be created from a non-object type.
Tests still need to be updated.
2016-11-02 16:26:34 -07:00
Nathan Shively-Sanders a7c18367ca Parse, bind and check rest elements 2016-11-02 14:55:24 -07:00
Nathan Shively-Sanders 2ae6ecc1a5 Merge branch 'master' into object-spread 2016-11-02 10:57:20 -07:00
Anders Hejlsberg 6b28d21a82 Merge branch 'master' into keyoftypes
# Conflicts:
#	src/compiler/diagnosticMessages.json
2016-10-31 16:04:40 -07:00
Andy Hanson 12f6dcefa1 Revert "Merge pull request #11354 from Microsoft/map4"
This reverts commit adfdae0dc4, reversing
changes made to aad663cebf.
2016-10-27 15:50:21 -07:00
Nathan Shively-Sanders 58ffb4e668 Merge branch 'master' into object-spread 2016-10-27 15:29:21 -07:00
Andy Hanson bcc0807198 Respond to PR comments 2016-10-27 13:14:56 -07:00
Anders Hejlsberg e7cfbfe185 Support parametric property access expressions + some renaming 2016-10-26 13:39:12 -07:00
Andy Hanson c958c47ef5 Merge branch 'master' into map4 2016-10-26 11:05:51 -07:00
Anders Hejlsberg c21592ede1 Initial implementation of 'T[K]' property access types 2016-10-25 14:32:20 -07:00
Zhengbo Li d0170d1ac8 Support dotted name in @typedef tag (#11695)
* Support dotted name in @typedef tag

* Use a new node flag to get rid of the extra logics

* replace jsdoc namespace node flag with optional property

* Fix linting error
2016-10-25 13:32:48 -07:00
Sheetal Nandi f98369b711 Fix the AV resulting from presence of undefined in the jsDocPropertyTags
Fixes #11703
2016-10-24 18:10:05 -07:00
Nathan Shively-Sanders 32af04660f Merge branch 'master' into object-spread 2016-10-24 15:46:09 -07:00
Anders Hejlsberg ad88109420 Initial implementation of 'keyof T' type operator 2016-10-24 15:24:26 -07:00
Alexander Rusakov 7b684214fa Fix #11545 ('export as namespace foo' occurs EOF without semicolon) (#11797) 2016-10-24 13:18:46 -07:00
Andy Hanson a11838215c Merge branch 'master' into map4 2016-10-19 13:16:55 -07:00
Nathan Shively-Sanders f9fe01a6e3 Merge branch 'master' into object-spread 2016-10-19 09:03:51 -07:00
Andy Hanson f11dbc1ad1 Respond to PR feedback 2016-10-19 06:26:50 -07:00
Andy Hanson 7685e6af15 Forbid unused locals/parameters in compiler 2016-10-18 14:00:52 -07:00
Andy Hanson e8c7224eac Merge branch 'master' into map4 2016-10-12 08:50:49 -07:00
Nathan Shively-Sanders 4ee4b6b912 Merge branch 'master' into object-spread 2016-10-11 16:06:05 -07:00
Andy Hanson 413a26b94d Support JSDoc for type alias 2016-10-11 11:14:15 -07:00
Nathan Shively-Sanders cec3a3703a Merge branch 'master' into object-spread 2016-10-07 08:34:06 -07:00
Andy Hanson 7217274746 Merge branch 'master' into map4 2016-10-07 06:17:26 -07:00
Ron Buckton 519095f585 Merge branch 'master' into syntaxKindLiterals 2016-10-06 13:41:16 -07:00
Andy Hanson aadcbcc083 Use native maps when they're available 2016-10-06 13:29:18 -07:00
Yui f8b34c96a0 Merge pull request #11118 from Microsoft/fix11081
Fix11081
2016-10-05 10:28:22 -07:00
Ron Buckton 49695edadb Split up binary operators 2016-10-04 17:38:35 -07:00
Ron Buckton 0d7c84ef28 Added literal kind properties for each node. 2016-10-03 22:05:51 -07:00
Nathan Shively-Sanders 484e66fa09 Merge branch 'master' into object-spread 2016-09-28 10:33:47 -07:00
Nathan Shively-Sanders a0db19749a Rename Spread[Element]Expression
1. SpreadElementExpression (existing, for arrays) -> SpreadExpression
2. SpreadElement (new for object literals) -> SpreadElementExpression
2016-09-26 11:50:02 -07:00
Kanchalai Tanglertsampan 3c74558e08 Address PR: use ObjectLiteralElement as an interface name and ObjectLitearlElementLike as a type alias 2016-09-26 11:42:40 -07:00
Nathan Shively-Sanders a3ffe6f874 Parse, bind and check spread types and elements 2016-09-26 09:30:15 -07:00
Kanchalai Tanglertsampan aef58a5405 Address Github #11081 when we start paring "1" in type and keep going instead of terminate when see ")" 2016-09-23 17:27:53 -07:00
Nathan Shively-Sanders f8f244f68a Merge branch 'master' into new-jsdoc-parser 2016-09-15 11:53:04 -07:00
Nathan Shively-Sanders e2ff42f453 Add comment explaining a magic constant in parser 2016-09-14 16:25:17 -07:00
Ron Buckton c048f7cd6f Fix deferred export of array binding pattern 2016-09-08 17:46:24 -07:00
Andy Hanson a8eb4a20df Also decode entities when emitting attributes. Also, lexer should not process string escapes in jsx attributes. 2016-09-08 07:57:06 -07:00