Class Context

Constructors

Properties

breakCalled: boolean = false
continueCalled: boolean = false
environments: Scope

user passed in scope {% increment %}, {% decrement %} changes this scope, whereas {% capture %}, {% assign %} only hide this scope

globals: Scope

global scope used as fallback for missing variables

liquid?: any

Reference to the Liquid instance for filter resolution

memoryLimit: Limiter

The normalized liquid options object

ownPropertyOnly: boolean
renderLimit: TimeLimiter
strictVariables: boolean

Throw when accessing undefined variable?

sync: boolean

Methods

  • Returns the value, or a generator that finishes the lookup when a Promise or iterator is met.

    Parameters

    Returns unknown

  • Returns the value, or a generator that finishes the lookup when a Promise or iterator is met.

    Parameters

    • scope: unknown
    • paths: string | (Drop | PropertyKey)[]
    • strictVariables: boolean = ...

    Returns unknown

  • Parameters

    • Rest...keys: string[]

    Returns [string, any][]