@krassowski/jupyterlab-lsp
Version:
Language Server Protocol integration for JupyterLab
22 lines (21 loc) • 723 B
TypeScript
export declare const RPY2_MAX_ARGS = 10;
export declare function extract_r_args(args: string[], content_position: number): {
inputs: string[];
outputs: string[];
rest: string;
others: string[];
};
export declare function parse_r_args(args: string[], content_position: number): {
content: string;
others: string;
inputs: string;
outputs: string;
};
export declare function rpy2_reverse_pattern(quote?: string, multi_line?: boolean, magic?: string): string;
export declare function rpy2_reverse_replacement(match: string, ...args: string[]): {
input: string;
output: string;
other: string;
contents: string;
};
export declare function rpy2_args_pattern(max_n: number): string;