@@ -251,7 +251,7 @@ function extendAcornParser(Parser) {
251
251
252
252
/**
253
253
* Overwrites the default raise method to throw Esprima-style errors.
254
- * @param {int } pos The position of the error.
254
+ * @param {number } pos The position of the error.
255
255
* @param {string } message The error message.
256
256
* @throws {SyntaxError } A syntax error.
257
257
* @returns {void }
@@ -268,7 +268,7 @@ function extendAcornParser(Parser) {
268
268
269
269
/**
270
270
* Overwrites the default raise method to throw Esprima-style errors.
271
- * @param {int } pos The position of the error.
271
+ * @param {number } pos The position of the error.
272
272
* @param {string } message The error message.
273
273
* @throws {SyntaxError } A syntax error.
274
274
* @returns {void }
@@ -279,7 +279,7 @@ function extendAcornParser(Parser) {
279
279
280
280
/**
281
281
* Overwrites the default unexpected method to throw Esprima-style errors.
282
- * @param {int } pos The position of the error.
282
+ * @param {number } pos The position of the error.
283
283
* @throws {SyntaxError } A syntax error.
284
284
* @returns {void }
285
285
*/
@@ -324,8 +324,8 @@ function extendAcornParser(Parser) {
324
324
325
325
/**
326
326
* Performs last-minute Esprima-specific compatibility checks and fixes.
327
- * @param {ASTNode } result The node to check.
328
- * @returns {ASTNode } The finished node.
327
+ * @param {acorn.Node } result The node to check.
328
+ * @returns {acorn.Node } The finished node.
329
329
*/
330
330
[ ESPRIMA_FINISH_NODE ] ( result ) {
331
331
0 commit comments