inital
This commit is contained in:
3
node_modules/liquidjs/dist/render/boolean.d.ts
generated
vendored
Normal file
3
node_modules/liquidjs/dist/render/boolean.d.ts
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
import { Context } from '../context/context';
|
||||
export declare function isTruthy(val: any, ctx: Context): boolean;
|
||||
export declare function isFalsy(val: any, ctx: Context): boolean;
|
1
node_modules/liquidjs/dist/render/boolean.spec.d.ts
generated
vendored
Normal file
1
node_modules/liquidjs/dist/render/boolean.spec.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
10
node_modules/liquidjs/dist/render/expression.d.ts
generated
vendored
Normal file
10
node_modules/liquidjs/dist/render/expression.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { QuotedToken, Token } from '../tokens';
|
||||
import type { Context } from '../context';
|
||||
export declare class Expression {
|
||||
private postfix;
|
||||
constructor(tokens: IterableIterator<Token>);
|
||||
evaluate(ctx: Context, lenient?: boolean): Generator<unknown, unknown, unknown>;
|
||||
valid(): boolean;
|
||||
}
|
||||
export declare function evalToken(token: Token | undefined, ctx: Context, lenient?: boolean): IterableIterator<unknown>;
|
||||
export declare function evalQuotedToken(token: QuotedToken): string;
|
1
node_modules/liquidjs/dist/render/expression.spec.d.ts
generated
vendored
Normal file
1
node_modules/liquidjs/dist/render/expression.spec.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
4
node_modules/liquidjs/dist/render/index.d.ts
generated
vendored
Normal file
4
node_modules/liquidjs/dist/render/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export * from './render';
|
||||
export * from './expression';
|
||||
export * from './operator';
|
||||
export * from './boolean';
|
7
node_modules/liquidjs/dist/render/operator.d.ts
generated
vendored
Normal file
7
node_modules/liquidjs/dist/render/operator.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Context } from '../context';
|
||||
export type UnaryOperatorHandler = (operand: any, ctx: Context) => boolean;
|
||||
export type BinaryOperatorHandler = (lhs: any, rhs: any, ctx: Context) => boolean;
|
||||
export type OperatorHandler = UnaryOperatorHandler | BinaryOperatorHandler;
|
||||
export type Operators = Record<string, OperatorHandler>;
|
||||
export declare const defaultOperators: Operators;
|
||||
export declare function equals(lhs: any, rhs: any): boolean;
|
8
node_modules/liquidjs/dist/render/render.d.ts
generated
vendored
Normal file
8
node_modules/liquidjs/dist/render/render.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/// <reference types="node" />
|
||||
import { Context } from '../context';
|
||||
import { Template } from '../template';
|
||||
import { Emitter } from '../emitters';
|
||||
export declare class Render {
|
||||
renderTemplatesToNodeStream(templates: Template[], ctx: Context): NodeJS.ReadableStream;
|
||||
renderTemplates(templates: Template[], ctx: Context, emitter?: Emitter): IterableIterator<any>;
|
||||
}
|
1
node_modules/liquidjs/dist/render/render.spec.d.ts
generated
vendored
Normal file
1
node_modules/liquidjs/dist/render/render.spec.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
1
node_modules/liquidjs/dist/render/string.d.ts
generated
vendored
Normal file
1
node_modules/liquidjs/dist/render/string.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export declare function parseStringLiteral(str: string): string;
|
1
node_modules/liquidjs/dist/render/string.spec.d.ts
generated
vendored
Normal file
1
node_modules/liquidjs/dist/render/string.spec.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
Reference in New Issue
Block a user