frontend/.pnpm-store/v3/files/a7/601ba843a3b41fed7084364176091d1dfbfa4adccdd8ff5615781a3b638b12b71e13b217d3ad95599e5b9a5875e88634283f45bd683c1e5597750aeb409aaa

28 lines
931 B
Plaintext

import ElseBlock from './ElseBlock';
import Expression from './shared/Expression';
import TemplateScope from './shared/TemplateScope';
import AbstractBlock from './shared/AbstractBlock';
import ConstTag from './ConstTag';
import { Context } from './shared/Context';
import { Node } from 'estree';
import Component from '../Component';
import { TemplateNode } from '../../interfaces';
export default class EachBlock extends AbstractBlock {
type: 'EachBlock';
expression: Expression;
context_node: Node;
iterations: string;
index: string;
context: string;
key: Expression;
scope: TemplateScope;
contexts: Context[];
const_tags: ConstTag[];
has_animation: boolean;
has_binding: boolean;
has_index_binding: boolean;
context_rest_properties: Map<string, Node>;
else?: ElseBlock;
constructor(component: Component, parent: Node, scope: TemplateScope, info: TemplateNode);
}