Ron Buckton
3c344987de
Merge branch 'master' into transforms
2016-03-18 17:13:55 -07:00
Ron Buckton
99e6ad8b63
Removed ModifiersArray
2016-03-10 11:23:17 -08:00
Ron Buckton
5b8cf96028
Moved modifier related flags to separate enum
2016-03-10 11:12:24 -08:00
Ryan Cavanaugh
e9f4bef3ac
Address CR feedback
2016-03-09 10:08:24 -08:00
Ryan Cavanaugh
44aa7388ea
UMD support
2016-03-09 10:08:24 -08:00
Daniel Rosenwasser
01c329c05e
Merge pull request #7396 from mattmccutchen/issue7359
...
Expose ts.isExternalModule as public API.
2016-03-07 10:15:06 -08:00
Matt McCutchen
49172207bf
Expose ts.isExternalModule as public API.
...
Fixes #7359
2016-03-04 18:45:42 -05:00
Ryan Cavanaugh
311f8dd7d3
Merge pull request #7309 from RyanCavanaugh/fix6878
...
Support JSDoc on class / obj. literal getters
2016-03-03 15:50:15 -08:00
Ryan Cavanaugh
50eca44e46
Support JSDoc on class / obj. literal getters
...
Fixes #6878
2016-02-29 18:55:32 -08:00
Jason Ramsay
284d9f527c
Salsa: JS support for discovering and acquiring d.ts files
...
(Mostly isolating VS host changes from PR#6448)
2016-02-21 21:35:02 -08:00
Ron Buckton
c759b633d6
Adds ES6 transformer
2016-02-19 17:01:02 -08:00
jramsay
6b05ad7627
Merge pull request #7107 from Microsoft/ScriptBlockSupport
...
Salsa: adding ScriptKind to ensure script blocks are processed as JS.
2016-02-19 14:40:18 -08:00
Jason Ramsay
2da73b3340
Change to getScriptKindFromFileName to avoid unnecessary array allocation in split
2016-02-19 14:20:32 -08:00
Jason Ramsay
11acf3a4a8
Applying getScriptKindFRomFileName to HostFileInformation before we set the ScriptKind.
...
If the host returns ScriptKind 'Unknown' or 'undefined' we attempt to get the correct ScriptKind based on the file name.
If this cannot be determined we return the default ScriptKind 'TS'
2016-02-18 16:33:01 -08:00
Jason Ramsay
3e124ad35d
parser and services changes due to CR comments
...
- Adding assert to ensure script kinds are not modified for registered docs
- setting script kind in parseSourceFile and consuming it initialize state and getLanguageVariant
2016-02-18 12:19:34 -08:00
Jason Ramsay
81df1cbc0b
Addressing CR comments
...
- Adding ScriptKind to SourceFile
- Only update ScriptKind on creation, on update use the SourceFile's scriptKind
- If scriptKind is unknown, default to ScriptKind.Ts
- Replacing try-catch with in this.shimHost
2016-02-17 19:07:19 -08:00
Jason Ramsay
2aa8f05e64
Fix to test harness and addressing CR comments
2016-02-16 22:44:43 -08:00
Jason Ramsay
a71fa457bd
Salsa: adding ScriptKind to ensure script blocks (.html, .aspx, .ascx, etc) are processed as JS
2016-02-16 17:37:24 -08:00
Daniel Rosenwasser
f944d3e997
Addressed CR feedback.
2016-02-12 15:22:33 -08:00
Daniel Rosenwasser
ec0eabb2e9
Minor rename.
2016-02-12 15:22:03 -08:00
Josh Soref
196d90a4ce
spelling fixes for src/compiler/binder.ts src/compiler/parser.ts
...
* accidentally
* children
* exhaustive
* initialize
* initializer
* otherwise
* argument
* current
* delimiter
* differently
* expression
* further
* increment
* precedence
* presence
* proceed
* signatures
* specifier
* that
* this
* unusable
2016-02-10 20:57:53 +00:00
Ron Buckton
1e35593437
Adds the transformFiles API
2016-02-04 18:14:39 -08:00
Ryan Cavanaugh
a324176102
Merge pull request #6869 from RyanCavanaugh/fix6811
...
Recognize `=` as equivalent to `?` in JSDoc signatures
2016-02-04 15:48:03 -08:00
Ryan Cavanaugh
68befc0f12
Merge pull request #6851 from RyanCavanaugh/fix6814
...
Allow parsing TS-style generics in JSDoc
2016-02-04 15:37:53 -08:00
Ron Buckton
f8e574f1d6
Added ArrayKind, moved createNode, changed JSDocParsing tests to use baselines.
2016-02-04 15:01:31 -08:00
Ryan Cavanaugh
6f261f5b0b
Merge pull request #6870 from RyanCavanaugh/fix6825
...
Recognize object literal method JSDoc comments
2016-02-04 10:17:43 -08:00
Ryan Cavanaugh
d47097f009
Use different syntax kind here
2016-02-03 10:05:58 -08:00
Anders Hejlsberg
1154ab8def
Merge pull request #6855 from Microsoft/destructuringInTypes
...
Destructuring parameters in function/constructor types
2016-02-03 09:05:24 -08:00
Anders Hejlsberg
98e8a25d1e
Addressing CR feedback
2016-02-03 06:52:53 -08:00
Ryan Cavanaugh
8aad976c69
Recognize object literal method JSDoc comments
...
Fixes #6825
2016-02-03 00:18:36 -08:00
Ryan Cavanaugh
f7eac73a6f
Recognize = as equivalent to ? in JSDoc signatures
...
Fixes #6811
2016-02-03 00:09:38 -08:00
Anders Hejlsberg
c89f2b75ad
Properly parse function/constructor types with destructuring parameters
2016-02-02 14:14:37 -08:00
Ryan Cavanaugh
6e06bb39a1
Allow parsing TS-style generics in JSDoc
...
Fixes #6814
2016-02-02 13:32:21 -08:00
Ryan Cavanaugh
2d7a2f4d30
Merge pull request #6680 from RyanCavanaugh/fix6646
...
Parse JSDoc comments for ES6 class constructors and methods
2016-02-02 10:48:29 -08:00
Anders Hejlsberg
4421c52b83
Remove parserContextFlags from Node type
2016-01-31 14:00:54 -08:00
Anders Hejlsberg
f4ee49f24e
Renaming parsing context flags to NodeFlags.xxxContext
2016-01-31 08:57:32 -08:00
Anders Hejlsberg
83859c0d91
Merge ParserContextFlags into NodeFlags
2016-01-31 08:45:14 -08:00
Anders Hejlsberg
f0abb86158
Removing MultiLine, Synthetic, DeclarationFile, and OctalLiteral flags
2016-01-31 08:08:19 -08:00
Ryan Cavanaugh
2688dbd495
Merge pull request #6698 from RyanCavanaugh/fix6552
...
Recognize the RHS of assignments as the JSDoc target expression
2016-01-28 11:40:27 -08:00
Ryan Cavanaugh
364b08854b
Recognize the RHS of assignments as the JSDoc target expression
...
Fixes #6552
2016-01-28 11:02:49 -08:00
Ryan Cavanaugh
1b282cda1d
Parse JSDoc comments for ES6 class constructors and methods
...
Fixes #6646
2016-01-27 14:07:32 -08:00
Anders Hejlsberg
98603f9f49
Merge pull request #6532 from Microsoft/readonlyMembers
...
Readonly properties and index signatures
2016-01-27 10:50:26 -08:00
Ryan Cavanaugh
6febe3b503
Merge pull request #6562 from RyanCavanaugh/jsIsJsx
...
Treat .js as JSX
2016-01-25 16:15:52 -08:00
Ryan Cavanaugh
c38021ffb8
Lint
2016-01-25 13:38:00 -08:00
Anders Hejlsberg
c826a900bc
Merge branch 'master' into readonlyMembers
...
Conflicts:
src/compiler/types.ts
2016-01-24 15:21:03 -08:00
Ryan Cavanaugh
64c2d66ccb
Merge branch 'master' into jsDocFinal
2016-01-22 15:10:02 -08:00
Ryan Cavanaugh
2653a8da46
Treat .js as JSX
2016-01-21 12:27:11 -08:00
Anders Hejlsberg
a499607845
Merge branch 'master' into readonlyMembers
...
Conflicts:
src/compiler/parser.ts
src/compiler/types.ts
2016-01-18 21:03:15 -08:00
Anders Hejlsberg
07763ed1f8
Removing unused function
2016-01-17 07:24:51 -08:00
Vladimir Matveev
a69dcd16fa
Merge remote-tracking branch 'origin/master' into moduleAugmentations
2016-01-14 11:13:48 -08:00