UNPKG

svelte

Version:

Cybernetically enhanced web apps

27 lines (26 loc) 768 B
import Component from '../Component'; import Node from './shared/Node'; import Element from './Element'; import Text from './Text'; import Expression from './shared/Expression'; export default class Attribute extends Node { type: 'Attribute'; start: number; end: number; component: Component; parent: Element; name: string; is_spread: boolean; is_true: boolean; is_dynamic: boolean; is_static: boolean; is_synthetic: boolean; should_cache: boolean; expression?: Expression; chunks: Array<Text | Expression>; dependencies: Set<string>; constructor(component: any, parent: any, scope: any, info: any); get_dependencies(): any[]; get_value(block: any): any; get_static_value(): string | true; }