|
33 | 33 | │ │ ╰─ tagVar "/foo" |
34 | 34 | ╰─ ╰─ tagName "let" |
35 | 35 | 7╭─ <let/foo + 1/> |
36 | | - │ │ ││ │ │╰─ openTagEnd:selfClosed "/>" |
37 | | - │ │ ││ │ ╰─ attrName |
38 | | - │ │ ││ ╰─ attrName |
39 | | - │ │ │╰─ tagVar.value "foo" |
40 | | - │ │ ╰─ tagVar "/foo" |
| 36 | + │ │ ││ ╰─ openTagEnd:selfClosed "/>" |
| 37 | + │ │ │╰─ tagVar.value "foo + 1" |
| 38 | + │ │ ╰─ tagVar "/foo + 1" |
41 | 39 | ╰─ ╰─ tagName "let" |
42 | | -8╭─ <let/{ x, y }/> |
43 | | - │ │ ││ ╰─ openTagEnd:selfClosed "/>" |
44 | | - │ │ │╰─ tagVar.value "{ x, y }" |
45 | | - │ │ ╰─ tagVar "/{ x, y }" |
| 40 | +8╭─ <let/foo:string/> |
| 41 | + │ │ ││ ╰─ openTagEnd:selfClosed "/>" |
| 42 | + │ │ │╰─ tagVar.value "foo:string" |
| 43 | + │ │ ╰─ tagVar "/foo:string" |
46 | 44 | ╰─ ╰─ tagName "let" |
47 | | -9├─ |
48 | | -10╭─ <button/loginButton> |
| 45 | +9╭─ <let/foo : string/> |
| 46 | + │ │ ││ ╰─ openTagEnd:selfClosed "/>" |
| 47 | + │ │ │╰─ tagVar.value "foo : string" |
| 48 | + │ │ ╰─ tagVar "/foo : string" |
| 49 | + ╰─ ╰─ tagName "let" |
| 50 | +10╭─ <let/foo: typeof bar extends y ? a : b x=2/> |
| 51 | + │ │ ││ │││╰─ openTagEnd:selfClosed "/>" |
| 52 | + │ │ ││ ││╰─ attrValue.value |
| 53 | + │ │ ││ │╰─ attrValue "=2" |
| 54 | + │ │ ││ ╰─ attrName |
| 55 | + │ │ │╰─ tagVar.value "foo: typeof bar extends y ? a : b" |
| 56 | + │ │ ╰─ tagVar "/foo: typeof bar extends y ? a : b" |
| 57 | + ╰─ ╰─ tagName "let" |
| 58 | +11╭─ <let/{ x, y }/> |
| 59 | + │ │ ││ ╰─ openTagEnd:selfClosed "/>" |
| 60 | + │ │ │╰─ tagVar.value "{ x, y }" |
| 61 | + │ │ ╰─ tagVar "/{ x, y }" |
| 62 | + ╰─ ╰─ tagName "let" |
| 63 | +12├─ |
| 64 | +13╭─ <const/fn:any() { |
| 65 | + │ │ ││ ││ ╰─ attrMethod.body "{\n console.log(\"hi\");\n}" |
| 66 | + │ │ ││ │╰─ attrMethod.params.value |
| 67 | + │ │ ││ ├─ attrMethod.params "()" |
| 68 | + │ │ ││ ├─ attrMethod "() {\n console.log(\"hi\");\n}" |
| 69 | + │ │ ││ ╰─ attrName |
| 70 | + │ │ │╰─ tagVar.value "fn:any" |
| 71 | + │ │ ╰─ tagVar "/fn:any" |
| 72 | + ╰─ ╰─ tagName "const" |
| 73 | +14╭─ console.log("hi"); |
| 74 | + ╰─ ╰─ attrMethod.body.value "\n console.log(\"hi\");\n" |
| 75 | +15╭─ }/> |
| 76 | + ╰─ ╰─ openTagEnd:selfClosed "/>" |
| 77 | +16├─ |
| 78 | +17╭─ <button/loginButton> |
49 | 79 | │ │ ││ ╰─ openTagEnd |
50 | 80 | │ │ │╰─ tagVar.value "loginButton" |
51 | 81 | │ │ ╰─ tagVar "/loginButton" |
52 | 82 | ╰─ ╰─ tagName "button" |
53 | | -11╭─ login |
| 83 | +18╭─ login |
54 | 84 | ╰─ ╰─ text "\n login\n" |
55 | | -12╭─ </> |
| 85 | +19╭─ </> |
56 | 86 | │ │ ╰─ closeTag(button).value |
57 | 87 | ╰─ ╰─ closeTag(button) "</>" |
58 | | -13╭─ <button/loginButton > |
| 88 | +20╭─ <button/loginButton > |
59 | 89 | │ │ ││ ╰─ openTagEnd |
60 | 90 | │ │ │╰─ tagVar.value "loginButton" |
61 | 91 | │ │ ╰─ tagVar "/loginButton" |
62 | 92 | ╰─ ╰─ tagName "button" |
63 | | -14╭─ login |
| 93 | +21╭─ login |
64 | 94 | ╰─ ╰─ text "\n login\n" |
65 | | -15╭─ </> |
| 95 | +22╭─ </> |
66 | 96 | │ │ ╰─ closeTag(button).value |
67 | 97 | ╰─ ╰─ closeTag(button) "</>" |
68 | | -16├─ |
69 | | -17╭─ <div/ref/> |
| 98 | +23├─ |
| 99 | +24╭─ <div/ref/> |
70 | 100 | │ │ ││ ╰─ openTagEnd:selfClosed "/>" |
71 | 101 | │ │ │╰─ tagVar.value "ref" |
72 | 102 | │ │ ╰─ tagVar "/ref" |
73 | 103 | ╰─ ╰─ tagName "div" |
74 | | -18╭─ <div/ref /> |
| 104 | +25╭─ <div/ref /> |
75 | 105 | │ │ ││ ╰─ openTagEnd:selfClosed "/>" |
76 | 106 | │ │ │╰─ tagVar.value "ref" |
77 | 107 | │ │ ╰─ tagVar "/ref" |
78 | 108 | ╰─ ╰─ tagName "div" |
79 | | -19├─ |
80 | | -20╭─ <div#ab.cd/ref/> |
| 109 | +26├─ |
| 110 | +27╭─ <div#ab.cd/ref/> |
81 | 111 | │ │ ││ ││ ││ ╰─ openTagEnd:selfClosed "/>" |
82 | 112 | │ │ ││ ││ │╰─ tagVar.value "ref" |
83 | 113 | │ │ ││ ││ ╰─ tagVar "/ref" |
|
86 | 116 | │ │ │╰─ tagShorthandId.quasis[0] "ab" |
87 | 117 | │ │ ╰─ tagShorthandId "#ab" |
88 | 118 | ╰─ ╰─ tagName "div" |
89 | | -21╰─ |
| 119 | +28╰─ |
0 commit comments