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 |
|
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 |
|
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 |
|
Yui T
|
593a0992f9
|
Update emitter due to merge with master
|
2015-01-23 17:28:12 -08: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 |
|
Cyrus Najmabadi
|
d2e96c1779
|
Simplify enum emit.
|
2015-01-22 14:45:55 -08:00 |
|
Vladimir Matveev
|
ad42afc4af
|
resolve merge conflicts
|
2015-01-22 11:23:27 -08:00 |
|
Jason Freeman
|
b022ccd430
|
Merge branch 'master' into computedProperties
Conflicts:
src/compiler/checker.ts
|
2015-01-21 11:03:24 -08:00 |
|
Jason Freeman
|
de5aa6c0d2
|
Fix source map scope name for computed properties
|
2015-01-21 11:01:05 -08:00 |
|
Yui T
|
581beb58dc
|
Merge branch 'master' into emitArrowFunctionES6
|
2015-01-21 10:36:32 -08:00 |
|
Sheetal Nandi
|
e8e2356afa
|
Fixes the emit of comment when comment ends on last line
This fixes regression from 5a7500ca5e with addition of eof token
Handles #1714
|
2015-01-20 21:16:14 -08:00 |
|
Jason Freeman
|
eb7798fbb2
|
Skip computed properties on declaration emit
|
2015-01-20 18:29:04 -08:00 |
|
Vladimir Matveev
|
45ac06a0f2
|
move line map related function out of SourceFile
|
2015-01-16 12:02:12 -08:00 |
|
Anders Hejlsberg
|
bce15cb368
|
Fixing negated language version checks
|
2015-01-16 07:15:31 -08:00 |
|
Yui T
|
ba239c5812
|
Address code review
|
2015-01-15 17:12:44 -08:00 |
|
Anders Hejlsberg
|
65452aa011
|
Hardening compiler to accept empty CompilerOptions object
|
2015-01-15 15:57:08 -08:00 |
|
Daniel Rosenwasser
|
7b11621750
|
Merge pull request #1571 from Arnavion/1570-template-strings
Don't emit an empty template head literal if there's a template span with a non-empty literal.
|
2015-01-08 12:17:17 -08:00 |
|
Daniel Rosenwasser
|
df4b3d2d37
|
Merge pull request #1547 from Microsoft/moveEmitHost
Moved EmitHost to utilities.ts so that it can be edited alone, and to fix resulting declaration file
|
2015-01-07 13:13:49 -08:00 |
|
Daniel Rosenwasser
|
f32683d231
|
Merge pull request #1529 from Microsoft/uninstantiatedModulesBeforeClasses
Allow uninstantiated modules before clodules
|
2015-01-07 12:40:50 -08:00 |
|
Yui T
|
7d0fc62256
|
Emit this binding natively in es6
|
2015-01-07 11:54:12 -08:00 |
|
Yui T
|
b0ea40164c
|
Emit Arrow function natively in ES6
|
2015-01-06 18:18:37 -08:00 |
|