UNPKG

svelte-ast-print

Version:

Serialize Svelte AST nodes into stringified syntax. A.k.a parse in reverse.

32 lines 654 B
import { Wrapper } from "../_internal/shared.js"; import { AngleBrackets } from "../_internal/wrapper.js"; /** * @internal * @__NO_SIDE_EFFECTS__ */ export const HTMLOpeningTag = AngleBrackets; /** * @internal * @__NO_SIDE_EFFECTS__ */ export class HTMLSelfClosingTag extends Wrapper { static START = "<"; static END = "/>"; } /** * @internal * @__NO_SIDE_EFFECTS__ */ export class HTMLClosingTag extends Wrapper { static START = "</"; static END = ">"; } /** * @internal * @__NO_SIDE_EFFECTS__ */ export class HTMLComment extends Wrapper { static START = "<!--"; static END = "-->"; } //# sourceMappingURL=html.js.map