Class Liquid

Constructors

Properties

filters: Record<string, FilterImplOptions> = {}
parser: Parser

will be removed. In tags use this.parser instead

renderer: Render = ...
tags: Record<string, TagClass> = {}

Methods

  • Parameters

    • str: string
    • Optionalscope: object | Context

    Returns Promise<any>

  • Parameters

    • str: string
    • Optionalscope: object | Context

    Returns any

  • Returns ((this: any, filePath: string, ctx: object, callback: ((err: null | Error, rendered: string) => void)) => void)

      • (this, filePath, ctx, callback): void
      • Parameters

        • this: any
        • filePath: string
        • ctx: object
        • callback: ((err: null | Error, rendered: string) => void)
            • (err, rendered): void
            • Parameters

              • err: null | Error
              • rendered: string

              Returns void

        Returns void

  • Parameters

    Returns Promise<any>

  • Parameters

    Returns any