@easyquery/core
Version:
EasyQuery.JS core modules
18 lines (17 loc) • 387 B
TypeScript
export interface FormatToken {
type: string;
text?: string;
index?: number;
}
export declare class FormatParser {
private formatStr;
private pos;
private exprNum;
private tokenText;
private token;
constructor(format: string);
start(format: string): void;
skipSpaces(): void;
next(): boolean;
parse(): FormatToken[];
}