@@ -9,12 +9,12 @@ export default class Tape {
99	/** 
1010	 * The constructor. Stores the callable that yields values to put on the tape. 
1111	 * 
12- 	 * @param  {Callable } callable - The callable to use. 
12+ 	 * @param  {Function } callable - The callable to use. 
1313	 */ 
1414	constructor ( callable )  { 
1515		/** 
1616		 * The callable yielding values to put on the tape. 
17- 		 * @type  {Callable } 
17+ 		 * @type  {Function } 
1818		 */ 
1919		this . callable  =  callable ; 
2020
@@ -26,7 +26,7 @@ export default class Tape {
2626
2727		/** 
2828		 * The eof symbol. 
29- 		 * @type  {String } 
29+ 		 * @type  {any } 
3030		 */ 
3131		this . eof  =  eof ; 
3232	} 
@@ -35,7 +35,7 @@ export default class Tape {
3535	 * Returns the next token on the tape or {@link  Tape#eof} 
3636	 * if the tape has been exhausted. 
3737	 * 
38- 	 * @returns  {Object } The next token on the tape or {@link  Tape#eof}. 
38+ 	 * @returns  {Promise } The next token on the tape or {@link  Tape#eof}. 
3939	 */ 
4040	async  read ( )  { 
4141		if  ( this . buffer . length  >  0 )  return  this . buffer . pop ( ) ; 
@@ -51,7 +51,7 @@ export default class Tape {
5151	 * Puts a token back on the tape. If {@link  Tape#read} is 
5252	 * used just after, this token will be returned. 
5353	 * 
54- 	 * @param  {Object } token - The token to put back on the tape. 
54+ 	 * @param  {any } token - The token to put back on the tape. 
5555	 */ 
5656	unread ( token )  { 
5757		// Should this be async too ? 
@@ -69,7 +69,7 @@ export default class Tape {
6969	/** 
7070	 * Skip the next `n` tokens on the tape. 
7171	 * 
72- 	 * @param  {Number } n - The number of tokens to skip. 
72+ 	 * @param  {number } n - The number of tokens to skip. 
7373	 */ 
7474	async  skipMany ( n )  { 
7575		while  ( n --  >  0 )  await  this . skip ( ) ;  // eslint-disable-line no-await-in-loop 
0 commit comments