UNPKG

htmljs-parser

Version:

An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values

8 lines (7 loc) 422 B
import { Parser, type StateDefinition, STATE, type Meta } from "../internal"; export interface DelimitedHTMLBlockMeta extends Meta { delimiter: string; indent: string; } export declare const BEGIN_DELIMITED_HTML_BLOCK: StateDefinition<DelimitedHTMLBlockMeta>; export declare function handleDelimitedEOL(parser: Parser, newLineLength: number, content: STATE.ParsedTextContentMeta | STATE.HTMLContentMeta): boolean;