Ivo Gabe de Wolff
|
eedcb090e4
|
Merge master into taggedTemplates
|
2015-02-16 19:26:27 +01:00 |
|
Ivo Gabe de Wolff
|
f77bedd6f6
|
Emit parens for tag of tagged template if necessary
|
2015-02-13 18:34:32 +01:00 |
|
togru
|
d94cbed413
|
Merge remote-tracking branch 'upstream/master'
|
2015-02-11 10:12:22 +01:00 |
|
togru
|
091f38b3e0
|
improved equality checks in AMD module sorting function
|
2015-02-11 10:10:11 +01:00 |
|
Anders Hejlsberg
|
4b92e42b62
|
Merge pull request #1931 from Microsoft/spreadCall
Support spread operator in call expressions
|
2015-02-10 09:24:53 -08:00 |
|
togru
|
8492dfdffd
|
moved AMD module sorting to emitter, updated test case
|
2015-02-10 10:28:09 +01:00 |
|
Cyrus Najmabadi
|
36b6f4e1b7
|
Preserve single line blocks when emitting.
|
2015-02-06 18:45:09 -08:00 |
|
Ivo Gabe de Wolff
|
04dd08da70
|
Resolve missed merge conflict
|
2015-02-06 16:45:26 +01:00 |
|
Ivo Gabe de Wolff
|
30c10fb7c4
|
Merge branch 'master' into taggedTemplates
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
src/compiler/emitter.ts
|
2015-02-06 16:44:16 +01:00 |
|
Anders Hejlsberg
|
0819ca897c
|
Addressing CR feedback
|
2015-02-06 07:39:11 -08:00 |
|
Cyrus Najmabadi
|
5c0b38b203
|
Remove getEnumMemberValue, it is now subsumed into getConstantValue.
|
2015-02-05 18:26:56 -08:00 |
|
Cyrus Najmabadi
|
f9d3b489f2
|
Put curly on the right line.
|
2015-02-05 17:11:06 -08:00 |
|
Cyrus Najmabadi
|
66a363f449
|
Simplify the API for emitting and reporting exit statuses to callers.
|
2015-02-05 15:50:18 -08:00 |
|
Cyrus Najmabadi
|
e7f6693eda
|
Move code for emitting above helper functions.
|
2015-02-05 14:46:50 -08:00 |
|
Cyrus Najmabadi
|
b0061c1420
|
Emit both javascript and declarations in the presence of errors (*unless* -noEmitOnError is specified).
|
2015-02-05 14:41:04 -08:00 |
|
togru
|
9974526101
|
updated code style, added tests, fixed regex bug, merged to latest branch
|
2015-02-05 12:07:00 +01:00 |
|
Cyrus Najmabadi
|
337a99f62a
|
Change the API for getting diagnostics so that all calls go through a Program instance.
|
2015-02-05 01:47:29 -08:00 |
|
Cyrus Najmabadi
|
476c8249ac
|
Remove 'isEmitBlocked' from the program API.
If emitting is blocked, then calling .emit on the program will simply return
immediately with an appropriate reason given in the EmitResult.
|
2015-02-04 17:48:29 -08:00 |
|
Cyrus Najmabadi
|
bb307f8163
|
Simplify the API for emitting code from the Program instance.
|
2015-02-04 16:53:14 -08:00 |
|
Anders Hejlsberg
|
2494b2d90f
|
Support spread operator in call expressions
|
2015-02-04 13:39:24 -08:00 |
|
Cyrus Najmabadi
|
95702a89a7
|
Fix spelling of 'Filename' to be 'FileName'.
|
2015-02-03 16:08:46 -08:00 |
|
CyrusNajmabadi
|
fab351e0b6
|
Merge pull request #1913 from Microsoft/internalDTS
Provide an experimental flag that allows us to emit declarations except for nodes marked with '@internal'.
|
2015-02-03 16:29:04 -05:00 |
|
Cyrus Najmabadi
|
838b9b6998
|
Provide an experimental flag that allows us to emit declarations except for nodes marked with '@internal'.
|
2015-02-03 13:15:28 -08:00 |
|
Cyrus Najmabadi
|
0ca03048cf
|
Move the code to actually emit higher up in the function.
Now it it precedes all the other function declarations, and is much easier to debug.
|
2015-02-03 12:46:01 -08:00 |
|
Vladimir Matveev
|
288e38fa36
|
merge with master
|
2015-02-03 11:26:39 -08:00 |
|
CyrusNajmabadi
|
22ed101267
|
Merge pull request #1899 from Microsoft/earlyErrors2
Emit even in the presence of parse errors.
|
2015-02-02 20:24:06 -05:00 |
|
Mohamed Hegazy
|
6807bf86a5
|
Merge pull request #1855 from stanthomas/master
issue #1833 : const enum: supress value comment in emitted javascript
|
2015-02-02 16:35:11 -08:00 |
|
Cyrus Najmabadi
|
e63d795b1a
|
Rename function.
|
2015-02-02 15:55:50 -08:00 |
|
Cyrus Najmabadi
|
350d768e8d
|
Fix usage of tabs instead of spaces.
|
2015-02-02 15:50:16 -08:00 |
|
Cyrus Najmabadi
|
dd8d3535ff
|
Remove the concept of early errors from the compiler.
Currently only parse errors prevent emitting (And this will be changed in the next
code review as well).
|
2015-02-02 15:14:19 -08:00 |
|
Yui T
|
416267172d
|
Address code review
|
2015-01-30 17:48:07 -08:00 |
|
Yui T
|
5d0376fc78
|
Address codereview
|
2015-01-30 14:09:10 -08:00 |
|
Stan Thomas
|
95e7015fa0
|
Supress const enum member value comment from emitted javascript in presence of --removeComments (revised)
|
2015-01-30 06:09:31 -05:00 |
|
Yui T
|
fb2c5020a3
|
Clean up the checking of position
|
2015-01-29 16:38:05 -08:00 |
|
Yui T
|
fd20695957
|
Remove flag and compare position
|
2015-01-29 16:07:55 -08:00 |
|
Yui T
|
e4b206c4a2
|
Merge branch 'master' into emitArrowFunctionES6
|
2015-01-29 15:37:45 -08:00 |
|
Stan Thomas
|
17763ab040
|
Supress const enum member value comment from emitted javascript in presence of --removeComments
|
2015-01-29 17:26:53 -05:00 |
|
Yui T
|
2b200d4727
|
Address code review
|
2015-01-28 17:34:38 -08:00 |
|
Yui T
|
8d731d400c
|
Address code review
|
2015-01-28 16:48:53 -08:00 |
|
Cyrus Najmabadi
|
3c5ff5310f
|
CR feedback
.
|
2015-01-27 17:16:28 -08:00 |
|
Cyrus Najmabadi
|
71de2de6ed
|
Merge branch 'master' into emitCleanup
|
2015-01-27 17:10:33 -08:00 |
|
Cyrus Najmabadi
|
34b342ac97
|
Fix method name.
|
2015-01-27 17:09:57 -08:00 |
|
Yui T
|
15b05e632d
|
Merge branch 'master' into emitArrowFunctionES6
|
2015-01-27 13:40:19 -08:00 |
|
Yui T
|
f219a2de25
|
Address code review; preserve users non-parenthesis
|
2015-01-26 19:00:38 -08:00 |
|
Ivo Gabe de Wolff
|
9fc0144163
|
Merge branch 'master' into taggedTemplates
Conflicts:
src/compiler/checker.ts
src/compiler/emitter.ts
|
2015-01-24 21:33:35 +01:00 |
|
Yui T
|
593a0992f9
|
Update emitter due to merge with master
|
2015-01-23 17:28:12 -08:00 |
|
Ivo Gabe de Wolff
|
39027d901a
|
Rename emitParenthesized to emitParenthesizedIf
|
2015-01-23 15:46:32 +01:00 |
|
Ivo Gabe de Wolff
|
cbec9a3a3a
|
Respond to CR
|
2015-01-23 15:44:21 +01:00 |
|
Jason Freeman
|
4a7aa7e929
|
Address CR feedback
|
2015-01-22 19:09:10 -08:00 |
|
Cyrus Najmabadi
|
a82289c8b4
|
Emit comments in a lot more places.
|
2015-01-22 15:58:00 -08:00 |
|