UNPKG

@aurahelper/languages

Version:

Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more

14 lines (13 loc) 441 B
import { Token } from "@aurahelper/core"; /** * Class to tokenize Aura XML files */ export declare class AuraTokenizer { /** * Method to Tokenize Aura XML files * @param {string} filePathOrContent File path or File content to tokenize * @param {number} [tabSize] File tab size * @returns {Token[]} Return file tokens */ static tokenize(filePathOrContent: string, tabSize?: number): Token[]; }