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.
10 lines
No EOL
119 B
TypeScript
10 lines
No EOL
119 B
TypeScript
// test
|
|
var f = ''
|
|
// test #2
|
|
module foo {
|
|
function bar() { }
|
|
}
|
|
// test #3
|
|
module empty {
|
|
}
|
|
// test #4
|