st-bundle
Version:
CLI for watching and bundling SpringType projects.
20 lines (19 loc) • 564 B
TypeScript
export interface ITokenizerGroup {
sharedWorkerImport?: string;
workerImport?: string;
requireStatement?: string;
importModule?: string;
importFrom?: string;
dynamicImport?: string;
singleLineComment?: string;
commentStart?: string;
commentEnd?: string;
systemVariable?: {
declaration?: string;
name: string;
};
exportsKeyword?: boolean;
jsxToken?: boolean;
mappedLine?: string;
}
export declare function tokenize(input: string, onToken: (group: ITokenizerGroup) => void, debug?: any): void;