UNPKG

@ibyar/expressions

Version:

Aurora expression, an template expression and evaluation, An 100% spec compliant ES2022 JavaScript toolchain,

17 lines 923 B
import type { NodeDeserializer, ExpressionNode, ExpressionEventPath, VisitNodeType, SourceLocation } from '../expression.js'; import type { Stack } from '../../scope/stack.js'; import { AbstractExpressionNode, AwaitPromise } from '../abstract.js'; export declare class AwaitExpression extends AbstractExpressionNode { private argument; static fromJSON(node: AwaitExpression, deserializer: NodeDeserializer): AwaitExpression; static visit(node: AwaitExpression, visitNode: VisitNodeType): void; constructor(argument: ExpressionNode, range?: [number, number], loc?: SourceLocation); getArgument(): ExpressionNode; set(stack: Stack, value: any): void; get(stack: Stack, thisContext?: any): AwaitPromise; dependency(computed?: true): ExpressionNode[]; dependencyPath(computed?: true): ExpressionEventPath[]; toString(): string; toJson(): object; } //# sourceMappingURL=await.d.ts.map