import { Engine, Within, Scopes, Type } from '../utils/enums'; import type { Tag, Tags, IObject, Objects, IProperty, Filter, Filters, Argument, ArgumentParameter, Completions } from '../types'; /* -------------------------------------------- */ /* SCOPE MAP VALUE */ /* -------------------------------------------- */ export interface ScopeMapValue { /** * The scope enum which describes the value */ scope?: Scopes; /** * The value assignment reference */ value?: IObject | IProperty | string } export declare interface Liquid { /** * Engine */ engine: Engine; /** * The current tag specification */ tag: Tag; /** * The current filter specification */ filter: Filter; /** * The current object specification */ object: IObject; /** * A persisted store reference to the object type. * Used when walking properties so as the property types * are aligned. */ type: Type; /** * The current argument or parameter references */ argument: Argument | ArgumentParameter; /** * The value entry reference */ value: string; /** * An enum reference which informs what specifier are within */ within: Within; /** * The current scope map value */ variable: Partial; /** * The current scope map value */ scope: number; /** * A storage map for holding files and external data refs */ readonly files: Map; /** * Data References */ data: { /** * Document variables */ variables: Map; /** * Variation Spec */ variation: { /** * Liquid Filters */ readonly filters?: Filters; /** * Liquid Objects */ readonly objects?: Objects; /** * Liquid Tags */ readonly tags?: Tags; }; /** * Completion Items (LSP Related) */ completions: Completions; } }