Urara-Blog/node_modules/.pnpm-store/v3/files/30/1f49e2024a7955ab56b6d62e2d9f4ab8145e20c8af3a8a2a63fbab0e50edf5fe2ceba47891f3097dd9a133a21fbbfc9c5a06527ddb91b59ea46a8d1145350f
2022-08-14 01:14:53 +08:00

22 lines
824 B
Text

import Node from './shared/Node';
import PendingBlock from './PendingBlock';
import ThenBlock from './ThenBlock';
import CatchBlock from './CatchBlock';
import Expression from './shared/Expression';
import Component from '../Component';
import TemplateScope from './shared/TemplateScope';
import { TemplateNode } from '../../interfaces';
import { Context } from './shared/Context';
import { Node as ESTreeNode } from 'estree';
export default class AwaitBlock extends Node {
type: 'AwaitBlock';
expression: Expression;
then_contexts: Context[];
catch_contexts: Context[];
then_node: ESTreeNode | null;
catch_node: ESTreeNode | null;
pending: PendingBlock;
then: ThenBlock;
catch: CatchBlock;
constructor(component: Component, parent: Node, scope: TemplateScope, info: TemplateNode);
}