Urara-Blog/node_modules/.pnpm-store/v3/files/cb/37a324fb55bf69d56bb228a251a1f29f7b82fdf9fa27e9f035490bcd1d074ebd979b1f506337504fd9db024246941ecc255ce6e6924ae10dd3f0da7c4d4f59
2022-08-14 01:14:53 +08:00

26 lines
883 B
Text

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;
else?: ElseBlock;
constructor(component: Component, parent: Node, scope: TemplateScope, info: TemplateNode);
}