Urara-Blog/node_modules/.pnpm-store/v3/files/ec/fc7d3308ef8a4a51b6151f0f276a0527a1b323f511aeae2a077830ea838a5dffb1937ac12955dd8b73ca5b389d71373fa17c8a9f2228deb42f3619383be0b2
2022-08-14 01:14:53 +08:00

21 lines
717 B
Text

import Attribute from '../Attribute';
import Component from '../../Component';
import { INode } from '../interfaces';
import { TemplateNode } from '../../../interfaces';
export default class Node {
readonly start: number;
readonly end: number;
readonly component: Component;
readonly parent: INode;
readonly type: string;
prev?: INode;
next?: INode;
can_use_innerhtml: boolean;
var: string;
attributes: Attribute[];
constructor(component: Component, parent: Node, _scope: any, info: TemplateNode);
cannot_use_innerhtml(): void;
find_nearest(selector: RegExp): any;
get_static_attribute_value(name: string): string | true;
has_ancestor(type: string): any;
}