Projektstart
This commit is contained in:
18
backend/node_modules/ret/dist/util.d.ts
generated
vendored
Normal file
18
backend/node_modules/ret/dist/util.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import { SetTokens } from './types';
|
||||
/**
|
||||
* Finds character representations in str and convert all to
|
||||
* their respective characters.
|
||||
*
|
||||
* @param {string} str
|
||||
* @returns {string}
|
||||
*/
|
||||
export declare const strToChars: (str: string) => string;
|
||||
/**
|
||||
* Turns class into tokens
|
||||
* reads str until it encounters a ] not preceeded by a \
|
||||
*
|
||||
* @param {string} str
|
||||
* @param {string} regexpStr
|
||||
* @returns {Array.<Array.<Object>, number>}
|
||||
*/
|
||||
export declare const tokenizeClass: (str: string, regexpStr: string) => [SetTokens, number];
|
||||
Reference in New Issue
Block a user