UNPKG

svelte-ast-print

Version:

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

42 lines 764 B
import { Wrapper } from "./shared.js"; /** * @internal * @__NO_SIDE_EFFECTS__ */ export class AngleBrackets extends Wrapper { static START = "<"; static END = ">"; } /** * @internal * @__NO_SIDE_EFFECTS__ */ export class CurlyBrackets extends Wrapper { static START = "{"; static END = "}"; } /** * @internal * @__NO_SIDE_EFFECTS__ */ export class RoundBrackets extends Wrapper { static START = "("; static END = ")"; } /** * @internal * @__NO_SIDE_EFFECTS__ */ export class SquareBrackets extends Wrapper { static START = "["; static END = "]"; } /** * @internal * @__NO_SIDE_EFFECTS__ */ export class DoubleQuotes extends Wrapper { static START = '"'; static END = '"'; } //# sourceMappingURL=wrapper.js.map