function getBoundaryTokens(curNode, nextNode) {
			const lastToken = sourceCode.getLastToken(curNode);
			const prevToken = sourceCode.getTokenBefore(lastToken);
			const nextToken = sourceCode.getFirstToken(nextNode); // skip possible lone `;` between nodes

			const isSemicolonLessStyle =
				astUtils.isSemicolonToken(lastToken) &&
				!astUtils.isTokenOnSameLine(prevToken, lastToken) &&
				astUtils.isTokenOnSameLine(lastToken, nextToken);

			return isSemicolonLessStyle
				? { curLast: prevToken, nextFirst: lastToken }
				: { curLast: lastToken, nextFirst: nextToken };
		}
Gets a pair of tokens that should be used to check lines between two class member nodes.

In most cases, this returns the very last token of the current node and
the very first token of the next node.
For example:

    class C {
        x = 1;   // curLast: `;` nextFirst: `in`
        in = 2
    }

There is only one exception. If the given node ends with a semicolon, and it looks like
a semicolon-less style's semicolon - one that is not on the same line as the preceding
token, but is on the line where the next class member starts - this returns the preceding
token and the semicolon as boundary tokens.
For example:

    class C {
        x = 1    // curLast: `1` nextFirst: `;`
        ;in = 2
    }
When determining the desired layout of the code, we should treat this semicolon as
a part of the next class member node instead of the one it technically belongs to.
@param {ASTNode} curNode Current class member node.
@param {ASTNode} nextNode Next class member node.
@returns {Token} The actual last token of `node`.
@private