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.
9 lines
116 B
TypeScript
9 lines
116 B
TypeScript
//// [commentsAtEndOfFile1.ts]
|
|
Input:
|
|
;
|
|
//Testing two
|
|
|
|
|
|
//// [commentsAtEndOfFile1.js]
|
|
Input: ;
|
|
//Testing two
|