function isOnFirstLineOfStatement(token, leafNode) {
			let node = leafNode;

			while (
				node.parent &&
				!node.parent.type.endsWith("Statement") &&
				!node.parent.type.endsWith("Declaration")
			) {
				node = node.parent;
			}
			node = node.parent;

			return !node || node.loc.start.line === token.loc.start.line;
		}
Check whether the given token is on the first line of a statement.
@param {Token} token The token to check.
@param {ASTNode} leafNode The expression node that the token belongs directly.
@returns {boolean} `true` if the token is on the first line of a statement.