Improve JSDoc on Thread

This commit is contained in:
Tim Mickel 2016-05-02 13:05:48 -04:00
parent 7a5341b863
commit 773f2e1bbc

View file

@ -5,12 +5,13 @@
*/
function Thread (firstBlock) {
/**
* Top block of the thread
* ID of top block of the thread
* @type {!string}
*/
this.topBlock = firstBlock;
/**
* Next block that the thread will execute.
* @type {string}
* ID of next block that the thread will execute, or null if none.
* @type {?string}
*/
this.nextBlock = firstBlock;
/**