diff --git a/api/classes/cache_lru_.lru.html b/api/classes/cache_lru_.lru.html index 88668096a..431d3a03e 100644 --- a/api/classes/cache_lru_.lru.html +++ b/api/classes/cache_lru_.lru.html @@ -123,11 +123,8 @@

Returns: LRU

-

Properties

Private cache

cache: object

+

Properties

Private cache

cache: Record‹string, Node‹T››

Defined in src/cache/lru.ts:13

-

Type declaration:


Private head

head: Node‹T›

Defined in src/cache/lru.ts:14

@@ -208,7 +205,7 @@ @@ -217,7 +214,7 @@
Contents -
  1. Type parameters
  2. Hierarchy
  3. Implements
  4. Constructors
    1. constructor
  5. Properties
    1. Private cache
      1. Type declaration:
    2. Private head
    3. limit
    4. size
    5. Private tail
  6. Methods
    1. clear
    2. Private ensureLimit
    3. read
    4. remove
    5. write
+
  1. Type parameters
  2. Hierarchy
  3. Implements
  4. Constructors
    1. constructor
  5. Properties
    1. Private cache
    2. Private head
    3. limit
    4. size
    5. Private tail
  6. Methods
    1. clear
    2. Private ensureLimit
    3. read
    4. remove
    5. write
Back to Top
diff --git a/api/classes/cache_lru_.node.html b/api/classes/cache_lru_.node.html index 7d202dd43..8474c3779 100644 --- a/api/classes/cache_lru_.node.html +++ b/api/classes/cache_lru_.node.html @@ -139,7 +139,7 @@ diff --git a/api/classes/context_context_.context.html b/api/classes/context_context_.context.html index 7f3ccd017..9bef3cac5 100644 --- a/api/classes/context_context_.context.html +++ b/api/classes/context_context_.context.html @@ -97,7 +97,7 @@
  • Context
  • Constructors

    constructor

    + new Context(env: object, opts: NormalizedFullOptions, renderOptions: RenderOptions): Context

    -

    Defined in src/context/context.ts:36

    +

    Defined in src/context/context.ts:34

    Parameters:

    @@ -125,32 +125,32 @@

    Returns: Context

    Properties

    environments

    environments: Scope

    -

    Defined in src/context/context.ts:23

    +

    Defined in src/context/context.ts:21

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


    globals

    globals: Scope

    -

    Defined in src/context/context.ts:27

    +

    Defined in src/context/context.ts:25

    global scope used as fallback for missing variables


    opts

    opts: NormalizedFullOptions

    -

    Defined in src/context/context.ts:32

    +

    Defined in src/context/context.ts:30

    The normalized liquid options object


    Private registers

    registers: object

    -

    Defined in src/context/context.ts:17

    +

    Defined in src/context/context.ts:15

    Type declaration:


    Private scopes

    scopes: Scope[] = [{}]

    -

    Defined in src/context/context.ts:16

    +

    Defined in src/context/context.ts:14

    insert a Context-level empty scope,
    for tags like {% capture %} {% assign %} to operate


    strictVariables

    strictVariables: boolean

    -

    Defined in src/context/context.ts:36

    +

    Defined in src/context/context.ts:34

    Throw when accessing undefined variable?


    sync

    sync: boolean

    -

    Defined in src/context/context.ts:28

    +

    Defined in src/context/context.ts:26

    Methods

    _get

    _get(paths: PropertyKey[]): IterableIterator‹unknown›

    -

    Defined in src/context/context.ts:66

    +

    Defined in src/context/context.ts:64

    Parameters:

    @@ -167,7 +167,7 @@

    Returns: IterableIterator‹unknown›


    _getFromScope

    _getFromScope(scope: unknown, paths: PropertyKey[] | string): IterableIterator‹unknown›

    -

    Defined in src/context/context.ts:76

    +

    Defined in src/context/context.ts:74

    Parameters:

    @@ -188,11 +188,11 @@

    Returns: IterableIterator‹unknown›


    bottom

    bottom(): Scope

    -

    Defined in src/context/context.ts:92

    +

    Defined in src/context/context.ts:90

    Returns: Scope


    Private findScope

    findScope(key: string | number): Scope

    -

    Defined in src/context/context.ts:95

    +

    Defined in src/context/context.ts:93

    Parameters:

    @@ -209,7 +209,7 @@

    Returns: Scope


    get

    get(paths: PropertyKey[]): unknown

    -

    Defined in src/context/context.ts:63

    +

    Defined in src/context/context.ts:61

    deprecated use _get() instead

    Parameters:

    @@ -227,11 +227,11 @@

    Returns: unknown


    getAll

    getAll(): Scope

    -

    Defined in src/context/context.ts:56

    +

    Defined in src/context/context.ts:54

    Returns: Scope


    getFromScope

    getFromScope(scope: unknown, paths: PropertyKey[] | string): IterableIterator‹unknown›

    -

    Defined in src/context/context.ts:73

    +

    Defined in src/context/context.ts:71

    deprecated use _get() instead

    Parameters:

    @@ -253,7 +253,7 @@

    Returns: IterableIterator‹unknown›


    getRegister

    getRegister(key: string): any

    -

    Defined in src/context/context.ts:44

    +

    Defined in src/context/context.ts:42

    Parameters:

    @@ -269,12 +269,12 @@

    Returns: any


    -

    pop

    pop(): undefined | Drop‹› | PlainObject

    -

    Defined in src/context/context.ts:89

    -

    Returns: undefined | Drop‹› | PlainObject

    +

    pop

    pop(): undefined | ScopeObject‹› | Drop‹›

    +

    Defined in src/context/context.ts:87

    +

    Returns: undefined | ScopeObject‹› | Drop‹›


    push

    push(ctx: object): number

    -

    Defined in src/context/context.ts:86

    +

    Defined in src/context/context.ts:84

    Parameters:

    @@ -291,7 +291,7 @@

    Returns: number


    restoreRegister

    restoreRegister(keyValues: [string, any][]): void

    -

    Defined in src/context/context.ts:53

    +

    Defined in src/context/context.ts:51

    Parameters:

    @@ -308,7 +308,7 @@

    Returns: void


    saveRegister

    saveRegister(…keys: string[]): [string, any][]

    -

    Defined in src/context/context.ts:50

    +

    Defined in src/context/context.ts:48

    Parameters:

    @@ -325,7 +325,7 @@

    Returns: [string, any][]


    setRegister

    setRegister(key: string, value: any): any

    -

    Defined in src/context/context.ts:47

    +

    Defined in src/context/context.ts:45

    Parameters:

    @@ -347,7 +347,7 @@ diff --git a/api/classes/drop_blank_drop_.blankdrop.html b/api/classes/drop_blank_drop_.blankdrop.html index 230748fa6..979fe8e47 100644 --- a/api/classes/drop_blank_drop_.blankdrop.html +++ b/api/classes/drop_blank_drop_.blankdrop.html @@ -161,7 +161,7 @@ diff --git a/api/classes/drop_block_drop_.blockdrop.html b/api/classes/drop_block_drop_.blockdrop.html index 4248b27ba..9ee51829f 100644 --- a/api/classes/drop_block_drop_.blockdrop.html +++ b/api/classes/drop_block_drop_.blockdrop.html @@ -132,7 +132,7 @@ diff --git a/api/classes/drop_drop_.drop.html b/api/classes/drop_drop_.drop.html index deae923db..eaace017b 100644 --- a/api/classes/drop_drop_.drop.html +++ b/api/classes/drop_drop_.drop.html @@ -120,7 +120,7 @@ diff --git a/api/classes/drop_empty_drop_.emptydrop.html b/api/classes/drop_empty_drop_.emptydrop.html index 8df3010f3..a97749eb4 100644 --- a/api/classes/drop_empty_drop_.emptydrop.html +++ b/api/classes/drop_empty_drop_.emptydrop.html @@ -159,7 +159,7 @@ diff --git a/api/classes/drop_forloop_drop_.forloopdrop.html b/api/classes/drop_forloop_drop_.forloopdrop.html index e1547ab9e..8e451f00e 100644 --- a/api/classes/drop_forloop_drop_.forloopdrop.html +++ b/api/classes/drop_forloop_drop_.forloopdrop.html @@ -183,7 +183,7 @@ diff --git a/api/classes/drop_null_drop_.nulldrop.html b/api/classes/drop_null_drop_.nulldrop.html index a68958abd..9b0bdb367 100644 --- a/api/classes/drop_null_drop_.nulldrop.html +++ b/api/classes/drop_null_drop_.nulldrop.html @@ -158,7 +158,7 @@ diff --git a/api/classes/drop_tablerowloop_drop_.tablerowloopdrop.html b/api/classes/drop_tablerowloop_drop_.tablerowloopdrop.html index 4f7950759..9eb46751d 100644 --- a/api/classes/drop_tablerowloop_drop_.tablerowloopdrop.html +++ b/api/classes/drop_tablerowloop_drop_.tablerowloopdrop.html @@ -218,7 +218,7 @@ diff --git a/api/classes/emitters_keeping_type_emitter_.keepingtypeemitter.html b/api/classes/emitters_keeping_type_emitter_.keepingtypeemitter.html index f8a0c00de..158f1e2dd 100644 --- a/api/classes/emitters_keeping_type_emitter_.keepingtypeemitter.html +++ b/api/classes/emitters_keeping_type_emitter_.keepingtypeemitter.html @@ -122,7 +122,7 @@ diff --git a/api/classes/emitters_simple_emitter_.simpleemitter.html b/api/classes/emitters_simple_emitter_.simpleemitter.html index 4d2324ccf..5278a6058 100644 --- a/api/classes/emitters_simple_emitter_.simpleemitter.html +++ b/api/classes/emitters_simple_emitter_.simpleemitter.html @@ -122,7 +122,7 @@ diff --git a/api/classes/emitters_streamed_emitter_.streamedemitter.html b/api/classes/emitters_streamed_emitter_.streamedemitter.html index 7f3022961..f35ebad30 100644 --- a/api/classes/emitters_streamed_emitter_.streamedemitter.html +++ b/api/classes/emitters_streamed_emitter_.streamedemitter.html @@ -146,7 +146,7 @@ diff --git a/api/classes/emitters_streamed_emitter_browser_.streamedemitter.html b/api/classes/emitters_streamed_emitter_browser_.streamedemitter.html index 707267623..5a8e5c977 100644 --- a/api/classes/emitters_streamed_emitter_browser_.streamedemitter.html +++ b/api/classes/emitters_streamed_emitter_browser_.streamedemitter.html @@ -150,7 +150,7 @@ diff --git a/api/classes/fs_loader_.loader.html b/api/classes/fs_loader_.loader.html index 2952edf45..6020afc3c 100644 --- a/api/classes/fs_loader_.loader.html +++ b/api/classes/fs_loader_.loader.html @@ -97,7 +97,7 @@
  • Loader
  • Constructors

    constructor

    + new Loader(options: LoaderOptions): Loader

    -

    Defined in src/fs/loader.ts:21

    +

    Defined in src/fs/loader.ts:20

    Parameters:

    @@ -113,7 +113,7 @@

    Returns: Loader

    Properties

    Private contains

    contains: function

    -

    Defined in src/fs/loader.ts:21

    +

    Defined in src/fs/loader.ts:20

    Type declaration:

    ▸ (root: string, file: string): boolean

    Parameters:

    @@ -134,10 +134,10 @@

    Private options

    options: LoaderOptions

    -

    Defined in src/fs/loader.ts:20

    +

    Defined in src/fs/loader.ts:19


    shouldLoadRelative

    shouldLoadRelative: function

    -

    Defined in src/fs/loader.ts:19

    +

    Defined in src/fs/loader.ts:18

    Type declaration:

    ▸ (referencedFile: string): boolean

    Parameters:

    @@ -153,7 +153,7 @@

    Methods

    candidates

    candidates(file: string, dirs: string[], currentFile?: undefined | string, enforceRoot?: undefined | false | true): Generator‹string, void, unknown›

    -

    Defined in src/fs/loader.ts:45

    +

    Defined in src/fs/loader.ts:44

    Parameters:

    @@ -182,7 +182,7 @@

    Returns: Generator‹string, void, unknown›


    Private dirname

    dirname(path: string): string

    -

    Defined in src/fs/loader.ts:69

    +

    Defined in src/fs/loader.ts:68

    Parameters:

    @@ -199,7 +199,7 @@

    Returns: string


    lookup

    lookup(file: string, type: LookupType, sync?: undefined | false | true, currentFile?: undefined | string): Generator‹unknown, string, string›

    -

    Defined in src/fs/loader.ts:36

    +

    Defined in src/fs/loader.ts:35

    Parameters:

    @@ -228,7 +228,7 @@

    Returns: Generator‹unknown, string, string›


    Private lookupError

    lookupError(file: string, roots: string[]): any

    -

    Defined in src/fs/loader.ts:75

    +

    Defined in src/fs/loader.ts:74

    Parameters:

    @@ -250,7 +250,7 @@ diff --git a/api/classes/liquid_.liquid.html b/api/classes/liquid_.liquid.html index 6b05ca5d5..8ec471350 100644 --- a/api/classes/liquid_.liquid.html +++ b/api/classes/liquid_.liquid.html @@ -97,7 +97,7 @@
  • Liquid
  • Constructors

    constructor

    + new Liquid(opts: LiquidOptions): Liquid

    -

    Defined in src/liquid.ts:26

    +

    Defined in src/liquid.ts:16

    Parameters:

    @@ -114,22 +114,22 @@

    Returns: Liquid

    -

    Properties

    Readonly filters

    filters: FilterMap

    -

    Defined in src/liquid.ts:25

    +

    Properties

    Readonly filters

    filters: Record‹string, FilterImplOptions

    +

    Defined in src/liquid.ts:15


    Readonly options

    options: NormalizedFullOptions

    -

    Defined in src/liquid.ts:22

    +

    Defined in src/liquid.ts:12


    Readonly parser

    parser: Parser

    -

    Defined in src/liquid.ts:24

    +

    Defined in src/liquid.ts:14


    -

    Readonly renderer

    renderer: Render

    -

    Defined in src/liquid.ts:23

    +

    Readonly renderer

    renderer: Render‹› = new Render()

    +

    Defined in src/liquid.ts:13


    -

    Readonly tags

    tags: TagMap

    -

    Defined in src/liquid.ts:26

    -

    Methods

    _evalValue

    _evalValue(str: string, scopeOrContext?: object | Context): IterableIterator‹any›

    -

    Defined in src/liquid.ts:93

    +

    Readonly tags

    tags: Record‹string, TagClass

    +

    Defined in src/liquid.ts:16

    +

    Methods

    _evalValue

    _evalValue(str: string, scope?: undefined | object): IterableIterator‹any›

    +

    Defined in src/liquid.ts:79

    Parameters:

    @@ -143,14 +143,14 @@ - - + +
    string
    scopeOrContext?object | Contextscope?undefined | object

    Returns: IterableIterator‹any›


    _parseAndRender

    _parseAndRender(html: string, scope: object | undefined, renderOptions: RenderOptions): IterableIterator‹any›

    -

    Defined in src/liquid.ts:57

    +

    Defined in src/liquid.ts:43

    Parameters:

    @@ -175,7 +175,7 @@

    Returns: IterableIterator‹any›


    _parseLayoutFile

    _parseLayoutFile(file: string, sync?: undefined | false | true, currentFile?: undefined | string): Generator‹unknown, Template[], string | Template[]›

    -

    Defined in src/liquid.ts:71

    +

    Defined in src/liquid.ts:57

    Parameters:

    @@ -200,7 +200,7 @@

    Returns: Generator‹unknown, Template[], string | Template[]›


    _parsePartialFile

    _parsePartialFile(file: string, sync?: undefined | false | true, currentFile?: undefined | string): Generator‹unknown, Template[], string | Template[]›

    -

    Defined in src/liquid.ts:68

    +

    Defined in src/liquid.ts:54

    Parameters:

    @@ -225,7 +225,7 @@

    Returns: Generator‹unknown, Template[], string | Template[]›


    _render

    _render(tpl: Template[], scope: object | undefined, renderOptions: RenderOptions): IterableIterator‹any›

    -

    Defined in src/liquid.ts:42

    +

    Defined in src/liquid.ts:28

    Parameters:

    @@ -249,8 +249,8 @@

    Returns: IterableIterator‹any›


    -

    evalValue

    evalValue(str: string, scopeOrContext?: object | Context): Promise‹any›

    -

    Defined in src/liquid.ts:98

    +

    evalValue

    evalValue(str: string, scope?: undefined | object): Promise‹any›

    +

    Defined in src/liquid.ts:84

    Parameters:

    @@ -264,14 +264,14 @@ - - + +
    string
    scopeOrContext?object | Contextscope?undefined | object

    Returns: Promise‹any›


    -

    evalValueSync

    evalValueSync(str: string, scopeOrContext?: object | Context): any

    -

    Defined in src/liquid.ts:101

    +

    evalValueSync

    evalValueSync(str: string, scope?: undefined | object): any

    +

    Defined in src/liquid.ts:87

    Parameters:

    @@ -285,18 +285,18 @@ - - + +
    string
    scopeOrContext?object | Contextscope?undefined | object

    Returns: any


    express

    express(): (Anonymous function)

    -

    Defined in src/liquid.ts:114

    +

    Defined in src/liquid.ts:100

    Returns: (Anonymous function)


    parse

    parse(html: string, filepath?: undefined | string): Template[]

    -

    Defined in src/liquid.ts:38

    +

    Defined in src/liquid.ts:24

    Parameters:

    @@ -317,7 +317,7 @@

    Returns: Template[]


    parseAndRender

    parseAndRender(html: string, scope?: undefined | object, renderOptions?: RenderOptions): Promise‹any›

    -

    Defined in src/liquid.ts:61

    +

    Defined in src/liquid.ts:47

    Parameters:

    @@ -342,7 +342,7 @@

    Returns: Promise‹any›


    parseAndRenderSync

    parseAndRenderSync(html: string, scope?: undefined | object, renderOptions?: RenderOptions): any

    -

    Defined in src/liquid.ts:64

    +

    Defined in src/liquid.ts:50

    Parameters:

    @@ -367,7 +367,7 @@

    Returns: any


    parseFile

    parseFile(file: string): Promise‹Template[]›

    -

    Defined in src/liquid.ts:74

    +

    Defined in src/liquid.ts:60

    Parameters:

    @@ -384,7 +384,7 @@

    Returns: Promise‹Template[]›


    parseFileSync

    parseFileSync(file: string): Template[]

    -

    Defined in src/liquid.ts:77

    +

    Defined in src/liquid.ts:63

    Parameters:

    @@ -401,7 +401,7 @@

    Returns: Template[]


    plugin

    plugin(plugin: function): void

    -

    Defined in src/liquid.ts:111

    +

    Defined in src/liquid.ts:97

    Parameters:

    plugin: function

    ▸ (this: Liquid, L: typeof Liquid): void

    @@ -424,8 +424,8 @@

    Returns: void


    -

    registerFilter

    registerFilter(name: string, filter: FilterImplOptions): void

    -

    Defined in src/liquid.ts:105

    +

    registerFilter

    registerFilter(name: string, filter: FilterImplOptions): void

    +

    Defined in src/liquid.ts:91

    Parameters:

    @@ -440,13 +440,13 @@ - +
    filterFilterImplOptionsFilterImplOptions

    Returns: void


    -

    registerTag

    registerTag(name: string, tag: TagImplOptions): void

    -

    Defined in src/liquid.ts:108

    +

    registerTag

    registerTag(name: string, tag: TagClass | TagImplOptions): void

    +

    Defined in src/liquid.ts:94

    Parameters:

    @@ -461,13 +461,13 @@ - +
    tagTagImplOptionsTagClass | TagImplOptions

    Returns: void


    render

    render(tpl: Template[], scope?: undefined | object, renderOptions?: RenderOptions): Promise‹any›

    -

    Defined in src/liquid.ts:46

    +

    Defined in src/liquid.ts:32

    Parameters:

    @@ -492,7 +492,7 @@

    Returns: Promise‹any›


    renderFile

    renderFile(file: string, ctx?: undefined | object, renderOptions?: RenderOptions): Promise‹any›

    -

    Defined in src/liquid.ts:80

    +

    Defined in src/liquid.ts:66

    Parameters:

    @@ -517,7 +517,7 @@

    Returns: Promise‹any›


    renderFileSync

    renderFileSync(file: string, ctx?: undefined | object, renderOptions?: RenderOptions): any

    -

    Defined in src/liquid.ts:84

    +

    Defined in src/liquid.ts:70

    Parameters:

    @@ -542,7 +542,7 @@

    Returns: any


    renderFileToNodeStream

    renderFileToNodeStream(file: string, scope?: undefined | object, renderOptions?: RenderOptions): Promise‹ReadableStream‹››

    -

    Defined in src/liquid.ts:88

    +

    Defined in src/liquid.ts:74

    Parameters:

    @@ -567,7 +567,7 @@

    Returns: Promise‹ReadableStream‹››


    renderSync

    renderSync(tpl: Template[], scope?: undefined | object, renderOptions?: RenderOptions): any

    -

    Defined in src/liquid.ts:49

    +

    Defined in src/liquid.ts:35

    Parameters:

    @@ -592,7 +592,7 @@

    Returns: any


    renderToNodeStream

    renderToNodeStream(tpl: Template[], scope?: undefined | object, renderOptions: RenderOptions): ReadableStream

    -

    Defined in src/liquid.ts:52

    +

    Defined in src/liquid.ts:38

    Parameters:

    @@ -622,7 +622,7 @@ diff --git a/api/classes/parser_parse_stream_.parsestream.html b/api/classes/parser_parse_stream_.parsestream.html index 4608fe519..43f905a54 100644 --- a/api/classes/parser_parse_stream_.parsestream.html +++ b/api/classes/parser_parse_stream_.parsestream.html @@ -98,7 +98,7 @@
  • ParseStream
  • Constructors

    constructor

    + new ParseStream(tokens: T[], parseToken: ParseToken‹T›): ParseStream

    -

    Defined in src/parser/parse-stream.ts:12

    +

    Defined in src/parser/parse-stream.ts:11

    Parameters:

    @@ -117,36 +117,19 @@

    Returns: ParseStream

    -

    Properties

    Private handlers

    handlers: object

    -

    Defined in src/parser/parse-stream.ts:10

    -

    Type declaration:

    -

    ▸ (arg: any): void

    -

    Parameters:

    - - - - - - - - - - - -
    NameType
    argany
    +

    Properties

    Private handlers

    handlers: Record‹string, function›

    +

    Defined in src/parser/parse-stream.ts:9


    Private parseToken

    parseToken: ParseToken‹T›

    -

    Defined in src/parser/parse-stream.ts:12

    -
    -

    Private stopRequested

    stopRequested: boolean = false

    Defined in src/parser/parse-stream.ts:11


    +

    Private stopRequested

    stopRequested: boolean = false

    +

    Defined in src/parser/parse-stream.ts:10

    +

    Private tokens

    tokens: T[]

    -

    Defined in src/parser/parse-stream.ts:9

    +

    Defined in src/parser/parse-stream.ts:8

    Methods

    on

    on<T2>(name: string, cb: function): ParseStream‹T›

    -

    Defined in src/parser/parse-stream.ts:18

    +

    Defined in src/parser/parse-stream.ts:17

    Type parameters:

    T2: Template | T | undefined

    Parameters:

    @@ -173,15 +156,15 @@

    Returns: ParseStream‹T›


    start

    start(): this

    -

    Defined in src/parser/parse-stream.ts:26

    +

    Defined in src/parser/parse-stream.ts:25

    Returns: this


    stop

    stop(): this

    -

    Defined in src/parser/parse-stream.ts:40

    +

    Defined in src/parser/parse-stream.ts:39

    Returns: this


    Private trigger

    trigger<T>(event: string, arg?: T): boolean

    -

    Defined in src/parser/parse-stream.ts:22

    +

    Defined in src/parser/parse-stream.ts:21

    Type parameters:

    T: Token | Template

    Parameters:

    @@ -205,7 +188,7 @@ @@ -214,7 +197,7 @@
    Contents -
    1. Type parameters
    2. Hierarchy
    3. Constructors
      1. constructor
    4. Properties
      1. Private handlers
        1. Type declaration:
      2. Private parseToken
      3. Private stopRequested
      4. Private tokens
    5. Methods
      1. on
      2. start
      3. stop
      4. Private trigger
    +
    1. Type parameters
    2. Hierarchy
    3. Constructors
      1. constructor
    4. Properties
      1. Private handlers
      2. Private parseToken
      3. Private stopRequested
      4. Private tokens
    5. Methods
      1. on
      2. start
      3. stop
      4. Private trigger
    Back to Top
    diff --git a/api/classes/parser_parser_.parser.html b/api/classes/parser_parser_.parser.html index 3f78c6278..d264a6b78 100644 --- a/api/classes/parser_parser_.parser.html +++ b/api/classes/parser_parser_.parser.html @@ -97,7 +97,7 @@
  • Parser
  • Constructors

    constructor

    + new Parser(liquid: Liquid): Parser

    -

    Defined in src/parser/parser.ts:22

    +

    Defined in src/parser/parser.ts:16

    Parameters:

    @@ -112,20 +112,20 @@

    Returns: Parser

    -

    Properties

    Private Optional cache

    cache? : LiquidCache

    -

    Defined in src/parser/parser.ts:21

    +

    Properties

    Private Optional cache

    cache? : LiquidCache

    +

    Defined in src/parser/parser.ts:15


    Private fs

    fs: FS

    -

    Defined in src/parser/parser.ts:20

    +

    Defined in src/parser/parser.ts:14


    Private liquid

    liquid: Liquid

    -

    Defined in src/parser/parser.ts:19

    +

    Defined in src/parser/parser.ts:13


    Private loader

    loader: Loader

    -

    Defined in src/parser/parser.ts:22

    +

    Defined in src/parser/parser.ts:16


    parseFile

    parseFile: function

    -

    Defined in src/parser/parser.ts:17

    +

    Defined in src/parser/parser.ts:11

    Type declaration:

    ▸ (file: string, sync?: undefined | false | true, type?: LookupType, currentFile?: undefined | string): Generator‹unknown, Template[], Template[] | string›

    Parameters:

    @@ -153,7 +153,7 @@

    Methods

    Private _parseFile

    _parseFile(file: string, sync?: undefined | false | true, type: LookupType, currentFile?: undefined | string): Generator‹unknown, Template[], string›

    -

    Defined in src/parser/parser.ts:74

    +

    Defined in src/parser/parser.ts:70

    Parameters:

    @@ -187,7 +187,7 @@

    Returns: Generator‹unknown, Template[], string›


    Private _parseFileCached

    _parseFileCached(file: string, sync?: undefined | false | true, type: LookupType, currentFile?: undefined | string): Generator‹unknown, Template[], Template[]›

    -

    Defined in src/parser/parser.ts:60

    +

    Defined in src/parser/parser.ts:56

    Parameters:

    @@ -221,7 +221,7 @@

    Returns: Generator‹unknown, Template[], Template[]›


    parse

    parse(html: string, filepath?: undefined | string): Template[]

    -

    Defined in src/parser/parser.ts:31

    +

    Defined in src/parser/parser.ts:25

    Parameters:

    @@ -241,8 +241,8 @@

    Returns: Template[]


    -

    parseStream

    parseStream(tokens: TopLevelToken[]): ParseStreamTopLevelToken

    -

    Defined in src/parser/parser.ts:57

    +

    parseStream

    parseStream(tokens: TopLevelToken[]): ParseStreamTopLevelToken

    +

    Defined in src/parser/parser.ts:53

    Parameters:

    @@ -253,13 +253,13 @@ - +
    tokensTopLevelToken[]TopLevelToken[]
    -

    Returns: ParseStreamTopLevelToken

    +

    Returns: ParseStreamTopLevelToken


    -

    parseToken

    parseToken(token: TopLevelToken, remainTokens: TopLevelToken[]): Tag‹› | Output‹› | HTML‹›

    -

    Defined in src/parser/parser.ts:44

    +

    parseToken

    parseToken(token: TopLevelToken, remainTokens: TopLevelToken[]): Tag‹› | Output‹› | HTML‹›

    +

    Defined in src/parser/parser.ts:38

    Parameters:

    @@ -270,17 +270,17 @@ - + - +
    tokenTopLevelTokenTopLevelToken
    remainTokensTopLevelToken[]TopLevelToken[]
    -

    Returns: Tag‹› | Output‹› | HTML‹›

    +

    Returns: Tag‹› | Output‹› | HTML‹›


    -

    parseTokens

    parseTokens(tokens: TopLevelToken[]): Template[]

    -

    Defined in src/parser/parser.ts:36

    +

    parseTokens

    parseTokens(tokens: TopLevelToken[]): Template[]

    +

    Defined in src/parser/parser.ts:30

    Parameters:

    @@ -291,14 +291,14 @@ - +
    tokensTopLevelToken[]TopLevelToken[]

    Returns: Template[]

    diff --git a/api/classes/parser_tokenizer_.tokenizer.html b/api/classes/parser_tokenizer_.tokenizer.html index b2b977aff..030ab9796 100644 --- a/api/classes/parser_tokenizer_.tokenizer.html +++ b/api/classes/parser_tokenizer_.tokenizer.html @@ -96,8 +96,8 @@

    Hierarchy

    -

    Constructors

    constructor

    + new Tokenizer(input: string, trie: Trie, file: string): Tokenizer

    -

    Defined in src/parser/tokenizer.ts:32

    +

    Constructors

    constructor

    + new Tokenizer(input: string, operators: Operators, file?: undefined | string): Tokenizer

    +

    Defined in src/parser/tokenizer.ts:13

    Parameters:

    @@ -113,36 +113,36 @@ - - - + + + - - - + + +
    -
    trieTriedefaultOptions.operatorsTrieoperatorsOperatorsdefaultOptions.operators
    filestring“”file?undefined | string-

    Returns: Tokenizer

    Properties

    N

    N: number

    -

    Defined in src/parser/tokenizer.ts:31

    +

    Defined in src/parser/tokenizer.ts:11


    -

    file

    file: string

    -

    Defined in src/parser/tokenizer.ts:37

    +

    Optional file

    file? : undefined | string

    +

    Defined in src/parser/tokenizer.ts:18


    input

    input: string

    -

    Defined in src/parser/tokenizer.ts:35

    +

    Defined in src/parser/tokenizer.ts:16

    +
    +

    Private opTrie

    opTrie: Trie

    +

    Defined in src/parser/tokenizer.ts:13


    p

    p: number = 0

    -

    Defined in src/parser/tokenizer.ts:30

    +

    Defined in src/parser/tokenizer.ts:10


    Private rawBeginAt

    rawBeginAt: number = -1

    -

    Defined in src/parser/tokenizer.ts:32

    -
    -

    Private trie

    trie: Trie

    -

    Defined in src/parser/tokenizer.ts:36

    +

    Defined in src/parser/tokenizer.ts:12

    Methods

    advance

    advance(i: number): void

    -

    Defined in src/parser/tokenizer.ts:273

    +

    Defined in src/parser/tokenizer.ts:255

    Parameters:

    @@ -161,11 +161,11 @@

    Returns: void


    end

    end(): boolean

    -

    Defined in src/parser/tokenizer.ts:277

    +

    Defined in src/parser/tokenizer.ts:259

    Returns: boolean


    match

    match(word: string): boolean

    -

    Defined in src/parser/tokenizer.ts:374

    +

    Defined in src/parser/tokenizer.ts:356

    Parameters:

    @@ -182,7 +182,7 @@

    Returns: boolean


    mkError

    mkError(msg: string, begin: number): TokenizationError‹›

    -

    Defined in src/parser/tokenizer.ts:213

    +

    Defined in src/parser/tokenizer.ts:195

    Parameters:

    @@ -203,7 +203,7 @@

    Returns: TokenizationError‹›


    peek

    peek(n: number): string

    -

    Defined in src/parser/tokenizer.ts:392

    +

    Defined in src/parser/tokenizer.ts:374

    Parameters:

    @@ -222,7 +222,7 @@

    Returns: string


    peekType

    peekType(n: number): number

    -

    Defined in src/parser/tokenizer.ts:388

    +

    Defined in src/parser/tokenizer.ts:370

    Parameters:

    @@ -241,7 +241,7 @@

    Returns: number


    readEndrawOrRawContent

    readEndrawOrRawContent(options: NormalizedFullOptions): HTMLToken | TagToken

    -

    Defined in src/parser/tokenizer.ts:169

    +

    Defined in src/parser/tokenizer.ts:151

    Parameters:

    @@ -258,15 +258,15 @@

    Returns: HTMLToken | TagToken


    readExpression

    readExpression(): Expression‹›

    -

    Defined in src/parser/tokenizer.ts:42

    +

    Defined in src/parser/tokenizer.ts:24

    Returns: Expression‹›


    readExpressionTokens

    readExpressionTokens(): IterableIterator‹Token

    -

    Defined in src/parser/tokenizer.ts:46

    +

    Defined in src/parser/tokenizer.ts:28

    Returns: IterableIterator‹Token


    -

    readFileNameTemplate

    readFileNameTemplate(options: NormalizedFullOptions): IterableIterator‹TopLevelToken

    -

    Defined in src/parser/tokenizer.ts:362

    +

    readFileNameTemplate

    readFileNameTemplate(options: NormalizedFullOptions): IterableIterator‹TopLevelToken

    +

    Defined in src/parser/tokenizer.ts:344

    Parameters:

    @@ -280,22 +280,22 @@
    NormalizedFullOptions
    -

    Returns: IterableIterator‹TopLevelToken

    +

    Returns: IterableIterator‹TopLevelToken


    readFilter

    readFilter(): FilterToken | null

    -

    Defined in src/parser/tokenizer.ts:77

    +

    Defined in src/parser/tokenizer.ts:59

    Returns: FilterToken | null


    readFilterArg

    readFilterArg(): FilterArg | undefined

    -

    Defined in src/parser/tokenizer.ts:99

    +

    Defined in src/parser/tokenizer.ts:81

    Returns: FilterArg | undefined


    readFilters

    readFilters(): FilterToken[]

    -

    Defined in src/parser/tokenizer.ts:69

    +

    Defined in src/parser/tokenizer.ts:51

    Returns: FilterToken[]


    readHTMLToken

    readHTMLToken(stopStrings: string[]): HTMLToken

    -

    Defined in src/parser/tokenizer.ts:127

    +

    Defined in src/parser/tokenizer.ts:109

    Parameters:

    @@ -312,7 +312,7 @@

    Returns: HTMLToken


    readHash

    readHash(jekyllStyle?: undefined | false | true): HashToken | undefined

    -

    Defined in src/parser/tokenizer.ts:252

    +

    Defined in src/parser/tokenizer.ts:234

    Parameters:

    @@ -329,7 +329,7 @@

    Returns: HashToken | undefined


    readHashes

    readHashes(jekyllStyle?: undefined | false | true): HashToken‹›[]

    -

    Defined in src/parser/tokenizer.ts:243

    +

    Defined in src/parser/tokenizer.ts:225

    Parameters:

    @@ -346,11 +346,11 @@

    Returns: HashToken‹›[]


    readIdentifier

    readIdentifier(): IdentifierToken

    -

    Defined in src/parser/tokenizer.ts:229

    +

    Defined in src/parser/tokenizer.ts:211

    Returns: IdentifierToken


    readLiquidTagToken

    readLiquidTagToken(options: NormalizedFullOptions): LiquidTagToken

    -

    Defined in src/parser/tokenizer.ts:205

    +

    Defined in src/parser/tokenizer.ts:187

    Parameters:

    @@ -367,7 +367,7 @@

    Returns: LiquidTagToken


    readLiquidTagTokens

    readLiquidTagTokens(options: NormalizedFullOptions): LiquidTagToken[]

    -

    Defined in src/parser/tokenizer.ts:196

    +

    Defined in src/parser/tokenizer.ts:178

    Parameters:

    @@ -386,11 +386,11 @@

    Returns: LiquidTagToken[]


    readOperator

    readOperator(): OperatorToken | undefined

    -

    Defined in src/parser/tokenizer.ts:63

    +

    Defined in src/parser/tokenizer.ts:45

    Returns: OperatorToken | undefined


    readOutputToken

    readOutputToken(options: NormalizedFullOptions): OutputToken

    -

    Defined in src/parser/tokenizer.ts:159

    +

    Defined in src/parser/tokenizer.ts:141

    Parameters:

    @@ -409,19 +409,19 @@

    Returns: OutputToken


    readQuoted

    readQuoted(): QuotedToken | undefined

    -

    Defined in src/parser/tokenizer.ts:347

    +

    Defined in src/parser/tokenizer.ts:329

    Returns: QuotedToken | undefined


    readRange

    readRange(): RangeToken | undefined

    -

    Defined in src/parser/tokenizer.ts:329

    +

    Defined in src/parser/tokenizer.ts:311

    Returns: RangeToken | undefined


    readTagName

    readTagName(): string

    -

    Defined in src/parser/tokenizer.ts:236

    +

    Defined in src/parser/tokenizer.ts:218

    Returns: string


    readTagToken

    readTagToken(options: NormalizedFullOptions): TagToken

    -

    Defined in src/parser/tokenizer.ts:136

    +

    Defined in src/parser/tokenizer.ts:118

    Parameters:

    @@ -440,7 +440,7 @@

    Returns: TagToken


    readTo

    readTo(end: string): number

    -

    Defined in src/parser/tokenizer.ts:281

    +

    Defined in src/parser/tokenizer.ts:263

    Parameters:

    @@ -457,7 +457,7 @@

    Returns: number


    readToDelimiter

    readToDelimiter(delimiter: string): number

    -

    Defined in src/parser/tokenizer.ts:147

    +

    Defined in src/parser/tokenizer.ts:129

    Parameters:

    @@ -473,8 +473,8 @@

    Returns: number


    -

    readTopLevelToken

    readTopLevelToken(options: NormalizedFullOptions): TopLevelToken

    -

    Defined in src/parser/tokenizer.ts:119

    +

    readTopLevelToken

    readTopLevelToken(options: NormalizedFullOptions): TopLevelToken

    +

    Defined in src/parser/tokenizer.ts:101

    Parameters:

    @@ -488,10 +488,10 @@
    NormalizedFullOptions
    -

    Returns: TopLevelToken

    +

    Returns: TopLevelToken


    -

    readTopLevelTokens

    readTopLevelTokens(options: NormalizedFullOptions): TopLevelToken[]

    -

    Defined in src/parser/tokenizer.ts:109

    +

    readTopLevelTokens

    readTopLevelTokens(options: NormalizedFullOptions): TopLevelToken[]

    +

    Defined in src/parser/tokenizer.ts:91

    Parameters:

    @@ -507,27 +507,27 @@
    defaultOptions
    -

    Returns: TopLevelToken[]

    +

    Returns: TopLevelToken[]


    readValue

    readValue(): ValueToken | undefined

    -

    Defined in src/parser/tokenizer.ts:289

    +

    Defined in src/parser/tokenizer.ts:271

    Returns: ValueToken | undefined


    readValueOrThrow

    readValueOrThrow(): ValueToken

    -

    Defined in src/parser/tokenizer.ts:341

    +

    Defined in src/parser/tokenizer.ts:323

    Returns: ValueToken


    readWord

    readWord(): IdentifierToken‹›

    -

    Defined in src/parser/tokenizer.ts:224

    +

    Defined in src/parser/tokenizer.ts:206

    deprecated

    Returns: IdentifierToken‹›


    remaining

    remaining(): string

    -

    Defined in src/parser/tokenizer.ts:269

    +

    Defined in src/parser/tokenizer.ts:251

    Returns: string


    rmatch

    rmatch(pattern: string): boolean

    -

    Defined in src/parser/tokenizer.ts:381

    +

    Defined in src/parser/tokenizer.ts:363

    Parameters:

    @@ -544,11 +544,11 @@

    Returns: boolean


    skipBlank

    skipBlank(): void

    -

    Defined in src/parser/tokenizer.ts:396

    +

    Defined in src/parser/tokenizer.ts:378

    Returns: void


    snapshot

    snapshot(begin: number): string

    -

    Defined in src/parser/tokenizer.ts:217

    +

    Defined in src/parser/tokenizer.ts:199

    Parameters:

    @@ -568,7 +568,7 @@ @@ -577,7 +577,7 @@
    Contents -
    1. Hierarchy
    2. Constructors
      1. constructor
    3. Properties
      1. N
      2. file
      3. input
      4. p
      5. Private rawBeginAt
      6. Private trie
    4. Methods
      1. advance
      2. end
      3. match
      4. mkError
      5. peek
      6. peekType
      7. readEndrawOrRawContent
      8. readExpression
      9. readExpressionTokens
      10. readFileNameTemplate
      11. readFilter
      12. readFilterArg
      13. readFilters
      14. readHTMLToken
      15. readHash
      16. readHashes
      17. readIdentifier
      18. readLiquidTagToken
      19. readLiquidTagTokens
      20. readOperator
      21. readOutputToken
      22. readQuoted
      23. readRange
      24. readTagName
      25. readTagToken
      26. readTo
      27. readToDelimiter
      28. readTopLevelToken
      29. readTopLevelTokens
      30. readValue
      31. readValueOrThrow
      32. readWord
      33. remaining
      34. rmatch
      35. skipBlank
      36. snapshot
    +
    1. Hierarchy
    2. Constructors
      1. constructor
    3. Properties
      1. N
      2. Optional file
      3. input
      4. Private opTrie
      5. p
      6. Private rawBeginAt
    4. Methods
      1. advance
      2. end
      3. match
      4. mkError
      5. peek
      6. peekType
      7. readEndrawOrRawContent
      8. readExpression
      9. readExpressionTokens
      10. readFileNameTemplate
      11. readFilter
      12. readFilterArg
      13. readFilters
      14. readHTMLToken
      15. readHash
      16. readHashes
      17. readIdentifier
      18. readLiquidTagToken
      19. readLiquidTagTokens
      20. readOperator
      21. readOutputToken
      22. readQuoted
      23. readRange
      24. readTagName
      25. readTagToken
      26. readTo
      27. readToDelimiter
      28. readTopLevelToken
      29. readTopLevelTokens
      30. readValue
      31. readValueOrThrow
      32. readWord
      33. remaining
      34. rmatch
      35. skipBlank
      36. snapshot
    Back to Top
    diff --git a/api/classes/render_expression_.expression.html b/api/classes/render_expression_.expression.html index 4a7b4ee26..4526ec54c 100644 --- a/api/classes/render_expression_.expression.html +++ b/api/classes/render_expression_.expression.html @@ -97,7 +97,7 @@
  • Expression
  • Constructors

    constructor

    + new Expression(tokens: IterableIterator‹Token›): Expression

    -

    Defined in src/render/expression.ts:19

    +

    Defined in src/render/expression.ts:8

    Parameters:

    @@ -113,9 +113,9 @@

    Returns: Expression

    Properties

    Private postfix

    postfix: Token[]

    -

    Defined in src/render/expression.ts:19

    +

    Defined in src/render/expression.ts:8

    Methods

    evaluate

    evaluate(ctx: Context, lenient?: undefined | false | true): Generator‹unknown, unknown, unknown›

    -

    Defined in src/render/expression.ts:24

    +

    Defined in src/render/expression.ts:13

    Parameters:

    @@ -137,7 +137,7 @@ diff --git a/api/classes/render_render_.render.html b/api/classes/render_render_.render.html index f33829b2f..25ff316c2 100644 --- a/api/classes/render_render_.render.html +++ b/api/classes/render_render_.render.html @@ -97,7 +97,7 @@
  • Render
  • Methods

    renderTemplates

    renderTemplates(templates: Template[], ctx: Context, emitter?: Emitter): IterableIterator‹any›

    -

    Defined in src/render/render.ts:17

    +

    Defined in src/render/render.ts:13

    Parameters:

    @@ -122,7 +122,7 @@

    Returns: IterableIterator‹any›


    renderTemplatesToNodeStream

    renderTemplatesToNodeStream(templates: Template[], ctx: Context): ReadableStream

    -

    Defined in src/render/render.ts:11

    +

    Defined in src/render/render.ts:7

    Parameters:

    @@ -144,7 +144,7 @@ diff --git a/api/classes/template_filter_filter_map_.filtermap.html b/api/classes/tags_assign_.default.html similarity index 74% rename from api/classes/template_filter_filter_map_.filtermap.html rename to api/classes/tags_assign_.default.html index 77563230f..e30560e77 100644 --- a/api/classes/template_filter_filter_map_.filtermap.html +++ b/api/classes/tags_assign_.default.html @@ -2,20 +2,20 @@ - Class: FilterMap | LiquidJS + Class: default | LiquidJS - + - + - + @@ -56,7 +56,7 @@
    @@ -107,28 +110,40 @@ - - + + + + + +
    strictFiltersbooleantokenTagToken
    remainTokensTopLevelToken[]
    liquid Liquid
    -

    Returns: FilterMap

    -

    Properties

    Private impls

    impls: object

    -

    Defined in src/template/filter/filter-map.ts:8

    -

    Type declaration:

    +

    Returns: default

    +

    Properties

    Private key

    key: string

    +

    Defined in src/tags/assign.ts:3


    -

    Private Readonly liquid

    liquid: Liquid

    -

    Defined in src/template/filter/filter-map.ts:12

    +

    Protected liquid

    liquid: Liquid

    +

    Inherited from default.liquid

    +

    Defined in src/template/tag.ts:12


    -

    Private Readonly strictFilters

    strictFilters: boolean

    -

    Defined in src/template/filter/filter-map.ts:11

    -

    Methods

    create

    create(name: string, args: FilterArg[]): Filter‹›

    -

    Defined in src/template/filter/filter-map.ts:25

    +

    name

    name: string

    +

    Inherited from default.name

    +

    Defined in src/template/tag.ts:11

    +
    +

    token

    token: TagToken

    +

    Implementation of Template.token

    +

    Inherited from TemplateImpl.token

    +

    Defined in src/template/template-impl.ts:2

    +
    +

    Private value

    value: Value

    +

    Defined in src/tags/assign.ts:4

    +

    Methods

    render

    render(ctx: Context): Generator‹unknown, void, unknown›

    +

    Overrides Tag.render

    +

    Defined in src/tags/assign.ts:15

    Parameters:

    @@ -138,57 +153,15 @@ - - - - - - + +
    namestring
    argsFilterArg[]ctxContext
    -

    Returns: Filter‹›

    -
    -

    get

    get(name: string): FilterImplOptions

    -

    Defined in src/template/filter/filter-map.ts:15

    -

    Parameters:

    - - - - - - - - - - - -
    NameType
    namestring
    -

    Returns: FilterImplOptions

    -
    -

    set

    set(name: string, impl: FilterImplOptions): void

    -

    Defined in src/template/filter/filter-map.ts:21

    -

    Parameters:

    - - - - - - - - - - - - - - - -
    NameType
    namestring
    implFilterImplOptions
    -

    Returns: void

    +

    Returns: Generator‹unknown, void, unknown›

    @@ -197,7 +170,7 @@
    Contents -
    1. Hierarchy
    2. Constructors
      1. constructor
    3. Properties
      1. Private impls
        1. Type declaration:
      2. Private Readonly liquid
      3. Private Readonly strictFilters
    4. Methods
      1. create
      2. get
      3. set
    +
    1. Hierarchy
    2. Implements
    3. Constructors
      1. constructor
    4. Properties
      1. Private key
      2. Protected liquid
      3. name
      4. token
      5. Private value
    5. Methods
      1. render
    Back to Top
    @@ -241,7 +214,7 @@ +
    + + + + + + + + + + + \ No newline at end of file diff --git a/api/classes/template_template_impl_.templateimpl.html b/api/classes/template_template_impl_.templateimpl.html index 33e3902c7..42d8a069f 100644 --- a/api/classes/template_template_impl_.templateimpl.html +++ b/api/classes/template_template_impl_.templateimpl.html @@ -96,7 +96,7 @@

    Type parameters

    T

    Hierarchy

    Constructors

    constructor

    + new Value(str: string, liquid: Liquid): Value

    -

    Defined in src/template/value.ts:9

    +

    Defined in src/template/value.ts:10

    Parameters:

    @@ -119,13 +119,34 @@

    Returns: Value

    -

    Properties

    Readonly filters

    filters: Filter[] = []

    -

    Defined in src/template/value.ts:8

    +

    Properties

    Readonly filters

    filters: Filter[] = []

    +

    Defined in src/template/value.ts:9


    Readonly initial

    initial: Expression

    -

    Defined in src/template/value.ts:9

    -

    Methods

    value

    value(ctx: Context, lenient: boolean): Generator‹unknown, unknown, unknown›

    -

    Defined in src/template/value.ts:19

    +

    Defined in src/template/value.ts:10

    +

    Methods

    Private getFilter

    getFilter(liquid: Liquid, name: string): FilterImplOptions

    +

    Defined in src/template/value.ts:29

    +

    Parameters:

    + + + + + + + + + + + + + + + +
    NameType
    liquidLiquid
    namestring
    +

    Returns: FilterImplOptions

    +
    +

    value

    value(ctx: Context, lenient: boolean): Generator‹unknown, unknown, unknown›

    +

    Defined in src/template/value.ts:20

    Parameters:

    @@ -147,7 +168,7 @@ @@ -156,7 +177,7 @@
    Contents -
    1. Hierarchy
    2. Constructors
      1. constructor
    3. Properties
      1. Readonly filters
      2. Readonly initial
    4. Methods
      1. value
    +
    1. Hierarchy
    2. Constructors
      1. constructor
    3. Properties
      1. Readonly filters
      2. Readonly initial
    4. Methods
      1. Private getFilter
      2. value
    Back to Top
    diff --git a/api/classes/tokens_delimited_token_.delimitedtoken.html b/api/classes/tokens_delimited_token_.delimitedtoken.html index a8a32d583..f90a01848 100644 --- a/api/classes/tokens_delimited_token_.delimitedtoken.html +++ b/api/classes/tokens_delimited_token_.delimitedtoken.html @@ -96,9 +96,9 @@

    Hierarchy

    Constructors

    constructor

    + new DelimitedToken(kind: TokenKind, content: string, input: string, begin: number, end: number, trimLeft: boolean, trimRight: boolean, file?: undefined | string): DelimitedToken

    @@ -147,26 +147,26 @@

    Returns: DelimitedToken

    Properties

    begin

    begin: number

    -

    Inherited from Token.begin

    +

    Inherited from DelimitedToken.begin

    Defined in src/tokens/token.ts:7


    content

    content: string

    Defined in src/tokens/delimited-token.ts:8


    end

    end: number

    -

    Inherited from Token.end

    +

    Inherited from DelimitedToken.end

    Defined in src/tokens/token.ts:8


    Optional file

    file? : undefined | string

    -

    Inherited from Token.file

    +

    Inherited from DelimitedToken.file

    Defined in src/tokens/token.ts:9


    input

    input: string

    -

    Inherited from Token.input

    +

    Inherited from DelimitedToken.input

    Defined in src/tokens/token.ts:6


    kind

    kind: TokenKind

    -

    Inherited from Token.kind

    +

    Inherited from DelimitedToken.kind

    Defined in src/tokens/token.ts:5


    trimLeft

    trimLeft: boolean = false

    @@ -175,23 +175,23 @@

    trimRight

    trimRight: boolean = false

    Defined in src/tokens/delimited-token.ts:7

    Methods

    getPosition

    getPosition(): number[]

    -

    Inherited from Token.getPosition

    +

    Inherited from DelimitedToken.getPosition

    Defined in src/tokens/token.ts:14

    Returns: number[]


    getText

    getText(): string

    -

    Inherited from Token.getText

    +

    Inherited from DelimitedToken.getText

    Defined in src/tokens/token.ts:11

    Returns: string


    size

    size(): number

    -

    Inherited from Token.size

    +

    Inherited from DelimitedToken.size

    Defined in src/tokens/token.ts:24

    Returns: number

    diff --git a/api/classes/tokens_filter_token_.filtertoken.html b/api/classes/tokens_filter_token_.filtertoken.html index 432802107..66e117f15 100644 --- a/api/classes/tokens_filter_token_.filtertoken.html +++ b/api/classes/tokens_filter_token_.filtertoken.html @@ -139,45 +139,45 @@

    Defined in src/tokens/filter-token.ts:8


    begin

    begin: number

    -

    Inherited from Token.begin

    +

    Inherited from DelimitedToken.begin

    Defined in src/tokens/token.ts:7


    end

    end: number

    -

    Inherited from Token.end

    +

    Inherited from DelimitedToken.end

    Defined in src/tokens/token.ts:8


    Optional file

    file? : undefined | string

    -

    Inherited from Token.file

    +

    Inherited from DelimitedToken.file

    Defined in src/tokens/token.ts:9


    input

    input: string

    -

    Inherited from Token.input

    +

    Inherited from DelimitedToken.input

    Defined in src/tokens/token.ts:6


    kind

    kind: TokenKind

    -

    Inherited from Token.kind

    +

    Inherited from DelimitedToken.kind

    Defined in src/tokens/token.ts:5


    name

    name: string

    Defined in src/tokens/filter-token.ts:7

    Methods

    getPosition

    getPosition(): number[]

    -

    Inherited from Token.getPosition

    +

    Inherited from DelimitedToken.getPosition

    Defined in src/tokens/token.ts:14

    Returns: number[]


    getText

    getText(): string

    -

    Inherited from Token.getText

    +

    Inherited from DelimitedToken.getText

    Defined in src/tokens/token.ts:11

    Returns: string


    size

    size(): number

    -

    Inherited from Token.size

    +

    Inherited from DelimitedToken.size

    Defined in src/tokens/token.ts:24

    Returns: number

    diff --git a/api/classes/tokens_hash_token_.hashtoken.html b/api/classes/tokens_hash_token_.hashtoken.html index 7d807c6fe..66d3069d9 100644 --- a/api/classes/tokens_hash_token_.hashtoken.html +++ b/api/classes/tokens_hash_token_.hashtoken.html @@ -136,23 +136,23 @@

    Returns: HashToken

    Properties

    begin

    begin: number

    -

    Overrides Token.begin

    +

    Overrides DelimitedToken.begin

    Defined in src/tokens/hash-token.ts:9


    end

    end: number

    -

    Overrides Token.end

    +

    Overrides DelimitedToken.end

    Defined in src/tokens/hash-token.ts:10


    Optional file

    file? : undefined | string

    -

    Overrides Token.file

    +

    Overrides DelimitedToken.file

    Defined in src/tokens/hash-token.ts:13


    input

    input: string

    -

    Overrides Token.input

    +

    Overrides DelimitedToken.input

    Defined in src/tokens/hash-token.ts:8


    kind

    kind: TokenKind

    -

    Inherited from Token.kind

    +

    Inherited from DelimitedToken.kind

    Defined in src/tokens/token.ts:5


    name

    name: IdentifierToken

    @@ -161,23 +161,23 @@

    Optional value

    value? : ValueToken

    Defined in src/tokens/hash-token.ts:12

    Methods

    getPosition

    getPosition(): number[]

    -

    Inherited from Token.getPosition

    +

    Inherited from DelimitedToken.getPosition

    Defined in src/tokens/token.ts:14

    Returns: number[]


    getText

    getText(): string

    -

    Inherited from Token.getText

    +

    Inherited from DelimitedToken.getText

    Defined in src/tokens/token.ts:11

    Returns: string


    size

    size(): number

    -

    Inherited from Token.size

    +

    Inherited from DelimitedToken.size

    Defined in src/tokens/token.ts:24

    Returns: number

    diff --git a/api/classes/tokens_html_token_.htmltoken.html b/api/classes/tokens_html_token_.htmltoken.html index 47d69bdff..eb74dce8e 100644 --- a/api/classes/tokens_html_token_.htmltoken.html +++ b/api/classes/tokens_html_token_.htmltoken.html @@ -128,23 +128,23 @@

    Returns: HTMLToken

    Properties

    begin

    begin: number

    -

    Overrides Token.begin

    +

    Overrides DelimitedToken.begin

    Defined in src/tokens/html-token.ts:9


    end

    end: number

    -

    Overrides Token.end

    +

    Overrides DelimitedToken.end

    Defined in src/tokens/html-token.ts:10


    Optional file

    file? : undefined | string

    -

    Overrides Token.file

    +

    Overrides DelimitedToken.file

    Defined in src/tokens/html-token.ts:11


    input

    input: string

    -

    Overrides Token.input

    +

    Overrides DelimitedToken.input

    Defined in src/tokens/html-token.ts:8


    kind

    kind: TokenKind

    -

    Inherited from Token.kind

    +

    Inherited from DelimitedToken.kind

    Defined in src/tokens/token.ts:5


    trimLeft

    trimLeft: number = 0

    @@ -157,23 +157,23 @@

    Returns: string


    getPosition

    getPosition(): number[]

    -

    Inherited from Token.getPosition

    +

    Inherited from DelimitedToken.getPosition

    Defined in src/tokens/token.ts:14

    Returns: number[]


    getText

    getText(): string

    -

    Inherited from Token.getText

    +

    Inherited from DelimitedToken.getText

    Defined in src/tokens/token.ts:11

    Returns: string


    size

    size(): number

    -

    Inherited from Token.size

    +

    Inherited from DelimitedToken.size

    Defined in src/tokens/token.ts:24

    Returns: number

    diff --git a/api/classes/tokens_identifier_token_.identifiertoken.html b/api/classes/tokens_identifier_token_.identifiertoken.html index 3a9906cdc..74f52dc71 100644 --- a/api/classes/tokens_identifier_token_.identifiertoken.html +++ b/api/classes/tokens_identifier_token_.identifiertoken.html @@ -128,34 +128,34 @@

    Returns: IdentifierToken

    Properties

    begin

    begin: number

    -

    Overrides Token.begin

    +

    Overrides DelimitedToken.begin

    Defined in src/tokens/identifier-token.ts:9


    content

    content: string

    Defined in src/tokens/identifier-token.ts:6


    end

    end: number

    -

    Overrides Token.end

    +

    Overrides DelimitedToken.end

    Defined in src/tokens/identifier-token.ts:10


    Optional file

    file? : undefined | string

    -

    Overrides Token.file

    +

    Overrides DelimitedToken.file

    Defined in src/tokens/identifier-token.ts:11


    input

    input: string

    -

    Overrides Token.input

    +

    Overrides DelimitedToken.input

    Defined in src/tokens/identifier-token.ts:8


    kind

    kind: TokenKind

    -

    Inherited from Token.kind

    +

    Inherited from DelimitedToken.kind

    Defined in src/tokens/token.ts:5

    Methods

    getPosition

    getPosition(): number[]

    -

    Inherited from Token.getPosition

    +

    Inherited from DelimitedToken.getPosition

    Defined in src/tokens/token.ts:14

    Returns: number[]


    getText

    getText(): string

    -

    Inherited from Token.getText

    +

    Inherited from DelimitedToken.getText

    Defined in src/tokens/token.ts:11

    Returns: string


    @@ -179,13 +179,13 @@

    Returns: boolean


    size

    size(): number

    -

    Inherited from Token.size

    +

    Inherited from DelimitedToken.size

    Defined in src/tokens/token.ts:24

    Returns: number

    diff --git a/api/classes/tokens_liquid_tag_token_.liquidtagtoken.html b/api/classes/tokens_liquid_tag_token_.liquidtagtoken.html index 43e587642..c1dd2792d 100644 --- a/api/classes/tokens_liquid_tag_token_.liquidtagtoken.html +++ b/api/classes/tokens_liquid_tag_token_.liquidtagtoken.html @@ -97,7 +97,7 @@

    LiquidTagToken

    Constructors

    constructor

    + new LiquidTagToken(input: string, begin: number, end: number, options: NormalizedFullOptions, file?: undefined | string): LiquidTagToken

    Overrides DelimitedToken.constructor

    -

    Defined in src/tokens/liquid-tag-token.ts:9

    +

    Defined in src/tokens/liquid-tag-token.ts:8

    Parameters:

    @@ -129,10 +129,10 @@

    Returns: LiquidTagToken

    Properties

    args

    args: string

    -

    Defined in src/tokens/liquid-tag-token.ts:9

    +

    Defined in src/tokens/liquid-tag-token.ts:8


    begin

    begin: number

    -

    Inherited from Token.begin

    +

    Inherited from DelimitedToken.begin

    Defined in src/tokens/token.ts:7


    content

    content: string

    @@ -140,23 +140,23 @@

    Defined in src/tokens/delimited-token.ts:8


    end

    end: number

    -

    Inherited from Token.end

    +

    Inherited from DelimitedToken.end

    Defined in src/tokens/token.ts:8


    Optional file

    file? : undefined | string

    -

    Inherited from Token.file

    +

    Inherited from DelimitedToken.file

    Defined in src/tokens/token.ts:9


    input

    input: string

    -

    Inherited from Token.input

    +

    Inherited from DelimitedToken.input

    Defined in src/tokens/token.ts:6


    kind

    kind: TokenKind

    -

    Inherited from Token.kind

    +

    Inherited from DelimitedToken.kind

    Defined in src/tokens/token.ts:5


    name

    name: string

    -

    Defined in src/tokens/liquid-tag-token.ts:8

    +

    Defined in src/tokens/liquid-tag-token.ts:7


    trimLeft

    trimLeft: boolean = false

    Inherited from DelimitedToken.trimLeft

    @@ -166,23 +166,23 @@

    Inherited from DelimitedToken.trimRight

    Defined in src/tokens/delimited-token.ts:7

    Methods

    getPosition

    getPosition(): number[]

    -

    Inherited from Token.getPosition

    +

    Inherited from DelimitedToken.getPosition

    Defined in src/tokens/token.ts:14

    Returns: number[]


    getText

    getText(): string

    -

    Inherited from Token.getText

    +

    Inherited from DelimitedToken.getText

    Defined in src/tokens/token.ts:11

    Returns: string


    size

    size(): number

    -

    Inherited from Token.size

    +

    Inherited from DelimitedToken.size

    Defined in src/tokens/token.ts:24

    Returns: number

    diff --git a/api/classes/tokens_literal_token_.literaltoken.html b/api/classes/tokens_literal_token_.literaltoken.html index 4551e2e78..beb6ee8a8 100644 --- a/api/classes/tokens_literal_token_.literaltoken.html +++ b/api/classes/tokens_literal_token_.literaltoken.html @@ -128,45 +128,45 @@

    Returns: LiteralToken

    Properties

    begin

    begin: number

    -

    Overrides Token.begin

    +

    Overrides DelimitedToken.begin

    Defined in src/tokens/literal-token.ts:8


    end

    end: number

    -

    Overrides Token.end

    +

    Overrides DelimitedToken.end

    Defined in src/tokens/literal-token.ts:9


    Optional file

    file? : undefined | string

    -

    Overrides Token.file

    +

    Overrides DelimitedToken.file

    Defined in src/tokens/literal-token.ts:10


    input

    input: string

    -

    Overrides Token.input

    +

    Overrides DelimitedToken.input

    Defined in src/tokens/literal-token.ts:7


    kind

    kind: TokenKind

    -

    Inherited from Token.kind

    +

    Inherited from DelimitedToken.kind

    Defined in src/tokens/token.ts:5


    literal

    literal: string

    Defined in src/tokens/literal-token.ts:5

    Methods

    getPosition

    getPosition(): number[]

    -

    Inherited from Token.getPosition

    +

    Inherited from DelimitedToken.getPosition

    Defined in src/tokens/token.ts:14

    Returns: number[]


    getText

    getText(): string

    -

    Inherited from Token.getText

    +

    Inherited from DelimitedToken.getText

    Defined in src/tokens/token.ts:11

    Returns: string


    size

    size(): number

    -

    Inherited from Token.size

    +

    Inherited from DelimitedToken.size

    Defined in src/tokens/token.ts:24

    Returns: number

    diff --git a/api/classes/tokens_number_token_.numbertoken.html b/api/classes/tokens_number_token_.numbertoken.html index ef179ada5..56418e06d 100644 --- a/api/classes/tokens_number_token_.numbertoken.html +++ b/api/classes/tokens_number_token_.numbertoken.html @@ -120,48 +120,48 @@

    Returns: NumberToken

    Properties

    begin

    begin: number

    -

    Inherited from Token.begin

    +

    Inherited from DelimitedToken.begin

    Defined in src/tokens/token.ts:7


    Optional decimal

    decimal? : IdentifierToken

    Defined in src/tokens/number-token.ts:8


    end

    end: number

    -

    Inherited from Token.end

    +

    Inherited from DelimitedToken.end

    Defined in src/tokens/token.ts:8


    Optional file

    file? : undefined | string

    -

    Inherited from Token.file

    +

    Inherited from DelimitedToken.file

    Defined in src/tokens/token.ts:9


    input

    input: string

    -

    Inherited from Token.input

    +

    Inherited from DelimitedToken.input

    Defined in src/tokens/token.ts:6


    kind

    kind: TokenKind

    -

    Inherited from Token.kind

    +

    Inherited from DelimitedToken.kind

    Defined in src/tokens/token.ts:5


    whole

    whole: IdentifierToken

    Defined in src/tokens/number-token.ts:7

    Methods

    getPosition

    getPosition(): number[]

    -

    Inherited from Token.getPosition

    +

    Inherited from DelimitedToken.getPosition

    Defined in src/tokens/token.ts:14

    Returns: number[]


    getText

    getText(): string

    -

    Inherited from Token.getText

    +

    Inherited from DelimitedToken.getText

    Defined in src/tokens/token.ts:11

    Returns: string


    size

    size(): number

    -

    Inherited from Token.size

    +

    Inherited from DelimitedToken.size

    Defined in src/tokens/token.ts:24

    Returns: number

    diff --git a/api/classes/tokens_operator_token_.operatortoken.html b/api/classes/tokens_operator_token_.operatortoken.html index 5dfd383b9..cebb73b8f 100644 --- a/api/classes/tokens_operator_token_.operatortoken.html +++ b/api/classes/tokens_operator_token_.operatortoken.html @@ -128,29 +128,29 @@

    Returns: OperatorToken

    Properties

    begin

    begin: number

    -

    Overrides Token.begin

    +

    Overrides DelimitedToken.begin

    Defined in src/tokens/operator-token.ts:20


    end

    end: number

    -

    Overrides Token.end

    +

    Overrides DelimitedToken.end

    Defined in src/tokens/operator-token.ts:21


    Optional file

    file? : undefined | string

    -

    Overrides Token.file

    +

    Overrides DelimitedToken.file

    Defined in src/tokens/operator-token.ts:22


    input

    input: string

    -

    Overrides Token.input

    +

    Overrides DelimitedToken.input

    Defined in src/tokens/operator-token.ts:19


    kind

    kind: TokenKind

    -

    Inherited from Token.kind

    +

    Inherited from DelimitedToken.kind

    Defined in src/tokens/token.ts:5


    operator

    operator: string

    Defined in src/tokens/operator-token.ts:17

    Methods

    getPosition

    getPosition(): number[]

    -

    Inherited from Token.getPosition

    +

    Inherited from DelimitedToken.getPosition

    Defined in src/tokens/token.ts:14

    Returns: number[]


    @@ -159,18 +159,18 @@

    Returns: any


    getText

    getText(): string

    -

    Inherited from Token.getText

    +

    Inherited from DelimitedToken.getText

    Defined in src/tokens/token.ts:11

    Returns: string


    size

    size(): number

    -

    Inherited from Token.size

    +

    Inherited from DelimitedToken.size

    Defined in src/tokens/token.ts:24

    Returns: number

    diff --git a/api/classes/tokens_output_token_.outputtoken.html b/api/classes/tokens_output_token_.outputtoken.html index b2262f7b5..447937e7f 100644 --- a/api/classes/tokens_output_token_.outputtoken.html +++ b/api/classes/tokens_output_token_.outputtoken.html @@ -129,7 +129,7 @@

    Returns: OutputToken

    Properties

    begin

    begin: number

    -

    Inherited from Token.begin

    +

    Inherited from DelimitedToken.begin

    Defined in src/tokens/token.ts:7


    content

    content: string

    @@ -137,19 +137,19 @@

    Defined in src/tokens/delimited-token.ts:8


    end

    end: number

    -

    Inherited from Token.end

    +

    Inherited from DelimitedToken.end

    Defined in src/tokens/token.ts:8


    Optional file

    file? : undefined | string

    -

    Inherited from Token.file

    +

    Inherited from DelimitedToken.file

    Defined in src/tokens/token.ts:9


    input

    input: string

    -

    Inherited from Token.input

    +

    Inherited from DelimitedToken.input

    Defined in src/tokens/token.ts:6


    kind

    kind: TokenKind

    -

    Inherited from Token.kind

    +

    Inherited from DelimitedToken.kind

    Defined in src/tokens/token.ts:5


    trimLeft

    trimLeft: boolean = false

    @@ -160,23 +160,23 @@

    Inherited from DelimitedToken.trimRight

    Defined in src/tokens/delimited-token.ts:7

    Methods

    getPosition

    getPosition(): number[]

    -

    Inherited from Token.getPosition

    +

    Inherited from DelimitedToken.getPosition

    Defined in src/tokens/token.ts:14

    Returns: number[]


    getText

    getText(): string

    -

    Inherited from Token.getText

    +

    Inherited from DelimitedToken.getText

    Defined in src/tokens/token.ts:11

    Returns: string


    size

    size(): number

    -

    Inherited from Token.size

    +

    Inherited from DelimitedToken.size

    Defined in src/tokens/token.ts:24

    Returns: number

    diff --git a/api/classes/tokens_property_access_token_.propertyaccesstoken.html b/api/classes/tokens_property_access_token_.propertyaccesstoken.html index f846e9181..214c9bb6c 100644 --- a/api/classes/tokens_property_access_token_.propertyaccesstoken.html +++ b/api/classes/tokens_property_access_token_.propertyaccesstoken.html @@ -100,7 +100,7 @@

    Constructors

    constructor

    + new PropertyAccessToken(variable: IdentifierToken | QuotedToken, props: IdentifierToken | QuotedToken | PropertyAccessToken[], end: number): PropertyAccessToken

    Overrides Token.constructor

    -

    Defined in src/tokens/property-access-token.ts:8

    +

    Defined in src/tokens/property-access-token.ts:7

    Parameters:

    @@ -124,51 +124,51 @@

    Returns: PropertyAccessToken

    Properties

    begin

    begin: number

    -

    Inherited from Token.begin

    +

    Inherited from DelimitedToken.begin

    Defined in src/tokens/token.ts:7


    end

    end: number

    -

    Inherited from Token.end

    +

    Inherited from DelimitedToken.end

    Defined in src/tokens/token.ts:8


    Optional file

    file? : undefined | string

    -

    Inherited from Token.file

    +

    Inherited from DelimitedToken.file

    Defined in src/tokens/token.ts:9


    input

    input: string

    -

    Inherited from Token.input

    +

    Inherited from DelimitedToken.input

    Defined in src/tokens/token.ts:6


    kind

    kind: TokenKind

    -

    Inherited from Token.kind

    +

    Inherited from DelimitedToken.kind

    Defined in src/tokens/token.ts:5


    propertyName

    propertyName: string

    -

    Defined in src/tokens/property-access-token.ts:8

    +

    Defined in src/tokens/property-access-token.ts:7


    props

    props: IdentifierToken | QuotedToken | PropertyAccessToken[]

    -

    Defined in src/tokens/property-access-token.ts:11

    +

    Defined in src/tokens/property-access-token.ts:10


    variable

    variable: IdentifierToken | QuotedToken

    -

    Defined in src/tokens/property-access-token.ts:10

    +

    Defined in src/tokens/property-access-token.ts:9

    Methods

    getPosition

    getPosition(): number[]

    -

    Inherited from Token.getPosition

    +

    Inherited from DelimitedToken.getPosition

    Defined in src/tokens/token.ts:14

    Returns: number[]


    getText

    getText(): string

    -

    Inherited from Token.getText

    +

    Inherited from DelimitedToken.getText

    Defined in src/tokens/token.ts:11

    Returns: string


    size

    size(): number

    -

    Inherited from Token.size

    +

    Inherited from DelimitedToken.size

    Defined in src/tokens/token.ts:24

    Returns: number

    diff --git a/api/classes/tokens_quoted_token_.quotedtoken.html b/api/classes/tokens_quoted_token_.quotedtoken.html index 6a004fc76..eb08e796a 100644 --- a/api/classes/tokens_quoted_token_.quotedtoken.html +++ b/api/classes/tokens_quoted_token_.quotedtoken.html @@ -128,42 +128,42 @@

    Returns: QuotedToken

    Properties

    begin

    begin: number

    -

    Overrides Token.begin

    +

    Overrides DelimitedToken.begin

    Defined in src/tokens/quoted-token.ts:7


    end

    end: number

    -

    Overrides Token.end

    +

    Overrides DelimitedToken.end

    Defined in src/tokens/quoted-token.ts:8


    Optional file

    file? : undefined | string

    -

    Overrides Token.file

    +

    Overrides DelimitedToken.file

    Defined in src/tokens/quoted-token.ts:9


    input

    input: string

    -

    Overrides Token.input

    +

    Overrides DelimitedToken.input

    Defined in src/tokens/quoted-token.ts:6


    kind

    kind: TokenKind

    -

    Inherited from Token.kind

    +

    Inherited from DelimitedToken.kind

    Defined in src/tokens/token.ts:5

    Methods

    getPosition

    getPosition(): number[]

    -

    Inherited from Token.getPosition

    +

    Inherited from DelimitedToken.getPosition

    Defined in src/tokens/token.ts:14

    Returns: number[]


    getText

    getText(): string

    -

    Inherited from Token.getText

    +

    Inherited from DelimitedToken.getText

    Defined in src/tokens/token.ts:11

    Returns: string


    size

    size(): number

    -

    Inherited from Token.size

    +

    Inherited from DelimitedToken.size

    Defined in src/tokens/token.ts:24

    Returns: number

    diff --git a/api/classes/tokens_range_token_.rangetoken.html b/api/classes/tokens_range_token_.rangetoken.html index 9b406830d..044e3bf21 100644 --- a/api/classes/tokens_range_token_.rangetoken.html +++ b/api/classes/tokens_range_token_.rangetoken.html @@ -136,23 +136,23 @@

    Returns: RangeToken

    Properties

    begin

    begin: number

    -

    Overrides Token.begin

    +

    Overrides DelimitedToken.begin

    Defined in src/tokens/range-token.ts:8


    end

    end: number

    -

    Overrides Token.end

    +

    Overrides DelimitedToken.end

    Defined in src/tokens/range-token.ts:9


    Optional file

    file? : undefined | string

    -

    Overrides Token.file

    +

    Overrides DelimitedToken.file

    Defined in src/tokens/range-token.ts:12


    input

    input: string

    -

    Overrides Token.input

    +

    Overrides DelimitedToken.input

    Defined in src/tokens/range-token.ts:7


    kind

    kind: TokenKind

    -

    Inherited from Token.kind

    +

    Inherited from DelimitedToken.kind

    Defined in src/tokens/token.ts:5


    lhs

    lhs: ValueToken

    @@ -161,23 +161,23 @@

    rhs

    rhs: ValueToken

    Defined in src/tokens/range-token.ts:11

    Methods

    getPosition

    getPosition(): number[]

    -

    Inherited from Token.getPosition

    +

    Inherited from DelimitedToken.getPosition

    Defined in src/tokens/token.ts:14

    Returns: number[]


    getText

    getText(): string

    -

    Inherited from Token.getText

    +

    Inherited from DelimitedToken.getText

    Defined in src/tokens/token.ts:11

    Returns: string


    size

    size(): number

    -

    Inherited from Token.size

    +

    Inherited from DelimitedToken.size

    Defined in src/tokens/token.ts:24

    Returns: number

    diff --git a/api/classes/tokens_tag_token_.tagtoken.html b/api/classes/tokens_tag_token_.tagtoken.html index 59b889bf9..3be7c69f0 100644 --- a/api/classes/tokens_tag_token_.tagtoken.html +++ b/api/classes/tokens_tag_token_.tagtoken.html @@ -97,7 +97,7 @@

    TagToken

    Constructors

    constructor

    + new TagToken(input: string, begin: number, end: number, options: NormalizedFullOptions, file?: undefined | string): TagToken

    Overrides DelimitedToken.constructor

    -

    Defined in src/tokens/tag-token.ts:9

    +

    Defined in src/tokens/tag-token.ts:8

    Parameters:

    @@ -129,10 +129,10 @@

    Returns: TagToken

    Properties

    args

    args: string

    -

    Defined in src/tokens/tag-token.ts:9

    +

    Defined in src/tokens/tag-token.ts:8


    begin

    begin: number

    -

    Inherited from Token.begin

    +

    Inherited from DelimitedToken.begin

    Defined in src/tokens/token.ts:7


    content

    content: string

    @@ -140,23 +140,23 @@

    Defined in src/tokens/delimited-token.ts:8


    end

    end: number

    -

    Inherited from Token.end

    +

    Inherited from DelimitedToken.end

    Defined in src/tokens/token.ts:8


    Optional file

    file? : undefined | string

    -

    Inherited from Token.file

    +

    Inherited from DelimitedToken.file

    Defined in src/tokens/token.ts:9


    input

    input: string

    -

    Inherited from Token.input

    +

    Inherited from DelimitedToken.input

    Defined in src/tokens/token.ts:6


    kind

    kind: TokenKind

    -

    Inherited from Token.kind

    +

    Inherited from DelimitedToken.kind

    Defined in src/tokens/token.ts:5


    name

    name: string

    -

    Defined in src/tokens/tag-token.ts:8

    +

    Defined in src/tokens/tag-token.ts:7


    trimLeft

    trimLeft: boolean = false

    Inherited from DelimitedToken.trimLeft

    @@ -166,23 +166,23 @@

    Inherited from DelimitedToken.trimRight

    Defined in src/tokens/delimited-token.ts:7

    Methods

    getPosition

    getPosition(): number[]

    -

    Inherited from Token.getPosition

    +

    Inherited from DelimitedToken.getPosition

    Defined in src/tokens/token.ts:14

    Returns: number[]


    getText

    getText(): string

    -

    Inherited from Token.getText

    +

    Inherited from DelimitedToken.getText

    Defined in src/tokens/token.ts:11

    Returns: string


    size

    size(): number

    -

    Inherited from Token.size

    +

    Inherited from DelimitedToken.size

    Defined in src/tokens/token.ts:24

    Returns: number

    diff --git a/api/classes/tokens_token_.token.html b/api/classes/tokens_token_.token.html index 720684d28..4f1e3a807 100644 --- a/api/classes/tokens_token_.token.html +++ b/api/classes/tokens_token_.token.html @@ -95,14 +95,14 @@

    Hierarchy

    diff --git a/api/classes/util_error_.assertionerror.html b/api/classes/util_error_.assertionerror.html index 85841463a..c99453783 100644 --- a/api/classes/util_error_.assertionerror.html +++ b/api/classes/util_error_.assertionerror.html @@ -132,7 +132,7 @@ diff --git a/api/classes/util_error_.internalundefinedvariableerror.html b/api/classes/util_error_.internalundefinedvariableerror.html index f2e65dfcd..e03e0654a 100644 --- a/api/classes/util_error_.internalundefinedvariableerror.html +++ b/api/classes/util_error_.internalundefinedvariableerror.html @@ -135,7 +135,7 @@ diff --git a/api/classes/util_error_.liquiderror.html b/api/classes/util_error_.liquiderror.html index 859b2c565..654b951e5 100644 --- a/api/classes/util_error_.liquiderror.html +++ b/api/classes/util_error_.liquiderror.html @@ -152,7 +152,7 @@ diff --git a/api/classes/util_error_.parseerror.html b/api/classes/util_error_.parseerror.html index 76a227af6..dae082eb9 100644 --- a/api/classes/util_error_.parseerror.html +++ b/api/classes/util_error_.parseerror.html @@ -138,7 +138,7 @@ diff --git a/api/classes/util_error_.rendererror.html b/api/classes/util_error_.rendererror.html index 26fc91e1f..e28940e80 100644 --- a/api/classes/util_error_.rendererror.html +++ b/api/classes/util_error_.rendererror.html @@ -155,7 +155,7 @@ diff --git a/api/classes/util_error_.tokenizationerror.html b/api/classes/util_error_.tokenizationerror.html index 2d8cfa153..1ed3808ea 100644 --- a/api/classes/util_error_.tokenizationerror.html +++ b/api/classes/util_error_.tokenizationerror.html @@ -138,7 +138,7 @@ diff --git a/api/classes/util_error_.undefinedvariableerror.html b/api/classes/util_error_.undefinedvariableerror.html index d572ce8cf..dc0dc15ea 100644 --- a/api/classes/util_error_.undefinedvariableerror.html +++ b/api/classes/util_error_.undefinedvariableerror.html @@ -138,7 +138,7 @@ diff --git a/api/classes/util_timezone_date_.timezonedate.html b/api/classes/util_timezone_date_.timezonedate.html index 2c1f1672f..62453f816 100644 --- a/api/classes/util_timezone_date_.timezonedate.html +++ b/api/classes/util_timezone_date_.timezonedate.html @@ -240,7 +240,7 @@ diff --git a/api/enums/context_block_mode_.blockmode.html b/api/enums/context_block_mode_.blockmode.html index f57d9cd86..b63799765 100644 --- a/api/enums/context_block_mode_.blockmode.html +++ b/api/enums/context_block_mode_.blockmode.html @@ -101,7 +101,7 @@ diff --git a/api/enums/fs_loader_.lookuptype.html b/api/enums/fs_loader_.lookuptype.html index 6dcbbdd12..c9ca2992a 100644 --- a/api/enums/fs_loader_.lookuptype.html +++ b/api/enums/fs_loader_.lookuptype.html @@ -94,17 +94,17 @@

    Enumeration members

    Layouts

    Layouts: = “layouts”

    -

    Defined in src/fs/loader.ts:15

    -
    -

    Partials

    Partials: = “partials”

    Defined in src/fs/loader.ts:14


    +

    Partials

    Partials: = “partials”

    +

    Defined in src/fs/loader.ts:13

    +

    Root

    Root: = “root”

    -

    Defined in src/fs/loader.ts:16

    +

    Defined in src/fs/loader.ts:15

    diff --git a/api/enums/parser_token_kind_.tokenkind.html b/api/enums/parser_token_kind_.tokenkind.html index a812b7361..bdb862e1e 100644 --- a/api/enums/parser_token_kind_.tokenkind.html +++ b/api/enums/parser_token_kind_.tokenkind.html @@ -134,7 +134,7 @@ diff --git a/api/globals.html b/api/globals.html index 6bcbb11d5..f7aa24776 100644 --- a/api/globals.html +++ b/api/globals.html @@ -96,7 +96,7 @@ diff --git a/api/interfaces/cache_cache_.cache.html b/api/interfaces/cache_cache_.cache.html index 5e540b1fd..c97246ff0 100644 --- a/api/interfaces/cache_cache_.cache.html +++ b/api/interfaces/cache_cache_.cache.html @@ -157,7 +157,7 @@ diff --git a/api/interfaces/context_scope_.plainobject.html b/api/interfaces/context_scope_.scopeobject.html similarity index 94% rename from api/interfaces/context_scope_.plainobject.html rename to api/interfaces/context_scope_.scopeobject.html index 5627808fa..18d051a25 100644 --- a/api/interfaces/context_scope_.plainobject.html +++ b/api/interfaces/context_scope_.scopeobject.html @@ -2,20 +2,20 @@ - Interface: PlainObject | LiquidJS + Interface: ScopeObject | LiquidJS - + - + - + @@ -56,7 +56,7 @@ diff --git a/api/interfaces/fs_fs_.fs.html b/api/interfaces/fs_fs_.fs.html index 40de722be..dc2bc0071 100644 --- a/api/interfaces/fs_fs_.fs.html +++ b/api/interfaces/fs_fs_.fs.html @@ -212,7 +212,7 @@ diff --git a/api/interfaces/fs_loader_.loaderoptions.html b/api/interfaces/fs_loader_.loaderoptions.html index fd6606259..cca3f23ca 100644 --- a/api/interfaces/fs_loader_.loaderoptions.html +++ b/api/interfaces/fs_loader_.loaderoptions.html @@ -97,26 +97,26 @@
  • LoaderOptions
  • Properties

    extname

    extname: string

    -

    Defined in src/fs/loader.ts:7

    -
    -

    fs

    fs: FS

    Defined in src/fs/loader.ts:6


    -

    layouts

    layouts: string[]

    -

    Defined in src/fs/loader.ts:10

    +

    fs

    fs: FS

    +

    Defined in src/fs/loader.ts:5


    -

    partials

    partials: string[]

    +

    layouts

    layouts: string[]

    Defined in src/fs/loader.ts:9


    +

    partials

    partials: string[]

    +

    Defined in src/fs/loader.ts:8

    +

    relativeReference

    relativeReference: boolean

    -

    Defined in src/fs/loader.ts:11

    +

    Defined in src/fs/loader.ts:10


    root

    root: string[]

    -

    Defined in src/fs/loader.ts:8

    +

    Defined in src/fs/loader.ts:7

    diff --git a/api/interfaces/liquid_options_.liquidoptions.html b/api/interfaces/liquid_options_.liquidoptions.html index 9f4829672..7c99b948e 100644 --- a/api/interfaces/liquid_options_.liquidoptions.html +++ b/api/interfaces/liquid_options_.liquidoptions.html @@ -98,129 +98,129 @@

    NormalizedOptions

    -

    Properties

    Optional cache

    cache? : boolean | number | LiquidCache

    -

    Defined in src/liquid-options.ts:33

    +

    Properties

    Optional cache

    cache? : boolean | number | LiquidCache

    +

    Defined in src/liquid-options.ts:25

    Whether or not to cache resolved templates. Defaults to false.


    Optional dynamicPartials

    dynamicPartials? : undefined | false | true

    -

    Defined in src/liquid-options.ts:37

    +

    Defined in src/liquid-options.ts:29

    If set, treat the filepath parameter in {%include filepath %} and {%layout filepath%} as a variable, otherwise as a literal value. Defaults to true.


    Optional extname

    extname? : undefined | string

    -

    Defined in src/liquid-options.ts:31

    +

    Defined in src/liquid-options.ts:23

    Add a extname (if filepath doesn’t include one) before template file lookup. Eg: setting to ".html" will allow including file by basename. Defaults to "".


    Optional fs

    fs? : FS

    -

    Defined in src/liquid-options.ts:69

    +

    Defined in src/liquid-options.ts:61

    fs is used to override the default file-system module with a custom implementation.


    Optional globals

    globals? : undefined | object

    -

    Defined in src/liquid-options.ts:71

    +

    Defined in src/liquid-options.ts:63

    the global scope passed down to all partial and layout templates, i.e. templates included by include, layout and render tags.


    Optional greedy

    greedy? : undefined | false | true

    -

    Defined in src/liquid-options.ts:67

    +

    Defined in src/liquid-options.ts:59

    Whether trim*Left/trim*Right is greedy. When set to true, all consecutive blank characters including \n will be trimed regardless of line breaks. Defaults to true.


    Optional jekyllInclude

    jekyllInclude? : undefined | false | true

    -

    Defined in src/liquid-options.ts:29

    +

    Defined in src/liquid-options.ts:21

    Use jekyll style include, pass parameters to include variable of current scope. Defaults to false.


    Optional jsTruthy

    jsTruthy? : undefined | false | true

    -

    Defined in src/liquid-options.ts:35

    +

    Defined in src/liquid-options.ts:27

    Use Javascript Truthiness. Defaults to false.


    Optional keepOutputType

    keepOutputType? : undefined | false | true

    -

    Defined in src/liquid-options.ts:73

    +

    Defined in src/liquid-options.ts:65

    Whether or not to keep value type when writing the Output, not working for streamed rendering. Defaults to false.


    Optional layouts

    layouts? : string | string[]

    -

    Defined in src/liquid-options.ts:25

    +

    Defined in src/liquid-options.ts:17

    A directory or an array of directories from where to resolve layout templates. If it’s an array, the files are looked up in the order they occur in the array. Defaults to root


    Optional lenientIf

    lenientIf? : undefined | false | true

    -

    Defined in src/liquid-options.ts:45

    +

    Defined in src/liquid-options.ts:37

    Modifies the behavior of strictVariables. If set, a single undefined variable will not cause an exception in the context of the if/elsif/unless tag and the default filter. Instead, it will evaluate to false and null, respectively. Irrelevant if strictVariables is not set. Defaults to false.


    -

    Optional operators

    operators? : Operators

    -

    Defined in src/liquid-options.ts:77

    +

    Optional operators

    operators? : Operators

    +

    Defined in src/liquid-options.ts:69

    An object of operators for conditional statements. Defaults to the regular Liquid operators.


    Optional orderedFilterParameters

    orderedFilterParameters? : undefined | false | true

    -

    Defined in src/liquid-options.ts:79

    +

    Defined in src/liquid-options.ts:71

    Respect parameter order when using filters like “for … reversed limit”, Defaults to false.


    Optional outputDelimiterLeft

    outputDelimiterLeft? : undefined | string

    -

    Defined in src/liquid-options.ts:61

    +

    Defined in src/liquid-options.ts:53

    The left delimiter for liquid outputs.


    Optional outputDelimiterRight

    outputDelimiterRight? : undefined | string

    -

    Defined in src/liquid-options.ts:63

    +

    Defined in src/liquid-options.ts:55

    The right delimiter for liquid outputs.


    Optional outputEscape

    outputEscape? : OutputEscapeOption

    -

    Defined in src/liquid-options.ts:75

    +

    Defined in src/liquid-options.ts:67

    Default escape filter applied to output values, when set, you’ll have to add | raw for values don’t need to be escaped. Defaults to undefined.


    Optional ownPropertyOnly

    ownPropertyOnly? : undefined | false | true

    -

    Defined in src/liquid-options.ts:43

    +

    Defined in src/liquid-options.ts:35

    Hide scope variables from prototypes, useful when you’re passing a not sanitized object into LiquidJS or need to hide prototypes from templates.


    Optional partials

    partials? : string | string[]

    -

    Defined in src/liquid-options.ts:23

    +

    Defined in src/liquid-options.ts:15

    A directory or an array of directories from where to resolve included templates. If it’s an array, the files are looked up in the order they occur in the array. Defaults to root


    Optional preserveTimezones

    preserveTimezones? : undefined | false | true

    -

    Defined in src/liquid-options.ts:65

    +

    Defined in src/liquid-options.ts:57

    Whether input strings to date filter preserve the given timezone


    Optional relativeReference

    relativeReference? : undefined | false | true

    -

    Defined in src/liquid-options.ts:27

    +

    Defined in src/liquid-options.ts:19

    Allow refer to layouts/partials by relative pathname. To avoid arbitrary filesystem read, paths been referenced also need to be within corresponding root, partials, layouts. Defaults to true.


    Optional root

    root? : string | string[]

    -

    Defined in src/liquid-options.ts:21

    +

    Defined in src/liquid-options.ts:13

    A directory or an array of directories from where to resolve layout and include templates, and the filename passed to .renderFile(). If it’s an array, the files are looked up in the order they occur in the array. Defaults to ["."]


    Optional strictFilters

    strictFilters? : undefined | false | true

    -

    Defined in src/liquid-options.ts:39

    +

    Defined in src/liquid-options.ts:31

    Whether or not to assert filter existence. If set to false, undefined filters will be skipped. Otherwise, undefined filters will cause an exception. Defaults to false.


    Optional strictVariables

    strictVariables? : undefined | false | true

    -

    Defined in src/liquid-options.ts:41

    +

    Defined in src/liquid-options.ts:33

    Whether or not to assert variable existence. If set to false, undefined variables will be rendered as empty string. Otherwise, undefined variables will cause an exception. Defaults to false.


    Optional tagDelimiterLeft

    tagDelimiterLeft? : undefined | string

    -

    Defined in src/liquid-options.ts:57

    +

    Defined in src/liquid-options.ts:49

    The left delimiter for liquid tags.


    Optional tagDelimiterRight

    tagDelimiterRight? : undefined | string

    -

    Defined in src/liquid-options.ts:59

    +

    Defined in src/liquid-options.ts:51

    The right delimiter for liquid tags.


    Optional timezoneOffset

    timezoneOffset? : undefined | number

    -

    Defined in src/liquid-options.ts:47

    +

    Defined in src/liquid-options.ts:39

    JavaScript timezoneOffset for date filter, default to local time. That means if you’re in Australia (UTC+10), it’ll default to -600


    Optional trimOutputLeft

    trimOutputLeft? : undefined | false | true

    -

    Defined in src/liquid-options.ts:55

    +

    Defined in src/liquid-options.ts:47

    Similar to trimOutputRight, whereas the \n is exclusive. Defaults to false. See Whitespace Control for details.


    Optional trimOutputRight

    trimOutputRight? : undefined | false | true

    -

    Defined in src/liquid-options.ts:53

    +

    Defined in src/liquid-options.ts:45

    Strip blank characters (including , \t, and \r) from the right of values ({{ }}) until \n (inclusive). Defaults to false.


    Optional trimTagLeft

    trimTagLeft? : undefined | false | true

    -

    Defined in src/liquid-options.ts:51

    +

    Defined in src/liquid-options.ts:43

    Similar to trimTagRight, whereas the \n is exclusive. Defaults to false. See Whitespace Control for details.


    Optional trimTagRight

    trimTagRight? : undefined | false | true

    -

    Defined in src/liquid-options.ts:49

    +

    Defined in src/liquid-options.ts:41

    Strip blank characters (including , \t, and \r) from the right of tags ({% %}) until \n (inclusive). Defaults to false.

    diff --git a/api/interfaces/liquid_options_.normalizedfulloptions.html b/api/interfaces/liquid_options_.normalizedfulloptions.html index 31350f464..d173fd59f 100644 --- a/api/interfaces/liquid_options_.normalizedfulloptions.html +++ b/api/interfaces/liquid_options_.normalizedfulloptions.html @@ -95,136 +95,132 @@

    Hierarchy

    NormalizedOptions

    NormalizedFullOptions

    -

    Properties

    Optional cache

    cache? : LiquidCache

    +

    Properties

    Optional cache

    cache? : LiquidCache

    Overrides NormalizedOptions.cache

    -

    Defined in src/liquid-options.ts:117

    +

    Defined in src/liquid-options.ts:108


    dynamicPartials

    dynamicPartials: boolean

    Overrides LiquidOptions.dynamicPartials

    -

    Defined in src/liquid-options.ts:119

    +

    Defined in src/liquid-options.ts:110


    extname

    extname: string

    Overrides LiquidOptions.extname

    -

    Defined in src/liquid-options.ts:116

    +

    Defined in src/liquid-options.ts:107


    fs

    fs: FS

    Overrides LiquidOptions.fs

    -

    Defined in src/liquid-options.ts:120

    +

    Defined in src/liquid-options.ts:111


    globals

    globals: object

    Overrides LiquidOptions.globals

    -

    Defined in src/liquid-options.ts:135

    +

    Defined in src/liquid-options.ts:126


    greedy

    greedy: boolean

    Overrides LiquidOptions.greedy

    -

    Defined in src/liquid-options.ts:134

    +

    Defined in src/liquid-options.ts:125


    jekyllInclude

    jekyllInclude: boolean

    Overrides LiquidOptions.jekyllInclude

    -

    Defined in src/liquid-options.ts:115

    +

    Defined in src/liquid-options.ts:106


    jsTruthy

    jsTruthy: boolean

    Overrides LiquidOptions.jsTruthy

    -

    Defined in src/liquid-options.ts:118

    +

    Defined in src/liquid-options.ts:109


    keepOutputType

    keepOutputType: boolean

    Overrides LiquidOptions.keepOutputType

    -

    Defined in src/liquid-options.ts:136

    +

    Defined in src/liquid-options.ts:127


    layouts

    layouts: string[]

    Overrides NormalizedOptions.layouts

    -

    Defined in src/liquid-options.ts:113

    +

    Defined in src/liquid-options.ts:104


    lenientIf

    lenientIf: boolean

    Overrides LiquidOptions.lenientIf

    -

    Defined in src/liquid-options.ts:124

    +

    Defined in src/liquid-options.ts:115


    -

    operators

    operators: Operators

    +

    operators

    operators: Operators

    Overrides LiquidOptions.operators

    -

    Defined in src/liquid-options.ts:137

    -
    -

    operatorsTrie

    operatorsTrie: Trie

    -

    Overrides NormalizedOptions.operatorsTrie

    -

    Defined in src/liquid-options.ts:138

    +

    Defined in src/liquid-options.ts:128


    Optional orderedFilterParameters

    orderedFilterParameters? : undefined | false | true

    Inherited from LiquidOptions.orderedFilterParameters

    -

    Defined in src/liquid-options.ts:79

    +

    Defined in src/liquid-options.ts:71

    Respect parameter order when using filters like “for … reversed limit”, Defaults to false.


    outputDelimiterLeft

    outputDelimiterLeft: string

    Overrides LiquidOptions.outputDelimiterLeft

    -

    Defined in src/liquid-options.ts:131

    +

    Defined in src/liquid-options.ts:122


    outputDelimiterRight

    outputDelimiterRight: string

    Overrides LiquidOptions.outputDelimiterRight

    -

    Defined in src/liquid-options.ts:132

    +

    Defined in src/liquid-options.ts:123


    Optional outputEscape

    outputEscape? : OutputEscape

    Inherited from NormalizedOptions.outputEscape

    Overrides LiquidOptions.outputEscape

    -

    Defined in src/liquid-options.ts:106

    +

    Defined in src/liquid-options.ts:98


    ownPropertyOnly

    ownPropertyOnly: boolean

    Overrides LiquidOptions.ownPropertyOnly

    -

    Defined in src/liquid-options.ts:123

    +

    Defined in src/liquid-options.ts:114


    partials

    partials: string[]

    Overrides NormalizedOptions.partials

    -

    Defined in src/liquid-options.ts:112

    +

    Defined in src/liquid-options.ts:103


    preserveTimezones

    preserveTimezones: boolean

    Overrides LiquidOptions.preserveTimezones

    -

    Defined in src/liquid-options.ts:133

    +

    Defined in src/liquid-options.ts:124


    relativeReference

    relativeReference: boolean

    Overrides LiquidOptions.relativeReference

    -

    Defined in src/liquid-options.ts:114

    +

    Defined in src/liquid-options.ts:105


    root

    root: string[]

    Overrides NormalizedOptions.root

    -

    Defined in src/liquid-options.ts:111

    +

    Defined in src/liquid-options.ts:102


    strictFilters

    strictFilters: boolean

    Overrides LiquidOptions.strictFilters

    -

    Defined in src/liquid-options.ts:121

    +

    Defined in src/liquid-options.ts:112


    strictVariables

    strictVariables: boolean

    Overrides LiquidOptions.strictVariables

    -

    Defined in src/liquid-options.ts:122

    +

    Defined in src/liquid-options.ts:113


    tagDelimiterLeft

    tagDelimiterLeft: string

    Overrides LiquidOptions.tagDelimiterLeft

    -

    Defined in src/liquid-options.ts:129

    +

    Defined in src/liquid-options.ts:120


    tagDelimiterRight

    tagDelimiterRight: string

    Overrides LiquidOptions.tagDelimiterRight

    -

    Defined in src/liquid-options.ts:130

    +

    Defined in src/liquid-options.ts:121


    Optional timezoneOffset

    timezoneOffset? : undefined | number

    Inherited from LiquidOptions.timezoneOffset

    -

    Defined in src/liquid-options.ts:47

    +

    Defined in src/liquid-options.ts:39

    JavaScript timezoneOffset for date filter, default to local time. That means if you’re in Australia (UTC+10), it’ll default to -600


    trimOutputLeft

    trimOutputLeft: boolean

    Overrides LiquidOptions.trimOutputLeft

    -

    Defined in src/liquid-options.ts:128

    +

    Defined in src/liquid-options.ts:119


    trimOutputRight

    trimOutputRight: boolean

    Overrides LiquidOptions.trimOutputRight

    -

    Defined in src/liquid-options.ts:127

    +

    Defined in src/liquid-options.ts:118


    trimTagLeft

    trimTagLeft: boolean

    Overrides LiquidOptions.trimTagLeft

    -

    Defined in src/liquid-options.ts:126

    +

    Defined in src/liquid-options.ts:117


    trimTagRight

    trimTagRight: boolean

    Overrides LiquidOptions.trimTagRight

    -

    Defined in src/liquid-options.ts:125

    +

    Defined in src/liquid-options.ts:116

    @@ -233,7 +229,7 @@
    Contents -
    1. Hierarchy
    2. Properties
      1. Optional cache
      2. dynamicPartials
      3. extname
      4. fs
      5. globals
      6. greedy
      7. jekyllInclude
      8. jsTruthy
      9. keepOutputType
      10. layouts
      11. lenientIf
      12. operators
      13. operatorsTrie
      14. Optional orderedFilterParameters
      15. outputDelimiterLeft
      16. outputDelimiterRight
      17. Optional outputEscape
      18. ownPropertyOnly
      19. partials
      20. preserveTimezones
      21. relativeReference
      22. root
      23. strictFilters
      24. strictVariables
      25. tagDelimiterLeft
      26. tagDelimiterRight
      27. Optional timezoneOffset
      28. trimOutputLeft
      29. trimOutputRight
      30. trimTagLeft
      31. trimTagRight
    +
    1. Hierarchy
    2. Properties
      1. Optional cache
      2. dynamicPartials
      3. extname
      4. fs
      5. globals
      6. greedy
      7. jekyllInclude
      8. jsTruthy
      9. keepOutputType
      10. layouts
      11. lenientIf
      12. operators
      13. Optional orderedFilterParameters
      14. outputDelimiterLeft
      15. outputDelimiterRight
      16. Optional outputEscape
      17. ownPropertyOnly
      18. partials
      19. preserveTimezones
      20. relativeReference
      21. root
      22. strictFilters
      23. strictVariables
      24. tagDelimiterLeft
      25. tagDelimiterRight
      26. Optional timezoneOffset
      27. trimOutputLeft
      28. trimOutputRight
      29. trimTagLeft
      30. trimTagRight
    Back to Top
    diff --git a/api/interfaces/liquid_options_.normalizedoptions.html b/api/interfaces/liquid_options_.normalizedoptions.html index f0c824155..2e4822fba 100644 --- a/api/interfaces/liquid_options_.normalizedoptions.html +++ b/api/interfaces/liquid_options_.normalizedoptions.html @@ -99,157 +99,154 @@

    NormalizedFullOptions

    -

    Properties

    Optional cache

    cache? : LiquidCache

    +

    Properties

    Optional cache

    cache? : LiquidCache

    Overrides LiquidOptions.cache

    -

    Defined in src/liquid-options.ts:105

    +

    Defined in src/liquid-options.ts:97


    Optional dynamicPartials

    dynamicPartials? : undefined | false | true

    Inherited from LiquidOptions.dynamicPartials

    -

    Defined in src/liquid-options.ts:37

    +

    Defined in src/liquid-options.ts:29

    If set, treat the filepath parameter in {%include filepath %} and {%layout filepath%} as a variable, otherwise as a literal value. Defaults to true.


    Optional extname

    extname? : undefined | string

    Inherited from LiquidOptions.extname

    -

    Defined in src/liquid-options.ts:31

    +

    Defined in src/liquid-options.ts:23

    Add a extname (if filepath doesn’t include one) before template file lookup. Eg: setting to ".html" will allow including file by basename. Defaults to "".


    Optional fs

    fs? : FS

    Inherited from LiquidOptions.fs

    -

    Defined in src/liquid-options.ts:69

    +

    Defined in src/liquid-options.ts:61

    fs is used to override the default file-system module with a custom implementation.


    Optional globals

    globals? : undefined | object

    Inherited from LiquidOptions.globals

    -

    Defined in src/liquid-options.ts:71

    +

    Defined in src/liquid-options.ts:63

    the global scope passed down to all partial and layout templates, i.e. templates included by include, layout and render tags.


    Optional greedy

    greedy? : undefined | false | true

    Inherited from LiquidOptions.greedy

    -

    Defined in src/liquid-options.ts:67

    +

    Defined in src/liquid-options.ts:59

    Whether trim*Left/trim*Right is greedy. When set to true, all consecutive blank characters including \n will be trimed regardless of line breaks. Defaults to true.


    Optional jekyllInclude

    jekyllInclude? : undefined | false | true

    Inherited from LiquidOptions.jekyllInclude

    -

    Defined in src/liquid-options.ts:29

    +

    Defined in src/liquid-options.ts:21

    Use jekyll style include, pass parameters to include variable of current scope. Defaults to false.


    Optional jsTruthy

    jsTruthy? : undefined | false | true

    Inherited from LiquidOptions.jsTruthy

    -

    Defined in src/liquid-options.ts:35

    +

    Defined in src/liquid-options.ts:27

    Use Javascript Truthiness. Defaults to false.


    Optional keepOutputType

    keepOutputType? : undefined | false | true

    Inherited from LiquidOptions.keepOutputType

    -

    Defined in src/liquid-options.ts:73

    +

    Defined in src/liquid-options.ts:65

    Whether or not to keep value type when writing the Output, not working for streamed rendering. Defaults to false.


    Optional layouts

    layouts? : string[]

    Overrides LiquidOptions.layouts

    -

    Defined in src/liquid-options.ts:104

    +

    Defined in src/liquid-options.ts:96


    Optional lenientIf

    lenientIf? : undefined | false | true

    Inherited from LiquidOptions.lenientIf

    -

    Defined in src/liquid-options.ts:45

    +

    Defined in src/liquid-options.ts:37

    Modifies the behavior of strictVariables. If set, a single undefined variable will not cause an exception in the context of the if/elsif/unless tag and the default filter. Instead, it will evaluate to false and null, respectively. Irrelevant if strictVariables is not set. Defaults to false.


    -

    Optional operators

    operators? : Operators

    +

    Optional operators

    operators? : Operators

    Inherited from LiquidOptions.operators

    -

    Defined in src/liquid-options.ts:77

    +

    Defined in src/liquid-options.ts:69

    An object of operators for conditional statements. Defaults to the regular Liquid operators.


    -

    Optional operatorsTrie

    operatorsTrie? : Trie

    -

    Defined in src/liquid-options.ts:107

    -

    Optional orderedFilterParameters

    orderedFilterParameters? : undefined | false | true

    Inherited from LiquidOptions.orderedFilterParameters

    -

    Defined in src/liquid-options.ts:79

    +

    Defined in src/liquid-options.ts:71

    Respect parameter order when using filters like “for … reversed limit”, Defaults to false.


    Optional outputDelimiterLeft

    outputDelimiterLeft? : undefined | string

    Inherited from LiquidOptions.outputDelimiterLeft

    -

    Defined in src/liquid-options.ts:61

    +

    Defined in src/liquid-options.ts:53

    The left delimiter for liquid outputs.


    Optional outputDelimiterRight

    outputDelimiterRight? : undefined | string

    Inherited from LiquidOptions.outputDelimiterRight

    -

    Defined in src/liquid-options.ts:63

    +

    Defined in src/liquid-options.ts:55

    The right delimiter for liquid outputs.


    Optional outputEscape

    outputEscape? : OutputEscape

    Overrides LiquidOptions.outputEscape

    -

    Defined in src/liquid-options.ts:106

    +

    Defined in src/liquid-options.ts:98


    Optional ownPropertyOnly

    ownPropertyOnly? : undefined | false | true

    Inherited from LiquidOptions.ownPropertyOnly

    -

    Defined in src/liquid-options.ts:43

    +

    Defined in src/liquid-options.ts:35

    Hide scope variables from prototypes, useful when you’re passing a not sanitized object into LiquidJS or need to hide prototypes from templates.


    Optional partials

    partials? : string[]

    Overrides LiquidOptions.partials

    -

    Defined in src/liquid-options.ts:103

    +

    Defined in src/liquid-options.ts:95


    Optional preserveTimezones

    preserveTimezones? : undefined | false | true

    Inherited from LiquidOptions.preserveTimezones

    -

    Defined in src/liquid-options.ts:65

    +

    Defined in src/liquid-options.ts:57

    Whether input strings to date filter preserve the given timezone


    Optional relativeReference

    relativeReference? : undefined | false | true

    Inherited from LiquidOptions.relativeReference

    -

    Defined in src/liquid-options.ts:27

    +

    Defined in src/liquid-options.ts:19

    Allow refer to layouts/partials by relative pathname. To avoid arbitrary filesystem read, paths been referenced also need to be within corresponding root, partials, layouts. Defaults to true.


    Optional root

    root? : string[]

    Overrides LiquidOptions.root

    -

    Defined in src/liquid-options.ts:102

    +

    Defined in src/liquid-options.ts:94


    Optional strictFilters

    strictFilters? : undefined | false | true

    Inherited from LiquidOptions.strictFilters

    -

    Defined in src/liquid-options.ts:39

    +

    Defined in src/liquid-options.ts:31

    Whether or not to assert filter existence. If set to false, undefined filters will be skipped. Otherwise, undefined filters will cause an exception. Defaults to false.


    Optional strictVariables

    strictVariables? : undefined | false | true

    Inherited from LiquidOptions.strictVariables

    -

    Defined in src/liquid-options.ts:41

    +

    Defined in src/liquid-options.ts:33

    Whether or not to assert variable existence. If set to false, undefined variables will be rendered as empty string. Otherwise, undefined variables will cause an exception. Defaults to false.


    Optional tagDelimiterLeft

    tagDelimiterLeft? : undefined | string

    Inherited from LiquidOptions.tagDelimiterLeft

    -

    Defined in src/liquid-options.ts:57

    +

    Defined in src/liquid-options.ts:49

    The left delimiter for liquid tags.


    Optional tagDelimiterRight

    tagDelimiterRight? : undefined | string

    Inherited from LiquidOptions.tagDelimiterRight

    -

    Defined in src/liquid-options.ts:59

    +

    Defined in src/liquid-options.ts:51

    The right delimiter for liquid tags.


    Optional timezoneOffset

    timezoneOffset? : undefined | number

    Inherited from LiquidOptions.timezoneOffset

    -

    Defined in src/liquid-options.ts:47

    +

    Defined in src/liquid-options.ts:39

    JavaScript timezoneOffset for date filter, default to local time. That means if you’re in Australia (UTC+10), it’ll default to -600


    Optional trimOutputLeft

    trimOutputLeft? : undefined | false | true

    Inherited from LiquidOptions.trimOutputLeft

    -

    Defined in src/liquid-options.ts:55

    +

    Defined in src/liquid-options.ts:47

    Similar to trimOutputRight, whereas the \n is exclusive. Defaults to false. See Whitespace Control for details.


    Optional trimOutputRight

    trimOutputRight? : undefined | false | true

    Inherited from LiquidOptions.trimOutputRight

    -

    Defined in src/liquid-options.ts:53

    +

    Defined in src/liquid-options.ts:45

    Strip blank characters (including , \t, and \r) from the right of values ({{ }}) until \n (inclusive). Defaults to false.


    Optional trimTagLeft

    trimTagLeft? : undefined | false | true

    Inherited from LiquidOptions.trimTagLeft

    -

    Defined in src/liquid-options.ts:51

    +

    Defined in src/liquid-options.ts:43

    Similar to trimTagRight, whereas the \n is exclusive. Defaults to false. See Whitespace Control for details.


    Optional trimTagRight

    trimTagRight? : undefined | false | true

    Inherited from LiquidOptions.trimTagRight

    -

    Defined in src/liquid-options.ts:49

    +

    Defined in src/liquid-options.ts:41

    Strip blank characters (including , \t, and \r) from the right of tags ({% %}) until \n (inclusive). Defaults to false.

    @@ -258,7 +255,7 @@
    Contents -
    1. Hierarchy
    2. Properties
      1. Optional cache
      2. Optional dynamicPartials
      3. Optional extname
      4. Optional fs
      5. Optional globals
      6. Optional greedy
      7. Optional jekyllInclude
      8. Optional jsTruthy
      9. Optional keepOutputType
      10. Optional layouts
      11. Optional lenientIf
      12. Optional operators
      13. Optional operatorsTrie
      14. Optional orderedFilterParameters
      15. Optional outputDelimiterLeft
      16. Optional outputDelimiterRight
      17. Optional outputEscape
      18. Optional ownPropertyOnly
      19. Optional partials
      20. Optional preserveTimezones
      21. Optional relativeReference
      22. Optional root
      23. Optional strictFilters
      24. Optional strictVariables
      25. Optional tagDelimiterLeft
      26. Optional tagDelimiterRight
      27. Optional timezoneOffset
      28. Optional trimOutputLeft
      29. Optional trimOutputRight
      30. Optional trimTagLeft
      31. Optional trimTagRight
    +
    1. Hierarchy
    2. Properties
      1. Optional cache
      2. Optional dynamicPartials
      3. Optional extname
      4. Optional fs
      5. Optional globals
      6. Optional greedy
      7. Optional jekyllInclude
      8. Optional jsTruthy
      9. Optional keepOutputType
      10. Optional layouts
      11. Optional lenientIf
      12. Optional operators
      13. Optional orderedFilterParameters
      14. Optional outputDelimiterLeft
      15. Optional outputDelimiterRight
      16. Optional outputEscape
      17. Optional ownPropertyOnly
      18. Optional partials
      19. Optional preserveTimezones
      20. Optional relativeReference
      21. Optional root
      22. Optional strictFilters
      23. Optional strictVariables
      24. Optional tagDelimiterLeft
      25. Optional tagDelimiterRight
      26. Optional timezoneOffset
      27. Optional trimOutputLeft
      28. Optional trimOutputRight
      29. Optional trimTagLeft
      30. Optional trimTagRight
    Back to Top
    diff --git a/api/interfaces/liquid_options_.renderoptions.html b/api/interfaces/liquid_options_.renderoptions.html index af3c8689a..fad6a8f7e 100644 --- a/api/interfaces/liquid_options_.renderoptions.html +++ b/api/interfaces/liquid_options_.renderoptions.html @@ -97,24 +97,24 @@
  • RenderOptions
  • Properties

    Optional globals

    globals? : undefined | object

    -

    Defined in src/liquid-options.ts:90

    +

    Defined in src/liquid-options.ts:82

    Same as globals on LiquidOptions, but only for current render() call


    Optional ownPropertyOnly

    ownPropertyOnly? : undefined | false | true

    -

    Defined in src/liquid-options.ts:98

    +

    Defined in src/liquid-options.ts:90

    Same as ownPropertyOnly on LiquidOptions, but only for current render() call


    Optional strictVariables

    strictVariables? : undefined | false | true

    -

    Defined in src/liquid-options.ts:94

    +

    Defined in src/liquid-options.ts:86

    Same as strictVariables on LiquidOptions, but only for current render() call


    Optional sync

    sync? : undefined | false | true

    -

    Defined in src/liquid-options.ts:86

    +

    Defined in src/liquid-options.ts:78

    This call is sync or async? It’s used by Liquid internal methods, you’ll not need this.

    diff --git a/api/interfaces/template_filter_filter_impl_.filterimpl.html b/api/interfaces/template_filter_impl_options_.filterimpl.html similarity index 96% rename from api/interfaces/template_filter_filter_impl_.filterimpl.html rename to api/interfaces/template_filter_impl_options_.filterimpl.html index a04180a81..6f6ff7e7c 100644 --- a/api/interfaces/template_filter_filter_impl_.filterimpl.html +++ b/api/interfaces/template_filter_impl_options_.filterimpl.html @@ -9,13 +9,13 @@ - + - + - + @@ -56,7 +56,7 @@ @@ -157,7 +157,7 @@ diff --git a/api/interfaces/util_operator_trie_.trie.html b/api/interfaces/util_operator_trie_.trie.html index 8ab83a0f8..54959b388 100644 --- a/api/interfaces/util_operator_trie_.trie.html +++ b/api/interfaces/util_operator_trie_.trie.html @@ -97,12 +97,12 @@
  • Trie
  • Indexable

    diff --git a/api/interfaces/util_operator_trie_.trieleafnode.html b/api/interfaces/util_operator_trie_.trieleafnode.html new file mode 100644 index 000000000..d3c882ef4 --- /dev/null +++ b/api/interfaces/util_operator_trie_.trieleafnode.html @@ -0,0 +1,190 @@ + + + + + Interface: TrieLeafNode | LiquidJS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    + +
    + + + +
    +
    + + + + + + + + + + + \ No newline at end of file diff --git a/api/interfaces/util_strftime_.formatoptions.html b/api/interfaces/util_strftime_.formatoptions.html index cf1a92ce6..c04270581 100644 --- a/api/interfaces/util_strftime_.formatoptions.html +++ b/api/interfaces/util_strftime_.formatoptions.html @@ -107,7 +107,7 @@ diff --git a/api/modules/builtin_filters_index_.html b/api/modules/builtin_filters_index_.html deleted file mode 100644 index 0ec76936a..000000000 --- a/api/modules/builtin_filters_index_.html +++ /dev/null @@ -1,278 +0,0 @@ - - - - - Module: "builtin/filters/index" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    -
    -
    - -
    -
    -
    -
    -
    -

    Module: "builtin/filters/index"

    - - - -
    -
    -

    References

    Default

    Default:

    -
    -

    abs

    abs:

    -
    -

    append

    append:

    -
    -

    atLeast

    atLeast:

    -
    -

    atMost

    atMost:

    -
    -

    capitalize

    capitalize:

    -
    -

    ceil

    ceil:

    -
    -

    compact

    compact:

    -
    -

    concat

    concat:

    -
    -

    date

    date:

    -
    -

    dividedBy

    dividedBy:

    -
    -

    downcase

    downcase:

    -
    -

    escape

    escape:

    -
    -

    escapeOnce

    escapeOnce:

    -
    -

    first

    first:

    -
    -

    floor

    floor:

    -
    -

    join

    join:

    -
    -

    json

    json:

    -
    -

    last

    last:

    -
    -

    lstrip

    lstrip:

    -
    -

    map

    map:

    -
    -

    minus

    minus:

    -
    -

    modulo

    modulo:

    -
    -

    newlineToBr

    newlineToBr:

    -
    -

    plus

    plus:

    -
    -

    prepend

    prepend:

    -
    -

    raw

    raw:

    -
    -

    remove

    remove:

    -
    -

    removeFirst

    removeFirst:

    -
    -

    replace

    replace:

    -
    -

    replaceFirst

    replaceFirst:

    -
    -

    reverse

    reverse:

    -
    -

    round

    round:

    -
    -

    rstrip

    rstrip:

    -
    -

    size

    size:

    -
    -

    slice

    slice:

    -
    -

    sort

    sort:

    -
    -

    sortNatural

    sortNatural:

    -
    -

    split

    split:

    -
    -

    strip

    strip:

    -
    -

    stripHtml

    stripHtml:

    -
    -

    stripNewlines

    stripNewlines:

    -
    -

    times

    times:

    -
    -

    truncate

    truncate:

    -
    -

    truncatewords

    truncatewords:

    -
    -

    uniq

    uniq:

    -
    -

    upcase

    upcase:

    -
    -

    urlDecode

    urlDecode:

    -
    -

    urlEncode

    urlEncode:

    -
    -

    where

    where:

    - -
    -
    - - -
    -
    -
    - -
    -
    -
    -
    -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_assign_.html b/api/modules/builtin_tags_assign_.html deleted file mode 100644 index 892bb0a4b..000000000 --- a/api/modules/builtin_tags_assign_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/assign" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_block_.html b/api/modules/builtin_tags_block_.html deleted file mode 100644 index 2cae1b339..000000000 --- a/api/modules/builtin_tags_block_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/block" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_break_.html b/api/modules/builtin_tags_break_.html deleted file mode 100644 index 44505aa81..000000000 --- a/api/modules/builtin_tags_break_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/break" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_case_.html b/api/modules/builtin_tags_case_.html deleted file mode 100644 index 976be7f87..000000000 --- a/api/modules/builtin_tags_case_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/case" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_comment_.html b/api/modules/builtin_tags_comment_.html deleted file mode 100644 index 5852629b7..000000000 --- a/api/modules/builtin_tags_comment_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/comment" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_continue_.html b/api/modules/builtin_tags_continue_.html deleted file mode 100644 index acde180d5..000000000 --- a/api/modules/builtin_tags_continue_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/continue" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_cycle_.html b/api/modules/builtin_tags_cycle_.html deleted file mode 100644 index fce0feb52..000000000 --- a/api/modules/builtin_tags_cycle_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/cycle" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_decrement_.html b/api/modules/builtin_tags_decrement_.html deleted file mode 100644 index 550dd2be5..000000000 --- a/api/modules/builtin_tags_decrement_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/decrement" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_if_.html b/api/modules/builtin_tags_if_.html deleted file mode 100644 index 1efe53eff..000000000 --- a/api/modules/builtin_tags_if_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/if" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_include_.html b/api/modules/builtin_tags_include_.html deleted file mode 100644 index b17cd33d7..000000000 --- a/api/modules/builtin_tags_include_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/include" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_increment_.html b/api/modules/builtin_tags_increment_.html deleted file mode 100644 index 949617ec7..000000000 --- a/api/modules/builtin_tags_increment_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/increment" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_inline_comment_.html b/api/modules/builtin_tags_inline_comment_.html deleted file mode 100644 index 732eb7748..000000000 --- a/api/modules/builtin_tags_inline_comment_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/inline-comment" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_liquid_.html b/api/modules/builtin_tags_liquid_.html deleted file mode 100644 index 0178ebb2a..000000000 --- a/api/modules/builtin_tags_liquid_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/liquid" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_tablerow_.html b/api/modules/builtin_tags_tablerow_.html deleted file mode 100644 index 0711dff10..000000000 --- a/api/modules/builtin_tags_tablerow_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/tablerow" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/builtin_tags_unless_.html b/api/modules/builtin_tags_unless_.html deleted file mode 100644 index d99b09465..000000000 --- a/api/modules/builtin_tags_unless_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "builtin/tags/unless" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/cache_cache_.html b/api/modules/cache_cache_.html index ac6b9f1e6..5f5d1e47a 100644 --- a/api/modules/cache_cache_.html +++ b/api/modules/cache_cache_.html @@ -98,7 +98,7 @@ diff --git a/api/modules/builtin_tags_echo_.html b/api/modules/cache_index_.html similarity index 89% rename from api/modules/builtin_tags_echo_.html rename to api/modules/cache_index_.html index 8fad1537c..47f664f23 100644 --- a/api/modules/builtin_tags_echo_.html +++ b/api/modules/cache_index_.html @@ -2,20 +2,20 @@ - Module: "builtin/tags/echo" | LiquidJS + Module: "cache/index" | LiquidJS - + - + - + @@ -56,7 +56,7 @@ diff --git a/api/modules/context_context_.html b/api/modules/context_context_.html index 48d0b7e80..2fd2a8784 100644 --- a/api/modules/context_context_.html +++ b/api/modules/context_context_.html @@ -94,9 +94,9 @@

    Type aliases

    PropertyKey

    Ƭ PropertyKey: string | number

    -

    Defined in src/context/context.ts:9

    +

    Defined in src/context/context.ts:7

    Functions

    readFirst

    readFirst(obj: Scope): any

    -

    Defined in src/context/context.ts:122

    +

    Defined in src/context/context.ts:120

    Parameters:

    @@ -113,7 +113,7 @@

    Returns: any


    readJSProperty

    readJSProperty(obj: Scope, key: PropertyKey, ownPropertyOnly: boolean): any

    -

    Defined in src/context/context.ts:117

    +

    Defined in src/context/context.ts:115

    Parameters:

    @@ -138,7 +138,7 @@

    Returns: any


    readLast

    readLast(obj: Scope): any

    -

    Defined in src/context/context.ts:127

    +

    Defined in src/context/context.ts:125

    Parameters:

    @@ -155,7 +155,7 @@

    Returns: any


    readProperty

    readProperty(obj: Scope, key: PropertyKey, ownPropertyOnly: boolean): any

    -

    Defined in src/context/context.ts:105

    +

    Defined in src/context/context.ts:103

    Parameters:

    @@ -180,7 +180,7 @@

    Returns: any


    readSize

    readSize(obj: Scope): any

    -

    Defined in src/context/context.ts:132

    +

    Defined in src/context/context.ts:130

    Parameters:

    @@ -198,7 +198,7 @@ diff --git a/api/modules/context_index_.html b/api/modules/context_index_.html new file mode 100644 index 000000000..6246ac6c4 --- /dev/null +++ b/api/modules/context_index_.html @@ -0,0 +1,188 @@ + + + + + Module: "context/index" | LiquidJS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
    +
    + + +
    +
    + +
    +
    + + + + + + + + + + + \ No newline at end of file diff --git a/api/modules/context_scope_.html b/api/modules/context_scope_.html index 111b11fdb..87558652e 100644 --- a/api/modules/context_scope_.html +++ b/api/modules/context_scope_.html @@ -93,12 +93,12 @@
    -

    Type aliases

    Scope

    Ƭ Scope: PlainObject | Drop

    -

    Defined in src/context/scope.ts:8

    +

    Type aliases

    Scope

    Ƭ Scope: ScopeObject | Drop

    +

    Defined in src/context/scope.ts:7

    diff --git a/api/modules/drop_blank_drop_.html b/api/modules/drop_blank_drop_.html index 393ff1958..8e78785d2 100644 --- a/api/modules/drop_blank_drop_.html +++ b/api/modules/drop_blank_drop_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/drop_block_drop_.html b/api/modules/drop_block_drop_.html index 1291eb4b8..77181be40 100644 --- a/api/modules/drop_block_drop_.html +++ b/api/modules/drop_block_drop_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/drop_comparable_.html b/api/modules/drop_comparable_.html index 4de68afa4..e8787b5ce 100644 --- a/api/modules/drop_comparable_.html +++ b/api/modules/drop_comparable_.html @@ -112,7 +112,7 @@ diff --git a/api/modules/drop_drop_.html b/api/modules/drop_drop_.html index e20b3838b..1bb0f2c1c 100644 --- a/api/modules/drop_drop_.html +++ b/api/modules/drop_drop_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/drop_empty_drop_.html b/api/modules/drop_empty_drop_.html index dfbf8d84d..a373f075c 100644 --- a/api/modules/drop_empty_drop_.html +++ b/api/modules/drop_empty_drop_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/drop_forloop_drop_.html b/api/modules/drop_forloop_drop_.html index 55cd5b762..d6dd989bb 100644 --- a/api/modules/drop_forloop_drop_.html +++ b/api/modules/drop_forloop_drop_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/drop_index_.html b/api/modules/drop_index_.html new file mode 100644 index 000000000..54a06053b --- /dev/null +++ b/api/modules/drop_index_.html @@ -0,0 +1,194 @@ + + + + + Module: "drop/index" | LiquidJS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + + +
    +
    +
    + +
    +
    + + +
    +
    + +
    +
    + + + + + + + + + + + \ No newline at end of file diff --git a/api/modules/drop_null_drop_.html b/api/modules/drop_null_drop_.html index 499b3f6a6..c463d6428 100644 --- a/api/modules/drop_null_drop_.html +++ b/api/modules/drop_null_drop_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/drop_tablerowloop_drop_.html b/api/modules/drop_tablerowloop_drop_.html index 97590c05a..5243549ba 100644 --- a/api/modules/drop_tablerowloop_drop_.html +++ b/api/modules/drop_tablerowloop_drop_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/emitters_emitter_.html b/api/modules/emitters_emitter_.html index 5b9b4b594..c44f559a9 100644 --- a/api/modules/emitters_emitter_.html +++ b/api/modules/emitters_emitter_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/emitters_index_.html b/api/modules/emitters_index_.html new file mode 100644 index 000000000..1e0677d58 --- /dev/null +++ b/api/modules/emitters_index_.html @@ -0,0 +1,186 @@ + + + + + Module: "emitters/index" | LiquidJS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
    +
    + + +
    +
    + +
    +
    + + + + + + + + + + + \ No newline at end of file diff --git a/api/modules/emitters_keeping_type_emitter_.html b/api/modules/emitters_keeping_type_emitter_.html index 606e83e45..789ea8464 100644 --- a/api/modules/emitters_keeping_type_emitter_.html +++ b/api/modules/emitters_keeping_type_emitter_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/emitters_simple_emitter_.html b/api/modules/emitters_simple_emitter_.html index f612a296d..07cda6cd9 100644 --- a/api/modules/emitters_simple_emitter_.html +++ b/api/modules/emitters_simple_emitter_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/emitters_streamed_emitter_.html b/api/modules/emitters_streamed_emitter_.html index 71331dee3..e31a17929 100644 --- a/api/modules/emitters_streamed_emitter_.html +++ b/api/modules/emitters_streamed_emitter_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/emitters_streamed_emitter_browser_.html b/api/modules/emitters_streamed_emitter_browser_.html index 2dc715442..8ed2488f3 100644 --- a/api/modules/emitters_streamed_emitter_browser_.html +++ b/api/modules/emitters_streamed_emitter_browser_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/builtin_filters_array_.html b/api/modules/filters_array_.html similarity index 88% rename from api/modules/builtin_filters_array_.html rename to api/modules/filters_array_.html index 9ad496a4e..a675e2d46 100644 --- a/api/modules/builtin_filters_array_.html +++ b/api/modules/filters_array_.html @@ -2,20 +2,20 @@ - Module: "builtin/filters/array" | LiquidJS + Module: "filters/array" | LiquidJS - + - + - + @@ -56,7 +56,7 @@ - + @@ -128,7 +128,7 @@

    Returns: any[]


    concat

    concat<T1, T2>(v: T1[], arg: T2[]): T1 | T2[]

    -

    Defined in src/builtin/filters/array.ts:52

    +

    Defined in src/filters/array.ts:51

    Type parameters:

    T1

    T2

    @@ -154,8 +154,8 @@
    thisFilterImplFilterImpl
    arr

    Returns: T1 | T2[]


    -

    map

    map(this: FilterImpl, arr: Scope[], property: string): IterableIterator‹unknown›

    -

    Defined in src/builtin/filters/array.ts:39

    +

    map

    map(this: FilterImpl, arr: Scope[], property: string): IterableIterator‹unknown›

    +

    Defined in src/filters/array.ts:38

    Parameters:

    @@ -166,7 +166,7 @@ - + @@ -180,7 +180,7 @@

    Returns: IterableIterator‹unknown›


    Const size

    size(v: string | any[]): number

    -

    Defined in src/builtin/filters/array.ts:37

    +

    Defined in src/filters/array.ts:36

    Parameters:

    thisFilterImplFilterImpl
    arr
    @@ -197,7 +197,7 @@

    Returns: number


    slice

    slice<T>(v: T[] | string, begin: number, length: number): T[] | string

    -

    Defined in src/builtin/filters/array.ts:58

    +

    Defined in src/filters/array.ts:57

    Type parameters:

    T

    Parameters:

    @@ -227,8 +227,8 @@

    Returns: T[] | string


    -

    sort

    sort<T>(this: FilterImpl, arr: T[], property?: undefined | string): IterableIterator‹unknown›

    -

    Defined in src/builtin/filters/array.ts:13

    +

    sort

    sort<T>(this: FilterImpl, arr: T[], property?: undefined | string): IterableIterator‹unknown›

    +

    Defined in src/filters/array.ts:12

    Type parameters:

    T

    Parameters:

    @@ -241,7 +241,7 @@ this -FilterImpl +FilterImpl arr @@ -254,8 +254,8 @@

    Returns: IterableIterator‹unknown›


    -

    sortNatural

    sortNatural<T>(input: T[], property?: undefined | string): any[]

    -

    Defined in src/builtin/filters/array.ts:28

    +

    sort_natural

    sort_natural<T>(input: T[], property?: undefined | string): any[]

    +

    Defined in src/filters/array.ts:27

    Type parameters:

    T

    Parameters:

    @@ -278,7 +278,7 @@

    Returns: any[]


    uniq

    uniq<T>(arr: T[]): T[]

    -

    Defined in src/builtin/filters/array.ts:79

    +

    Defined in src/filters/array.ts:78

    Type parameters:

    T

    Parameters:

    @@ -296,8 +296,8 @@

    Returns: T[]


    -

    where

    where<T>(this: FilterImpl, arr: T[], property: string, expected?: any): IterableIterator‹unknown›

    -

    Defined in src/builtin/filters/array.ts:66

    +

    where

    where<T>(this: FilterImpl, arr: T[], property: string, expected?: any): IterableIterator‹unknown›

    +

    Defined in src/filters/array.ts:65

    Type parameters:

    T: object

    Parameters:

    @@ -310,7 +310,7 @@ this -FilterImpl +FilterImpl arr @@ -329,7 +329,7 @@
    @@ -338,7 +338,7 @@
    Contents -
    1. Variables
      1. Const first
      2. Const join
      3. Const last
      4. Const reverse
    2. Functions
      1. compact
      2. concat
      3. map
      4. Const size
      5. slice
      6. sort
      7. sortNatural
      8. uniq
      9. where
    +
    1. Variables
      1. Const first
      2. Const join
      3. Const last
      4. Const reverse
    2. Functions
      1. compact
      2. concat
      3. map
      4. Const size
      5. slice
      6. sort
      7. sort_natural
      8. uniq
      9. where
    Back to Top
    @@ -382,7 +382,7 @@ + + + + + + + + +
    + + + + + + + + + + + \ No newline at end of file diff --git a/api/modules/template_tag_tag_impl_options_.html b/api/modules/template_tag_tag_impl_options_.html deleted file mode 100644 index f04532f2d..000000000 --- a/api/modules/template_tag_tag_impl_options_.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Module: "template/tag/tag-impl-options" | LiquidJS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - - - -
    -
    - - - - - - - - - - - \ No newline at end of file diff --git a/api/modules/template_template_.html b/api/modules/template_template_.html index 647bdbacd..a280a53e9 100644 --- a/api/modules/template_template_.html +++ b/api/modules/template_template_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/template_template_impl_.html b/api/modules/template_template_impl_.html index 5aa74d3a1..16867515d 100644 --- a/api/modules/template_template_impl_.html +++ b/api/modules/template_template_impl_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/template_value_.html b/api/modules/template_value_.html index e44c62a8f..63fd34d8c 100644 --- a/api/modules/template_value_.html +++ b/api/modules/template_value_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_delimited_token_.html b/api/modules/tokens_delimited_token_.html index 0546ead7d..8572a65d9 100644 --- a/api/modules/tokens_delimited_token_.html +++ b/api/modules/tokens_delimited_token_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_filter_token_.html b/api/modules/tokens_filter_token_.html index 6fcd6a236..f03a8e814 100644 --- a/api/modules/tokens_filter_token_.html +++ b/api/modules/tokens_filter_token_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_hash_token_.html b/api/modules/tokens_hash_token_.html index 8d91a74f6..c853ec763 100644 --- a/api/modules/tokens_hash_token_.html +++ b/api/modules/tokens_hash_token_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_html_token_.html b/api/modules/tokens_html_token_.html index 3a1086f69..ef2d75e23 100644 --- a/api/modules/tokens_html_token_.html +++ b/api/modules/tokens_html_token_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_identifier_token_.html b/api/modules/tokens_identifier_token_.html index 281d20868..0a95844ae 100644 --- a/api/modules/tokens_identifier_token_.html +++ b/api/modules/tokens_identifier_token_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_index_.html b/api/modules/tokens_index_.html new file mode 100644 index 000000000..a96b7c86e --- /dev/null +++ b/api/modules/tokens_index_.html @@ -0,0 +1,214 @@ + + + + + Module: "tokens/index" | LiquidJS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +
    +
    +
    +
    +
    +

    Module: "tokens/index"

    + + + +
    +
    +

    References

    DelimitedToken

    DelimitedToken:

    +
    +

    FilterToken

    FilterToken:

    +
    +

    HTMLToken

    HTMLToken:

    +
    +

    HashToken

    HashToken:

    +
    +

    IdentifierToken

    IdentifierToken:

    +
    +

    LiquidTagToken

    LiquidTagToken:

    +
    +

    LiteralToken

    LiteralToken:

    +
    +

    NumberToken

    NumberToken:

    +
    +

    OperatorToken

    OperatorToken:

    +
    +

    OutputToken

    OutputToken:

    +
    +

    PropertyAccessToken

    PropertyAccessToken:

    +
    +

    QuotedToken

    QuotedToken:

    +
    +

    RangeToken

    RangeToken:

    +
    +

    TagToken

    TagToken:

    +
    +

    Token

    Token:

    +
    +

    TopLevelToken

    TopLevelToken:

    +
    +

    ValueToken

    ValueToken:

    +
    +

    precedence

    precedence:

    + +
    +
    + + +
    +
    +
    + +
    +
    +
    +
    +
    + + + +
    +
    + + + + + + + + + + + \ No newline at end of file diff --git a/api/modules/tokens_liquid_tag_token_.html b/api/modules/tokens_liquid_tag_token_.html index 904eaca51..1a0a9fc3c 100644 --- a/api/modules/tokens_liquid_tag_token_.html +++ b/api/modules/tokens_liquid_tag_token_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_literal_token_.html b/api/modules/tokens_literal_token_.html index 935c98a15..002a0ab78 100644 --- a/api/modules/tokens_literal_token_.html +++ b/api/modules/tokens_literal_token_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_number_token_.html b/api/modules/tokens_number_token_.html index 31714f2f1..c256e917a 100644 --- a/api/modules/tokens_number_token_.html +++ b/api/modules/tokens_number_token_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_operator_token_.html b/api/modules/tokens_operator_token_.html index 372d12aa7..e17f409b5 100644 --- a/api/modules/tokens_operator_token_.html +++ b/api/modules/tokens_operator_token_.html @@ -115,7 +115,7 @@ diff --git a/api/modules/tokens_output_token_.html b/api/modules/tokens_output_token_.html index 11c059fa1..8be52a41f 100644 --- a/api/modules/tokens_output_token_.html +++ b/api/modules/tokens_output_token_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_property_access_token_.html b/api/modules/tokens_property_access_token_.html index 310278b88..36b985ffc 100644 --- a/api/modules/tokens_property_access_token_.html +++ b/api/modules/tokens_property_access_token_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_quoted_token_.html b/api/modules/tokens_quoted_token_.html index 1a932d53c..e16d7bd10 100644 --- a/api/modules/tokens_quoted_token_.html +++ b/api/modules/tokens_quoted_token_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_range_token_.html b/api/modules/tokens_range_token_.html index 82fd30fc6..6309fa54a 100644 --- a/api/modules/tokens_range_token_.html +++ b/api/modules/tokens_range_token_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_tag_token_.html b/api/modules/tokens_tag_token_.html index d85fa08d5..b5202c00a 100644 --- a/api/modules/tokens_tag_token_.html +++ b/api/modules/tokens_tag_token_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_token_.html b/api/modules/tokens_token_.html index 5dfe41b55..69df6c0cc 100644 --- a/api/modules/tokens_token_.html +++ b/api/modules/tokens_token_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/tokens_toplevel_token_.html b/api/modules/tokens_top_level_token_.html similarity index 96% rename from api/modules/tokens_toplevel_token_.html rename to api/modules/tokens_top_level_token_.html index 43e2672c0..39e41e17a 100644 --- a/api/modules/tokens_toplevel_token_.html +++ b/api/modules/tokens_top_level_token_.html @@ -2,20 +2,20 @@ - Module: "tokens/toplevel-token" | LiquidJS + Module: "tokens/top-level-token" | LiquidJS - + - + - + @@ -56,7 +56,7 @@ diff --git a/api/modules/util_async_.html b/api/modules/util_async_.html index d1af03d75..e24db22e0 100644 --- a/api/modules/util_async_.html +++ b/api/modules/util_async_.html @@ -93,9 +93,7 @@
    -

    Variables

    Const toThenable

    toThenable: toPromise = toPromise

    -

    Defined in src/util/async.ts:48

    -

    Functions

    toPromise

    toPromise<T>(val: Generator‹unknown, T, unknown› | Promise‹T› | T): Promise‹T›

    +

    Functions

    toPromise

    toPromise<T>(val: Generator‹unknown, T, unknown› | Promise‹T› | T): Promise‹T›

    Defined in src/util/async.ts:4

    Type parameters:

    T

    @@ -135,7 +133,7 @@
    @@ -144,7 +142,7 @@
    Contents -
    1. Variables
      1. Const toThenable
    2. Functions
      1. toPromise
      2. toValueSync
    +
    1. Functions
      1. toPromise
      2. toValueSync
    Back to Top
    diff --git a/api/modules/util_character_.html b/api/modules/util_character_.html index 26f58b4a8..613c0f096 100644 --- a/api/modules/util_character_.html +++ b/api/modules/util_character_.html @@ -119,7 +119,7 @@ diff --git a/api/modules/util_collection_.html b/api/modules/util_collection_.html index 2da1774a6..249fd7059 100644 --- a/api/modules/util_collection_.html +++ b/api/modules/util_collection_.html @@ -110,8 +110,10 @@

    Returns: any[]


    -

    toEnumerable

    toEnumerable(val: any): any[]

    +

    toEnumerable

    toEnumerable<T>(val: any): T[]

    Defined in src/util/collection.ts:3

    +

    Type parameters:

    +

    T

    Parameters:

    @@ -125,11 +127,11 @@
    any
    -

    Returns: any[]

    +

    Returns: T[]

    diff --git a/api/modules/util_error_.html b/api/modules/util_error_.html index ab2842ebd..b78ac4368 100644 --- a/api/modules/util_error_.html +++ b/api/modules/util_error_.html @@ -133,7 +133,7 @@ diff --git a/api/modules/util_index_.html b/api/modules/util_index_.html new file mode 100644 index 000000000..864d2193f --- /dev/null +++ b/api/modules/util_index_.html @@ -0,0 +1,310 @@ + + + + + Module: "util/index" | LiquidJS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +
    +
    +
    +
    +
    +

    Module: "util/index"

    + + + +
    +
    +

    References

    AssertionError

    AssertionError:

    +
    +

    BLANK

    BLANK:

    +
    +

    IDENTIFIER

    IDENTIFIER:

    +
    +

    INLINE_BLANK

    INLINE_BLANK:

    +
    +

    InternalUndefinedVariableError

    InternalUndefinedVariableError:

    +
    +

    LiquidDate

    LiquidDate:

    +
    +

    LiquidError

    LiquidError:

    +
    +

    NUMBER

    NUMBER:

    +
    +

    OPERATOR

    OPERATOR:

    +
    +

    ParseError

    ParseError:

    +
    +

    QUOTE

    QUOTE:

    +
    +

    RenderError

    RenderError:

    +
    +

    SIGN

    SIGN:

    +
    +

    TYPES

    TYPES:

    +
    +

    TimezoneDate

    TimezoneDate:

    +
    +

    TokenizationError

    TokenizationError:

    +
    +

    Trie

    Trie:

    +
    +

    TrieNode

    TrieNode:

    +
    +

    UndefinedVariableError

    UndefinedVariableError:

    +
    +

    argumentsToValue

    argumentsToValue:

    +
    +

    assert

    assert:

    +
    +

    caseInsensitiveCompare

    caseInsensitiveCompare:

    +
    +

    changeCase

    changeCase:

    +
    +

    createTrie

    createTrie:

    +
    +

    ellipsis

    ellipsis:

    +
    +

    escapeRegExp

    escapeRegExp:

    +
    +

    escapeRegex

    escapeRegex:

    +
    +

    forOwn

    forOwn:

    +
    +

    hasOwnProperty

    hasOwnProperty:

    +
    +

    identify

    identify:

    +
    +

    isArray

    isArray:

    +
    +

    isDelimitedToken

    isDelimitedToken:

    +
    +

    isFunction

    isFunction:

    +
    +

    isHTMLToken

    isHTMLToken:

    +
    +

    isIterable

    isIterable:

    +
    +

    isIterator

    isIterator:

    +
    +

    isLiteralToken

    isLiteralToken:

    +
    +

    isNil

    isNil:

    +
    +

    isNumber

    isNumber:

    +
    +

    isNumberToken

    isNumberToken:

    +
    +

    isObject

    isObject:

    +
    +

    isOperatorToken

    isOperatorToken:

    +
    +

    isOutputToken

    isOutputToken:

    +
    +

    isPromise

    isPromise:

    +
    +

    isPropertyAccessToken

    isPropertyAccessToken:

    +
    +

    isQuotedToken

    isQuotedToken:

    +
    +

    isRangeToken

    isRangeToken:

    +
    +

    isString

    isString:

    +
    +

    isTagToken

    isTagToken:

    +
    +

    isWordToken

    isWordToken:

    +
    +

    last

    last:

    +
    +

    literalValues

    literalValues:

    +
    +

    pad

    pad:

    +
    +

    padEnd

    padEnd:

    +
    +

    padStart

    padStart:

    +
    +

    promisify

    promisify:

    +
    +

    range

    range:

    +
    +

    strftime

    strftime:

    +
    +

    stringify

    stringify:

    +
    +

    toArray

    toArray:

    +
    +

    toEnumerable

    toEnumerable:

    +
    +

    toLiquid

    toLiquid:

    +
    +

    toPromise

    toPromise:

    +
    +

    toString

    toString:

    +
    +

    toValue

    toValue:

    +
    +

    toValueSync

    toValueSync:

    + +
    +
    + + +
    +
    +
    + +
    +
    +
    +
    +
    + + + +
    +
    + + + + + + + + + + + \ No newline at end of file diff --git a/api/modules/util_liquid_date_.html b/api/modules/util_liquid_date_.html index d3e7798fe..1ad4edf63 100644 --- a/api/modules/util_liquid_date_.html +++ b/api/modules/util_liquid_date_.html @@ -96,7 +96,7 @@ diff --git a/api/modules/util_literal_.html b/api/modules/util_literal_.html index 86b3b92b8..76319522a 100644 --- a/api/modules/util_literal_.html +++ b/api/modules/util_literal_.html @@ -94,24 +94,24 @@

    Variables

    Const nil

    nil: NullDrop‹› = new NullDrop()

    -

    Defined in src/util/literal.ts:5

    -

    Object literals

    Const literalValues

    literalValues: object

    Defined in src/util/literal.ts:6

    +

    Defined in src/util/literal.ts:3

    +

    Object literals

    Const literalValues

    literalValues: object

    Defined in src/util/literal.ts:4

    blank

    blank: BlankDrop‹› = new BlankDrop()

    -

    Defined in src/util/literal.ts:12

    -

    empty

    empty: EmptyDrop‹› = new EmptyDrop()

    -

    Defined in src/util/literal.ts:11

    -

    false

    false: boolean = false

    -

    Defined in src/util/literal.ts:8

    -

    nil

    nil: NullDrop‹› = nil

    -

    Defined in src/util/literal.ts:9

    -

    null

    null: NullDrop‹› = nil

    Defined in src/util/literal.ts:10

    -

    true

    true: boolean = true

    +

    empty

    empty: EmptyDrop‹› = new EmptyDrop()

    +

    Defined in src/util/literal.ts:9

    +

    false

    false: boolean = false

    +

    Defined in src/util/literal.ts:6

    +

    nil

    nil: NullDrop‹› = nil

    Defined in src/util/literal.ts:7

    +

    null

    null: NullDrop‹› = nil

    +

    Defined in src/util/literal.ts:8

    +

    true

    true: boolean = true

    +

    Defined in src/util/literal.ts:5

    diff --git a/api/modules/util_operator_trie_.html b/api/modules/util_operator_trie_.html index 4ab174703..c732e09d5 100644 --- a/api/modules/util_operator_trie_.html +++ b/api/modules/util_operator_trie_.html @@ -93,8 +93,10 @@
    -

    Functions

    createTrie

    createTrie(operators: Operators): Trie

    -

    Defined in src/util/operator-trie.ts:8

    +

    Type aliases

    TrieNode

    Ƭ TrieNode: Trie | TrieLeafNode

    +

    Defined in src/util/operator-trie.ts:14

    +

    Functions

    createTrie

    createTrie(operators: Operators): Trie

    +

    Defined in src/util/operator-trie.ts:16

    Parameters:

    @@ -105,14 +107,14 @@ - +
    operatorsOperatorsOperators

    Returns: Trie

    @@ -121,7 +123,7 @@
    Contents -
    1. Functions
      1. createTrie
    +
    1. Type aliases
      1. TrieNode
    2. Functions
      1. createTrie
    Back to Top
    diff --git a/api/modules/util_strftime_.html b/api/modules/util_strftime_.html index f713da2ac..95a6ea5fc 100644 --- a/api/modules/util_strftime_.html +++ b/api/modules/util_strftime_.html @@ -158,27 +158,6 @@

    Returns: number[]


    -

    default

    default(d: LiquidDate, formatStr: string): string

    -

    Defined in src/util/strftime.ts:141

    -

    Parameters:

    - - - - - - - - - - - - - - - -
    NameType
    dLiquidDate
    formatStrstring
    -

    Returns: string

    -

    format

    format(d: LiquidDate, match: RegExpExecArray): any

    Defined in src/util/strftime.ts:155

    Parameters:

    @@ -271,6 +250,27 @@

    Returns: boolean

    +
    +

    strftime

    strftime(d: LiquidDate, formatStr: string): string

    +

    Defined in src/util/strftime.ts:143

    +

    Parameters:

    + + + + + + + + + + + + + + + +
    NameType
    dLiquidDate
    formatStrstring
    +

    Returns: string

    Object literals

    Const formatCodes

    formatCodes: object

    Defined in src/util/strftime.ts:93

    %

    %(): string

    Defined in src/util/strftime.ts:139

    @@ -843,12 +843,12 @@

    Defined in src/util/strftime.ts:16

    3

    3: string = “rd”

    Defined in src/util/strftime.ts:17

    -

    default

    default: string = “th”

    +

    default

    default: string = “th”

    Defined in src/util/strftime.ts:18

    @@ -857,7 +857,7 @@
    Contents -
    1. Variables
      1. Const dayNames
      2. Const dayNamesShort
      3. Const monthNames
      4. Const monthNamesShort
      5. Const rFormat
    2. Functions
      1. abbr
      2. century
      3. daysInMonth
      4. default
      5. format
      6. getDayOfYear
      7. getSuffix
      8. getWeekOfYear
      9. isLeapYear
    3. Object literals
      1. Const formatCodes
      2. ▪ formatCodes: object
      3. %
      4. A
      5. B
      6. C
      7. H
      8. I
      9. L
      10. M
      11. N
      12. P
      13. S
      14. U
      15. W
      16. X
      17. Y
      18. a
      19. b
      20. c
      21. d
      22. e
      23. j
      24. k
      25. l
      26. m
      27. n
      28. p
      29. q
      30. s
      31. t
      32. u
      33. w
      34. x
      35. y
      36. z
      37. Const padChars
      38. ▪ padChars: object
      39. A
      40. B
      41. P
      42. a
      43. b
      44. c
      45. e
      46. k
      47. l
      48. p
      49. Const padWidths
      50. ▪ padWidths: object
      51. H
      52. I
      53. L
      54. M
      55. S
      56. U
      57. W
      58. d
      59. e
      60. j
      61. k
      62. l
      63. m
      64. Const suffixes
      65. ▪ suffixes: object
      66. 1
      67. 2
      68. 3
      69. default
    +
    1. Variables
      1. Const dayNames
      2. Const dayNamesShort
      3. Const monthNames
      4. Const monthNamesShort
      5. Const rFormat
    2. Functions
      1. abbr
      2. century
      3. daysInMonth
      4. format
      5. getDayOfYear
      6. getSuffix
      7. getWeekOfYear
      8. isLeapYear
      9. strftime
    3. Object literals
      1. Const formatCodes
      2. ▪ formatCodes: object
      3. %
      4. A
      5. B
      6. C
      7. H
      8. I
      9. L
      10. M
      11. N
      12. P
      13. S
      14. U
      15. W
      16. X
      17. Y
      18. a
      19. b
      20. c
      21. d
      22. e
      23. j
      24. k
      25. l
      26. m
      27. n
      28. p
      29. q
      30. s
      31. t
      32. u
      33. w
      34. x
      35. y
      36. z
      37. Const padChars
      38. ▪ padChars: object
      39. A
      40. B
      41. P
      42. a
      43. b
      44. c
      45. e
      46. k
      47. l
      48. p
      49. Const padWidths
      50. ▪ padWidths: object
      51. H
      52. I
      53. L
      54. M
      55. S
      56. U
      57. W
      58. d
      59. e
      60. j
      61. k
      62. l
      63. m
      64. Const suffixes
      65. ▪ suffixes: object
      66. 1
      67. 2
      68. 3
      69. default
    Back to Top
    diff --git a/api/modules/util_timezone_date_.html b/api/modules/util_timezone_date_.html index f87cfd68d..f2db3d90f 100644 --- a/api/modules/util_timezone_date_.html +++ b/api/modules/util_timezone_date_.html @@ -104,7 +104,7 @@ diff --git a/api/modules/util_type_guards_.html b/api/modules/util_type_guards_.html index 36a7b6dc4..811693615 100644 --- a/api/modules/util_type_guards_.html +++ b/api/modules/util_type_guards_.html @@ -94,7 +94,7 @@

    Functions

    getKind

    getKind(val: any): any

    -

    Defined in src/util/type-guards.ts:58

    +

    Defined in src/util/type-guards.ts:48

    Parameters:

    @@ -111,7 +111,7 @@

    Returns: any


    isDelimitedToken

    isDelimitedToken(val: any): val is DelimitedToken

    -

    Defined in src/util/type-guards.ts:14

    +

    Defined in src/util/type-guards.ts:4

    Parameters:

    @@ -128,7 +128,7 @@

    Returns: val is DelimitedToken


    isHTMLToken

    isHTMLToken(val: any): val is HTMLToken

    -

    Defined in src/util/type-guards.ts:22

    +

    Defined in src/util/type-guards.ts:12

    Parameters:

    @@ -145,7 +145,7 @@

    Returns: val is HTMLToken


    isLiteralToken

    isLiteralToken(val: any): val is LiteralToken

    -

    Defined in src/util/type-guards.ts:38

    +

    Defined in src/util/type-guards.ts:28

    Parameters:

    @@ -162,7 +162,7 @@

    Returns: val is LiteralToken


    isNumberToken

    isNumberToken(val: any): val is NumberToken

    -

    Defined in src/util/type-guards.ts:42

    +

    Defined in src/util/type-guards.ts:32

    Parameters:

    @@ -179,7 +179,7 @@

    Returns: val is NumberToken


    isOperatorToken

    isOperatorToken(val: any): val is OperatorToken

    -

    Defined in src/util/type-guards.ts:18

    +

    Defined in src/util/type-guards.ts:8

    Parameters:

    @@ -196,7 +196,7 @@

    Returns: val is OperatorToken


    isOutputToken

    isOutputToken(val: any): val is OutputToken

    -

    Defined in src/util/type-guards.ts:26

    +

    Defined in src/util/type-guards.ts:16

    Parameters:

    @@ -213,7 +213,7 @@

    Returns: val is OutputToken


    isPropertyAccessToken

    isPropertyAccessToken(val: any): val is PropertyAccessToken

    -

    Defined in src/util/type-guards.ts:46

    +

    Defined in src/util/type-guards.ts:36

    Parameters:

    @@ -230,7 +230,7 @@

    Returns: val is PropertyAccessToken


    isQuotedToken

    isQuotedToken(val: any): val is QuotedToken

    -

    Defined in src/util/type-guards.ts:34

    +

    Defined in src/util/type-guards.ts:24

    Parameters:

    @@ -247,7 +247,7 @@

    Returns: val is QuotedToken


    isRangeToken

    isRangeToken(val: any): val is RangeToken

    -

    Defined in src/util/type-guards.ts:54

    +

    Defined in src/util/type-guards.ts:44

    Parameters:

    @@ -264,7 +264,7 @@

    Returns: val is RangeToken


    isTagToken

    isTagToken(val: any): val is TagToken

    -

    Defined in src/util/type-guards.ts:30

    +

    Defined in src/util/type-guards.ts:20

    Parameters:

    @@ -281,7 +281,7 @@

    Returns: val is TagToken


    isWordToken

    isWordToken(val: any): val is IdentifierToken

    -

    Defined in src/util/type-guards.ts:50

    +

    Defined in src/util/type-guards.ts:40

    Parameters:

    @@ -299,7 +299,7 @@ diff --git a/api/modules/util_underscore_.html b/api/modules/util_underscore_.html index 487ad4bb9..5c1aeb259 100644 --- a/api/modules/util_underscore_.html +++ b/api/modules/util_underscore_.html @@ -102,7 +102,7 @@

    Const toString

    toString: toString = Object.prototype.toString

    Defined in src/util/underscore.ts:3

    Functions

    argumentsToValue

    argumentsToValue<F>(fn: F): (Anonymous function)

    -

    Defined in src/util/underscore.ts:168

    +

    Defined in src/util/underscore.ts:161

    Type parameters:

    F: function

    Parameters:

    @@ -121,7 +121,7 @@

    Returns: (Anonymous function)


    caseInsensitiveCompare

    caseInsensitiveCompare(a: any, b: any): 1 | 0 | -1

    -

    Defined in src/util/underscore.ts:157

    +

    Defined in src/util/underscore.ts:150

    Parameters:

    @@ -142,7 +142,7 @@

    Returns: 1 | 0 | -1


    changeCase

    changeCase(str: string): string

    -

    Defined in src/util/underscore.ts:147

    +

    Defined in src/util/underscore.ts:140

    Parameters:

    @@ -159,7 +159,7 @@

    Returns: string


    ellipsis

    ellipsis(str: string, N: number): string

    -

    Defined in src/util/underscore.ts:152

    +

    Defined in src/util/underscore.ts:145

    Parameters:

    @@ -180,7 +180,7 @@

    Returns: string


    escapeRegExp

    escapeRegExp(text: string): string

    -

    Defined in src/util/underscore.ts:172

    +

    Defined in src/util/underscore.ts:165

    Parameters:

    @@ -213,12 +213,12 @@

    Returns: string


    -

    forOwn

    forOwn<T>(obj: object | undefined, iteratee: function): object

    +

    forOwn

    forOwn<T>(obj: Record‹string, T› | undefined, iteratee: function): Record‹string, T›

    Defined in src/util/underscore.ts:83

    Type parameters:

    T

    Parameters:

    -

    obj: object | undefined

    +

    obj: Record‹string, T› | undefined

    iteratee: function

    ▸ (val: T, key: string, obj: object): boolean | void

    Parameters:

    @@ -242,10 +242,7 @@ object -

    Returns: object

    - +

    Returns: Record‹string, T›


    identify

    identify<T>(val: T): T

    Defined in src/util/underscore.ts:136

    @@ -665,23 +662,6 @@

    Returns: number[]


    -

    snakeCase

    snakeCase(str: string): string

    -

    Defined in src/util/underscore.ts:140

    -

    Parameters:

    - - - - - - - - - - - -
    NameType
    strstring
    -

    Returns: string

    -

    stringify

    stringify(value: any): string

    Defined in src/util/underscore.ts:41

    Parameters:

    @@ -735,7 +715,7 @@
    @@ -744,7 +724,7 @@
    Contents -
    1. Variables
      1. Const hasOwnProperty
      2. Const toLowerCase
      3. Const toString
    2. Functions
      1. argumentsToValue
      2. caseInsensitiveCompare
      3. changeCase
      4. ellipsis
      5. escapeRegExp
      6. escapeRegex
      7. forOwn
      8. identify
      9. isArray
      10. isFunction
      11. isIterable
      12. isIterator
      13. isNil
      14. isNumber
      15. isObject
      16. isPromise
      17. isString
      18. last
      19. pad
      20. padEnd
      21. padStart
      22. promisify
      23. range
      24. snakeCase
      25. stringify
      26. toLiquid
      27. toValue
    +
    1. Variables
      1. Const hasOwnProperty
      2. Const toLowerCase
      3. Const toString
    2. Functions
      1. argumentsToValue
      2. caseInsensitiveCompare
      3. changeCase
      4. ellipsis
      5. escapeRegExp
      6. escapeRegex
      7. forOwn
      8. identify
      9. isArray
      10. isFunction
      11. isIterable
      12. isIterator
      13. isNil
      14. isNumber
      15. isObject
      16. isPromise
      17. isString
      18. last
      19. pad
      20. padEnd
      21. padStart
      22. promisify
      23. range
      24. stringify
      25. toLiquid
      26. toValue
    Back to Top
    diff --git a/filters/abs.html b/filters/abs.html index 7a591b043..0ce081e87 100644 --- a/filters/abs.html +++ b/filters/abs.html @@ -117,7 +117,7 @@ diff --git a/filters/append.html b/filters/append.html index 993634be1..ca4a9f64c 100644 --- a/filters/append.html +++ b/filters/append.html @@ -113,7 +113,7 @@ website.com/index.html