Commit graph

516 commits

Author SHA1 Message Date
Vladimir Matveev
4068404cd4 emit prologue directives as first lines in file 2014-07-17 17:43:48 -07:00
Sheetal Nandi
96700069fc renamed isEmitToOwnFile to shouldEmitToOwnFile as per feedback 2014-07-17 12:53:07 -07:00
Sheetal Nandi
b7feb1555b Renamed emitToOwnOutputFile to isEmitToOwnOutputFile 2014-07-17 09:27:28 -07:00
Sheetal Nandi
d9196d66b6 Moved the emit functionality into emitFiles 2014-07-16 15:39:14 -07:00
Sheetal Nandi
fe1fea3710 Merge pull request #30 from Microsoft/declarations
Changes to determine when to qualify the symbol in given enclosing declaration
2014-07-16 15:20:00 -07:00
Sheetal Nandi
148abea09d Use the isDeclarationVisible in checker to determine if the declaration needs to be emitted
This would help in unifying logic of when to check if the type is visible
2014-07-16 11:37:49 -07:00
Anders Hejlsberg
c1d0fd979d More I/O fixes
Support for --charset command line option
File read and write errors are propagated into compiler diagnostics
emitFiles returns diagnostics in EmitResult
2014-07-16 10:57:05 -07:00
Sheetal Nandi
574c075dba Emit the types in declaration file 2014-07-15 13:08:10 -07:00
Sheetal Nandi
455364cf5a Do not emit the signature for implementation of overload in the declaration file 2014-07-15 08:58:02 -07:00
Sheetal Nandi
d1cdf03d53 Correct the external module check to determine if declaration is part of export assignment 2014-07-15 08:57:48 -07:00
Sheetal Nandi
bb7f7fb8dd Correct the condition for variable statement emit in the declaraiton file 2014-07-15 08:57:39 -07:00
Sheetal Nandi
cd14e36460 Emit alias declaration if its name is used as identifier of export assignment 2014-07-15 08:57:30 -07:00
Sheetal Nandi
063399d228 Emit declaration if its identifier is used in export assignment of external module 2014-07-15 08:57:22 -07:00
Sheetal Nandi
ea7c23eb63 Emit global context declarations into the declaration file 2014-07-15 08:57:12 -07:00
Daniel Rosenwasser
ef67d5740e Support emit for trailing comma in array literals. 2014-07-14 14:26:17 -07:00
Mohamed Hegazy
214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00