Commit Graph
125 Commits
Author SHA1 Message Date
Dan Quirk 27f5bf10de CR feedback 2015-07-09 14:44:47 -07:00
Dan Quirk be1371d3cd Merge master 2015-07-08 15:35:49 -07:00
Arthur Ozga 1608845f33 merged with master 2015-07-01 13:51:27 -07:00
Ron Buckton 4b4a96b9dc Merge branch 'master' into asyncFunctions 2015-07-01 09:27:45 -07:00
Arthur Ozga d8fe237edf merged in master 2015-06-29 14:34:12 -07:00
Dan Quirk ed1ff3d57d Fixing up whitespace and semicolons 2015-06-25 16:24:41 -07:00
Ryan Cavanaugh e448d8b932 Treat </ as a token in TSX files 2015-06-22 11:53:38 -07:00
Arthur Ozga b7f4ee5478 Merge branch 'master' into abstract-classes2 2015-06-19 15:46:26 -07:00
Ryan Cavanaugh a4045e539b Scanner / parser for JSX and As 2015-06-18 14:00:54 -07:00
CyrusNajmabadi dd671ed431 Merge pull request #3530 from Microsoft/lessScanningDuringClassification
Scan less during classification.
2015-06-18 11:19:22 -07:00
Cyrus Najmabadi d206f62adb Squueze perf in syntactic classification. 2015-06-16 17:56:11 -07:00
Arthur Ozga 1d5dcf0d0c changes that are non-breaking 2015-06-16 15:39:34 -07:00
Arthur Ozga 506349f9c5 Fix merge conflicts with master 2015-06-15 16:48:09 -07:00
Ron Buckton 5ebad5889c Merge branch 'master' into asyncFunctions 2015-06-15 11:47:15 -07:00
Mohamed Hegazy 224e7630ea use namespaces instead of modules in the codebase 2015-06-12 09:01:48 -07:00
Ron Buckton 6fc07e65f5 Merged branch 'master' into asyncFunctions 2015-06-10 12:31:35 -07:00
Arthur Ozga 3bc2aa91c6 fix merge conflicts with master 2015-06-09 12:53:40 -07:00
Ron Buckton 9560d6f1e9 Merge branch 'master' into asyncFunctions 2015-06-04 11:53:51 -07:00
Tingan Ho 9515947092 Adds custom type guard 2015-06-03 16:58:55 +08:00
Cyrus Najmabadi 9aab98419b Parsing support for jsDocComments. 2015-05-28 10:14:18 -07:00
Ron Buckton d19a200750 Added types, scan, parse, and check for async functions 2015-05-05 17:57:21 -07:00
Mohamed Hegazy 7327044410 Fix #3012: expose scanner 2015-05-04 09:51:29 -07:00
Daniel Rosenwasser 4ebfee2051 Use 'lastOrUndefined' where appropriate in the compiler. 2015-05-01 18:34:26 -07:00
Dick van den Brink dd1f982bde Parse abstract keyword 2015-04-30 17:40:35 +02:00
Anders Hejlsberg eecf7ba638 Support 'namespace' declarations for internal modules 2015-04-26 16:12:16 -07:00
Cyrus Najmabadi 92756e135b Blocks with locals should be added to the container chain so we can detect name collisions in them. 2015-04-21 17:03:15 -07:00
Cyrus Najmabadi 9e507baf7c Support passing a start/length when creating a scanner.
Conflicts:
	src/compiler/parser.ts
	src/compiler/scanner.ts
2015-04-17 12:27:24 -07:00
Cyrus Najmabadi 61951e5d94 Use a single scanner for all parsing tasks. 2015-04-12 14:02:58 -07:00
Mohamed Hegazy 431dce7b84 Merge branch 'master' into APIReviewCleanup
Conflicts:
	src/services/outliningElementsCollector.ts
2015-04-10 16:11:03 -07:00
Mohamed Hegazy 1c91c2c5d0 Mark non-public API surface with the /* @internal */ comment 2015-04-09 14:18:14 -07:00
Ahmad Farid 7fcbb8c9a0 adding unit tests fot block comments outlining 2015-04-03 19:21:27 -07:00
Ahmad Farid 854d5496b4 updating tests 2015-04-03 15:28:23 -07:00
Ahmad Farid 27f349ca7d outlining Comments v0.1 4/2 2015-04-02 14:38:22 -07:00
Ron Buckton ea15225a9e Merge pull request #2399 from Microsoft/decorators_min 2015-03-24 19:57:21 -07:00
Cyrus Najmabadi eed6f0deca Use an output format for quickinfo that more closely matches the original source.
i.e. use  "var v: string" instead of "(var) v: string".

The parens case should only be used when we're using an english description instead of
an actual language construct.
2015-03-24 00:16:49 -07:00
Ron Buckton 5e241a354d Removed the (now unused) lineBreakBetween 2015-03-23 10:53:29 -07:00
Cyrus Najmabadi 9ae0815e21 Treat 0x0085 as whitespace, not as a line terminator. This matches ES5 and ES6. 2015-03-20 16:53:47 -07:00
Cyrus Najmabadi 36b99511c6 Simplify code for emitting comments.
Also, always emit pinned comments, even when the 'removeComments' compiler
option is provided.
2015-03-17 18:34:42 -07:00
Ron Buckton fb10deb49c Scanner updates for decorators 2015-03-17 14:17:28 -07:00
Cyrus Najmabadi b99761ac05 Use 'let' in the compiler layer. 2015-03-13 15:27:05 -07:00
Cyrus Najmabadi a4bf56f211 Use 'let' in the scanner. 2015-03-13 10:54:54 -07:00
Daniel Rosenwasser 6be13a90b5 Fixed error message. 2015-03-02 12:07:09 -08:00
Daniel Rosenwasser b1837c827c Addressed some CR feedback. 2015-02-27 18:13:05 -08:00
Daniel Rosenwasser 5437b3db5a Removed unused variable. 2015-02-27 16:08:21 -08:00
Daniel Rosenwasser cad8f6b091 Only add an extended Unicode escape when it is entirely valid. 2015-02-27 15:34:06 -08:00
Daniel Rosenwasser 4657c2dfd5 Emit all strings with extended escapes using the same scheme as templates. 2015-02-27 12:55:46 -08:00
Daniel Rosenwasser bbf9579021 Added scanning support for extended escapes. 2015-02-26 14:41:14 -08:00
Daniel Rosenwasser ee71954964 Simplified scanHexDigits by just wrapping the intended functionality in separate functions. 2015-02-25 14:01:21 -08:00
Anders Hejlsberg f0f4ca6b06 Merge branch 'master' into es6Import
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/emitter.ts
	tests/baselines/reference/APISample_compile.js
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.js
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.js
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.js
	tests/baselines/reference/APISample_watcher.types
	tests/baselines/reference/recursiveClassReferenceTest.js.map
	tests/baselines/reference/recursiveClassReferenceTest.sourcemap.txt
2015-02-23 11:15:56 -08:00
Cyrus Najmabadi 06a278458a Merge branch 'master' into patternMatcher
Conflicts:
	src/services/services.ts
2015-02-21 14:34:15 -08:00