Cyrus Najmabadi
5a7500ca5e
Add a dedicated 'EndOfFile' token to a SourceFile.
...
This is important for incremental parsing, as it is where we can attach parse errors at the end of
the file to. Also, it helps with things like emitting comments at the end of the file.
2014-12-02 16:09:41 -08:00
Sheetal Nandi
3dd21fc3a7
Trailing comment tests for parameters, fixes the trailing // comments and parameter indentation
2014-08-15 13:18:54 -07:00
Sheetal Nandi
adc700aba5
Emit space before emitting trailing comments
2014-08-14 16:36:33 -07:00
Sheetal Nandi
0caa1f6dc7
Emit trailing comments
2014-08-14 09:47:50 -07:00
Sheetal Nandi
c9d16b002d
Comments for module declaration
2014-08-14 06:53:37 -07:00
Sheetal Nandi
6d6f27cdce
Emit comments for class and constructor
2014-08-14 06:42:18 -07:00
Sheetal Nandi
86c2f2c444
Emit comments for function and method declarations
2014-08-14 06:21:30 -07:00
Sheetal Nandi
3e95358486
Emit comments in the javascript code if --removecomments is not specified
2014-08-14 05:41:04 -07:00
Mohamed Hegazy
214df64e28
Add snapshot of compiler sources
2014-07-12 17:30:19 -07:00