UNPKG

@kodeko/akita-core

Version:
48 lines 1.25 kB
export interface matchedFunction { prototype?: string; match: string; name: string; pos: number; len: number; } export interface functionFields { overloads: akitaFunction[]; value: string; } export interface akitaFunction { prototype?: string; fields?: functionFields[]; inside?: string; total: string; name: string; pos: number; _id: number; id: string; } export declare const default_lexer_options: { insensitive?: boolean; argument?: string; opener?: string; closer?: string; }; export declare class Lexer { private options; private regexp; private functions; input: string; constructor(options?: typeof default_lexer_options); set_input(n: string): void; set_functions(functions: string[]): this; find_function(x: string): string | undefined; private match_functions; lex_inside(after: string, functions_array: Array<akitaFunction>): { fields: functionFields[]; inside: string; functions_array: akitaFunction[]; }; main(debug?: boolean): { functions_array: akitaFunction[]; input: string; }; } //# sourceMappingURL=old_lexer.d.ts.map