/** * Hand-written scanner for SceneGraph XML. * * Unlike the BrightScript lexer, XML tokenization is context-sensitive: `<` * inside a tag's attribute list means something different than `<` in * element content, `=` and quoted strings only make sense between a tag's * ``/`/>`, and comments can only appear in content * position. The scanner tracks this as two modes, `'content'` and `'tag'`, * switching on `<`/``/`/>` (tag → content). * * Every byte of the source is represented — either as a token's `text` or as * trivia attached to a token — so concatenating `xmlTokenFullText()` for * every token reproduces the original source byte-for-byte. */ import { XmlToken } from './xmlToken.js'; export declare function xmlTokenize(source: string): XmlToken[]; //# sourceMappingURL=xmlLexer.d.ts.map