mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-04 17:19:29 +08:00
26 lines
883 B
Text
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);
|
|
}
|