import { Liquid } from "https://deno.land/x/shop@0.0.1/deps.ts";
Methods
_evalValue(str: string, ctx: Context): IterableIterator<any>
_parseAndRender(): IterableIterator<any>
html: string,
scope: object | undefined,
renderOptions: RenderOptions,
_parseLayoutFile(): Generator<unknown, Template[], string | Template[]>
file: string,
sync?: boolean,
currentFile?: string,
_parsePartialFile(): Generator<unknown, Template[], string | Template[]>
file: string,
sync?: boolean,
currentFile?: string,
_render(): IterableIterator<any>
tpl: Template[],
scope: object | undefined,
renderOptions: RenderOptions,
evalValue(str: string, ctx: Context): Promise<any>
evalValueSync(str: string, ctx: Context): any
express(): () => void
this: any,
filePath: string,
ctx: object,
callback: (err: Error | null, rendered: string) => void,
parse(html: string, filepath?: string): Template[]
parseAndRender(): Promise<any>
html: string,
scope?: object,
renderOptions?: RenderOptions,
parseAndRenderSync(): any
html: string,
scope?: object,
renderOptions?: RenderOptions,
parseFile(file: string): Promise<Template[]>
parseFileSync(file: string): Template[]
registerFilter(name: string, filter: FilterImplOptions): void
registerTag(name: string, tag: TagImplOptions): void
render(): Promise<any>
tpl: Template[],
scope?: object,
renderOptions?: RenderOptions,
renderFile(): Promise<any>
file: string,
ctx?: object,
renderOptions?: RenderOptions,
renderFileSync(): any
file: string,
ctx?: object,
renderOptions?: RenderOptions,
renderFileToNodeStream(): Promise<NodeJS.ReadableStream>
file: string,
scope?: object,
renderOptions?: RenderOptions,
renderSync(): any
tpl: Template[],
scope?: object,
renderOptions?: RenderOptions,
renderToNodeStream(): NodeJS.ReadableStream
tpl: Template[],
scope?: object,
renderOptions?: RenderOptions,