Commit Graph

1798 Commits

Author SHA1 Message Date
Vladimir Matveev d7e62bb9f7 initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer 2017-03-03 13:50:58 -08:00
Andy Hanson 3bc125463b Add more missing semicolons 2017-03-03 07:00:52 -08:00
Ron Buckton a0271ef6c4 Merge pull request #14177 from ajafff/parent-type
Add specific types to parent property of Node interfaces
2017-03-01 13:27:45 -08:00
Klaus Meinhardt 6ad9fe146a Add parent type to ExpressionWithTypeArguments 2017-03-01 18:08:53 +01:00
Mohamed Hegazy fd8040978b Allow primitive types in JSDoc to start wtih uppercase letters 2017-02-23 21:25:30 -08:00
Klaus Meinhardt 077862736d Add parent type for nodes where possible 2017-02-19 21:26:04 +01:00
Klaus Meinhardt 5ed5e5fd94 Add CatchClause to VariableDeclaration.parent 2017-02-19 18:38:09 +01:00
Ron Buckton 4db86f78b0 Merge branch 'master' into publicTransformers 2017-02-16 17:52:57 -08:00
Ron Buckton cf72ceb093 Merge branch 'master' into asyncGenerators 2017-02-16 17:22:43 -08:00
Ron Buckton 6ff081fea6 Merge branch 'master' into publicTransformers 2017-02-16 14:33:01 -08:00
Ron Buckton 511cc41e56 Better strictNullChecks support for TransformationContext 2017-02-16 14:13:59 -08:00
Arthur Ozga 6e198f9c51 Merge branch 'master' into MissingPropertyFix 2017-02-16 13:40:27 -08:00
Arthur Ozga 1b6cf97766 widen type, index signature, and add tests 2017-02-16 13:37:35 -08:00
Ron Buckton 0f495fb694 Merge branch 'strictNullFactories' into publicTransformers 2017-02-16 12:41:58 -08:00
Mohamed Hegazy 6c58938743 Merge pull request #13648 from Microsoft/functionAndClassProperties
Function and class properties
2017-02-16 12:27:14 -08:00
Arthur Ozga 9110461294 use getBaseTypeOfLiteralType 2017-02-15 14:24:25 -08:00
Nathan Shively-Sanders 1296f240c6 Merge pull request #14074 from Microsoft/error-on-decl-of-extends-intersection
Error when emitting the declaration for an exported class that extends an intersection
2017-02-15 13:43:51 -08:00
Yui ca6f1c3a41 Merge pull request #13640 from Microsoft/wip-master-statelessOverload
Using overload to figure out function signature for SFC
2017-02-15 07:17:32 -08:00
Ron Buckton 23216f9ba1 Merge branch 'master' into genericDefaults 2017-02-14 19:19:18 -08:00
Arthur Ozga 92e4c6b7db Get Widened Type 2017-02-14 17:30:28 -08:00
Kanchalai Tanglertsampan e5cfe5c348 Merge branch 'master' into wip-master-statelessOverload
# Conflicts:
#	src/compiler/factory.ts
2017-02-14 15:21:06 -08:00
Ryan Cavanaugh aec310996c Language service extensibility 2017-02-14 13:35:16 -08:00
Nathan Shively-Sanders cd272e8244 Error on emit declaration of extends class w/o symbol
Error when emitting an extends clause for a type that has no symbol.
This error only occurs on exported classes.
This prevents the emitter from producing types that extend from
intersections, which are not parseable right now.
2017-02-14 12:42:32 -08:00
Mohamed Hegazy db0e3762e9 Merge remote-tracking branch 'origin/master' into functionAndClassProperties 2017-02-13 21:02:17 -08:00
Vladimir Matveev f673f48fad inject pre-finally and after-finally edges into flow graph to possible ignore pre-finally during flow walk (#13845) 2017-02-13 14:36:12 -08:00
Ron Buckton dedf4a7538 Merge branch 'master' into asyncGenerators 2017-02-13 13:53:34 -08:00
Nathan Shively-Sanders 46d9f37020 Merge pull request #12033 from Microsoft/add-undefined-to-default-valued-parameters
Add undefined to default-initialised parameters
2017-02-13 13:30:46 -08:00
Vladimir Matveev de40000814 switch FileExtensionInfo to always mean .js file and deduplicate entries in getSupportedExtensions (#14046)
* - switch FileExtensionInfo to always mean .js file
- deduplicate entries in getSupportedExtensions

* (PR feedback): updated comment
2017-02-13 12:19:33 -08:00
Anders Hejlsberg 7cd0e1a0e6 Merge pull request #13990 from Microsoft/fixPrivateProtected
Properly handle private and protected properties in intersections
2017-02-13 08:13:38 -10:00
Ron Buckton 3e427f4860 Merge branch 'master' into asyncGenerators 2017-02-10 09:46:06 -08:00
Anders Hejlsberg 43c49b1ae7 Properly handle private/protected properties in intersection types 2017-02-09 15:32:17 -08:00
Mohamed Hegazy 4b8396bb6b Merge branch 'master' into functionAndClassProperties 2017-02-09 15:28:31 -08:00
Ron Buckton a295aa8fd1 Reduce stack depth due to substitution 2017-02-09 13:10:17 -08:00
Ron Buckton 3b20d82ba6 allow 'transform()' to transform arbitrary nodes. 2017-02-08 17:02:07 -08:00
Ron Buckton fc2cf2f78f Make visitor functions public 2017-02-07 17:21:29 -08:00
Ron Buckton 1bbaaa3831 Make TransformationContext.getCompilerOptions public 2017-02-07 15:19:44 -08:00
Ron Buckton 6c59ee4ce6 Add assertions to verify user-exposed behavior. 2017-02-07 15:10:32 -08:00
Ron Buckton 2f624f5df3 Expose transformations as public API 2017-02-07 14:36:15 -08:00
Anders Hejlsberg b830dea362 Clean up SymbolFlags, introduce CheckFlags in TransientSymbol 2017-02-05 13:20:10 -08:00
Ron Buckton 5bb2fe03ea Simplify checkTypeParameterListsIdentical 2017-02-03 16:34:42 -08:00
Ron Buckton 6ffcbf5b9c Merge branch 'master' into genericDefaults 2017-02-03 14:13:16 -08:00
Ron Buckton bd98bc97bd Add factory functions for rest of NodeEdgeTraversal 2017-02-03 14:12:50 -08:00
Ron Buckton 6091050bec Remove pre-computation of minTypeArgumentCount 2017-02-03 14:01:42 -08:00
Ron Buckton 5d415cac52 Merge branch 'master' into asyncGenerators 2017-02-02 12:11:44 -08:00
Ron Buckton ff4c72de00 Make most current Node factory functions public 2017-02-01 16:36:10 -08:00
Ron Buckton 984541316a Added comments and a few Debug assertions 2017-02-01 16:16:04 -08:00
Nathan Shively-Sanders 6f7c984c42 Address PR comments
1. Add undefined only when an initialized parameter is required (not
optional).
2. Create isRequiredInitializedParameter helper function
3. Call this function only once from declarationEmitter
2017-02-01 09:41:44 -08:00
Kanchalai Tanglertsampan ceb77202aa Address PR: fix typo 2017-01-31 11:11:49 -08:00
Mohamed Hegazy 1eb7b9183b Merge branch 'master' of https://github.com/Microsoft/TypeScript 2017-01-30 16:42:44 -08:00
Ron Buckton b58ef9e932 Merge branch 'master' into genericDefaults 2017-01-30 14:32:00 -08:00