1 | import type { SourceSlice } from '../../source/slice';
|
2 | import type { CallFields } from './base';
|
3 | import type { ExpressionNode } from './expr';
|
4 | import { NamedArgument } from './args';
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | export type AttrNode = HtmlAttr | SplatAttr | ComponentArg;
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export type HtmlOrSplatAttr = HtmlAttr | SplatAttr;
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | export type AttrBlockNode = AttrNode | ElementModifier;
|
24 | declare const HtmlAttr_base: import("./node").TypedNodeConstructor<"HtmlAttr", AttrNodeOptions & import("./node").BaseNodeFields>;
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 | export declare class HtmlAttr extends HtmlAttr_base {
|
34 | }
|
35 | declare const SplatAttr_base: import("./node").TypedNodeConstructor<"SplatAttr", {
|
36 | symbol: number;
|
37 | } & import("./node").BaseNodeFields>;
|
38 | export declare class SplatAttr extends SplatAttr_base {
|
39 | }
|
40 | declare const ComponentArg_base: import("./node").NodeConstructor<AttrNodeOptions & import("./node").BaseNodeFields>;
|
41 |
|
42 |
|
43 |
|
44 | export declare class ComponentArg extends ComponentArg_base {
|
45 | |
46 |
|
47 |
|
48 | toNamedArgument(): NamedArgument;
|
49 | }
|
50 | declare const ElementModifier_base: import("./node").TypedNodeConstructor<"ElementModifier", CallFields & import("./node").BaseNodeFields>;
|
51 |
|
52 |
|
53 |
|
54 | export declare class ElementModifier extends ElementModifier_base {
|
55 | }
|
56 | export interface AttrNodeOptions {
|
57 | name: SourceSlice;
|
58 | value: ExpressionNode;
|
59 | trusting: boolean;
|
60 | }
|
61 | export {};
|