(html: string, scope?: Context | object, renderOptions?: RenderOptions)
| 53 | return toPromise(this._parseAndRender(html, scope, { ...renderOptions, sync: false })) |
| 54 | } |
| 55 | public parseAndRenderSync (html: string, scope?: Context | object, renderOptions?: RenderOptions): any { |
| 56 | return toValueSync(this._parseAndRender(html, scope, { ...renderOptions, sync: true })) |
| 57 | } |
| 58 | |
| 59 | public _parsePartialFile (file: string, sync?: boolean, currentFile?: string) { |
| 60 | return new Parser(this).parseFile(file, sync, LookupType.Partials, currentFile) |