UNPKG

@jupyter-lsp/jupyterlab-lsp

Version:

Language Server Protocol integration for JupyterLab

22 lines (21 loc) 695 B
export declare const RPY2_MAX_ARGS = 10; export declare function extractArgs(args: string[], contentPosition: number): { inputs: string[]; outputs: string[]; rest: string; others: string[]; }; export declare function parseArgs(args: string[], contentPosition: number): { content: string; others: string; inputs: string; outputs: string; }; export declare function reversePattern(quote?: string, multiLine?: boolean, magic?: string): string; export declare function reverseReplacement(match: string, ...args: string[]): { input: string; output: string; other: string; contents: string; }; export declare function argsPattern(maxN: number): string;