Urara-Blog/node_modules/.pnpm-store/v3/files/68/320d11de0f952545680c5859b10d32a9bd0de2f9c83d2729de2c1b47c99062e44ce15e3b47ca5a935b2f2f79d507cd34a05dd15a89ca27a7f3780f1f2d1027
2022-08-14 01:14:53 +08:00

26 lines
894 B
Text

import Component from '../../Component';
import { Scope } from '../../utils/scope';
import TemplateScope from './TemplateScope';
import Block from '../../render_dom/Block';
import { Node } from 'estree';
import { INode } from '../interfaces';
declare type Owner = INode;
export default class Expression {
type: 'Expression';
component: Component;
owner: Owner;
node: Node;
references: Set<string>;
dependencies: Set<string>;
contextual_dependencies: Set<string>;
template_scope: TemplateScope;
scope: Scope;
scope_map: WeakMap<Node, Scope>;
declarations: Array<(Node | Node[])>;
uses_context: boolean;
manipulated: Node;
constructor(component: Component, owner: Owner, template_scope: TemplateScope, info: Node, lazy?: boolean);
dynamic_dependencies(): string[];
manipulate(block?: Block, ctx?: string | void): Node;
}
export {};