5a7500ca5e
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.
57 lines
535 B
JavaScript
57 lines
535 B
JavaScript
//// [emitCommentsOnlyFile.ts]
|
|
|
|
/**
|
|
* @name Foo
|
|
* @class
|
|
*/
|
|
/**#@+
|
|
* @memberOf Foo#
|
|
* @field
|
|
*/
|
|
/**
|
|
* @name bar
|
|
* @type Object[]
|
|
*/
|
|
/**#@-*/
|
|
/**
|
|
* @name Foo2
|
|
* @class
|
|
*/
|
|
/**#@+
|
|
* @memberOf Foo2#
|
|
* @field
|
|
*/
|
|
/**
|
|
* @name bar
|
|
* @type Object[]
|
|
*/
|
|
/**#@-*/
|
|
|
|
|
|
//// [emitCommentsOnlyFile.js]
|
|
/**
|
|
* @name Foo
|
|
* @class
|
|
*/
|
|
/**#@+
|
|
* @memberOf Foo#
|
|
* @field
|
|
*/
|
|
/**
|
|
* @name bar
|
|
* @type Object[]
|
|
*/
|
|
/**#@-*/
|
|
/**
|
|
* @name Foo2
|
|
* @class
|
|
*/
|
|
/**#@+
|
|
* @memberOf Foo2#
|
|
* @field
|
|
*/
|
|
/**
|
|
* @name bar
|
|
* @type Object[]
|
|
*/
|
|
/**#@-*/
|