@@ -60,7 +60,7 @@ const BINARY_OPERATOR_PRECEDENCE = {
60
60
* Parses an expression from a token stream.
61
61
*
62
62
* @param {TokenStream } tokenStream
63
- * @param {number? } minPrecedence Minimum precedence of operators to accept.
63
+ * @param {number= } minPrecedence Minimum precedence of operators to accept.
64
64
* Operators whose precedence is lower than this value are not be parsed.
65
65
* @return {AstExpression }
66
66
* @throws {D2FSyntaxError } If an expression is malformed.
@@ -320,7 +320,7 @@ function finishParsingReferenceCall(tokenStream, identifier, ref, dotCode1) {
320
320
* Asserts that `token` is not an end-of-input token.
321
321
*
322
322
* @param {InstanceType<Token> | undefined } token
323
- * @param {string? } extraMessage String to append to the default error message
323
+ * @param {string= } extraMessage String to append to the default error message
324
324
* @return {asserts token }
325
325
* @throws {D2FSyntaxError } If `token` is an end-of-input token
326
326
*/
@@ -343,7 +343,7 @@ function assertIsNotEndOfInput(token, extraMessage = "") {
343
343
* @param {InstanceType<Token> | undefined } token
344
344
* @template {InstanceType<Token>} T
345
345
* @param {Constructor<T> } tokenConstructor
346
- * @param {string? } extraMessage String to append to the default error message
346
+ * @param {string= } extraMessage String to append to the default error message
347
347
* @return {asserts token is T }
348
348
* @throws {D2FSyntaxError } If `token` is an end-of-input token, or otherwise
349
349
* not an instance of `tokenConstructor`
0 commit comments