requireAsExpressionHandler = expr => {
			const dep = new CommonJsRequireContextDependency(
				{
					request: /** @type {string} */ (options.unknownContextRequest),
					recursive: /** @type {boolean} */ (options.unknownContextRecursive),
					regExp: /** @type {RegExp} */ (options.unknownContextRegExp),
					mode: "sync"
				},
				/** @type {Range} */ (expr.range),
				undefined,
				parser.scope.inShorthand,
				getContext()
			);
			dep.critical =
				options.unknownContextCritical &&
				"require function is used in a way in which dependencies cannot be statically extracted";
			dep.loc = /** @type {DependencyLocation} */ (expr.loc);
			dep.optional = Boolean(parser.scope.inTry);
			parser.state.current.addDependency(dep);
			return true;
		}
@param {Expression} expr expression
@returns {boolean} true when handled