11 lines
456 B
Plaintext
11 lines
456 B
Plaintext
import type { TSESTree } from '../ts-estree';
|
|
/**
|
|
* A regular expression to match line terminators.
|
|
* @see https://tc39.es/ecma262/multipage/ecmascript-language-lexical-grammar.html#prod-LineTerminator
|
|
*/
|
|
export declare const LINEBREAK_MATCHER: RegExp;
|
|
/**
|
|
* Determines whether two adjacent tokens are on the same line
|
|
*/
|
|
export declare function isTokenOnSameLine(left: TSESTree.Node | TSESTree.Token, right: TSESTree.Node | TSESTree.Token): boolean;
|