JsModule {
bom_token: missing (optional),
interpreter_token: missing (optional),
directives: JsDirectiveList [],
items: JsModuleItemList [
JsExpressionStatement {
expression: JsxTagExpression {
tag: JsxElement {
opening_element: JsxOpeningElement {
l_angle_token: L_ANGLE@0..1 "<" [] [],
name: JsxNamespaceName {
namespace: JsxName {
value_token: JSX_IDENT@1..10 "namespace" [] [],
},
colon_token: COLON@10..11 ":" [] [],
name: JsxName {
value_token: JSX_IDENT@11..12 "a" [] [],
},
},
type_arguments: missing (optional),
attributes: JsxAttributeList [],
r_angle_token: R_ANGLE@12..13 ">" [] [],
},
children: JsxChildList [],
closing_element: JsxClosingElement {
l_angle_token: L_ANGLE@13..14 "<" [] [],
slash_token: SLASH@14..15 "/" [] [],
name: JsxNamespaceName {
namespace: JsxName {
value_token: JSX_IDENT@15..24 "namespace" [] [],
},
colon_token: COLON@24..25 ":" [] [],
name: JsxName {
value_token: JSX_IDENT@25..26 "a" [] [],
},
},
r_angle_token: R_ANGLE@26..27 ">" [] [],
},
},
},
semicolon_token: SEMICOLON@27..28 ";" [] [],
},
JsExpressionStatement {
expression: JsBogusExpression {
items: [
JsBogus {
items: [
JsBogus {
items: [
L_ANGLE@28..30 "<" [Newline("\n")] [],
JsBogus {
items: [
JsBogus {
items: [
JsxName {
value_token: JSX_IDENT@30..39 "namespace" [] [],
},
COLON@39..40 ":" [] [],
JsxName {
value_token: JSX_IDENT@40..41 "a" [] [],
},
],
},
DOT@41..42 "." [] [],
JsName {
value_token: IDENT@42..43 "b" [] [],
},
],
},
JsxAttributeList [],
R_ANGLE@43..44 ">" [] [],
],
},
JsxChildList [],
JsBogus {
items: [
L_ANGLE@44..45 "<" [] [],
SLASH@45..46 "/" [] [],
JsBogus {
items: [
JsBogus {
items: [
JsxName {
value_token: JSX_IDENT@46..55 "namespace" [] [],
},
COLON@55..56 ":" [] [],
JsxName {
value_token: JSX_IDENT@56..57 "a" [] [],
},
],
},
DOT@57..58 "." [] [],
JsName {
value_token: IDENT@58..59 "b" [] [],
},
],
},
R_ANGLE@59..60 ">" [] [],
],
},
],
},
],
},
semicolon_token: SEMICOLON@60..61 ";" [] [],
},
],
eof_token: EOF@61..62 "" [Newline("\n")] [],
}
0: JS_MODULE@0..62
0: (empty)
1: (empty)
2: JS_DIRECTIVE_LIST@0..0
3: JS_MODULE_ITEM_LIST@0..61
0: JS_EXPRESSION_STATEMENT@0..28
0: JSX_TAG_EXPRESSION@0..27
0: JSX_ELEMENT@0..27
0: JSX_OPENING_ELEMENT@0..13
0: L_ANGLE@0..1 "<" [] []
1: JSX_NAMESPACE_NAME@1..12
0: JSX_NAME@1..10
0: JSX_IDENT@1..10 "namespace" [] []
1: COLON@10..11 ":" [] []
2: JSX_NAME@11..12
0: JSX_IDENT@11..12 "a" [] []
2: (empty)
3: JSX_ATTRIBUTE_LIST@12..12
4: R_ANGLE@12..13 ">" [] []
1: JSX_CHILD_LIST@13..13
2: JSX_CLOSING_ELEMENT@13..27
0: L_ANGLE@13..14 "<" [] []
1: SLASH@14..15 "/" [] []
2: JSX_NAMESPACE_NAME@15..26
0: JSX_NAME@15..24
0: JSX_IDENT@15..24 "namespace" [] []
1: COLON@24..25 ":" [] []
2: JSX_NAME@25..26
0: JSX_IDENT@25..26 "a" [] []
3: R_ANGLE@26..27 ">" [] []
1: SEMICOLON@27..28 ";" [] []
1: JS_EXPRESSION_STATEMENT@28..61
0: JS_BOGUS_EXPRESSION@28..60
0: JS_BOGUS@28..60
0: JS_BOGUS@28..44
0: L_ANGLE@28..30 "<" [Newline("\n")] []
1: JS_BOGUS@30..43
0: JS_BOGUS@30..41
0: JSX_NAME@30..39
0: JSX_IDENT@30..39 "namespace" [] []
1: COLON@39..40 ":" [] []
2: JSX_NAME@40..41
0: JSX_IDENT@40..41 "a" [] []
1: DOT@41..42 "." [] []
2: JS_NAME@42..43
0: IDENT@42..43 "b" [] []
2: JSX_ATTRIBUTE_LIST@43..43
3: R_ANGLE@43..44 ">" [] []
1: JSX_CHILD_LIST@44..44
2: JS_BOGUS@44..60
0: L_ANGLE@44..45 "<" [] []
1: SLASH@45..46 "/" [] []
2: JS_BOGUS@46..59
0: JS_BOGUS@46..57
0: JSX_NAME@46..55
0: JSX_IDENT@46..55 "namespace" [] []
1: COLON@55..56 ":" [] []
2: JSX_NAME@56..57
0: JSX_IDENT@56..57 "a" [] []
1: DOT@57..58 "." [] []
2: JS_NAME@58..59
0: IDENT@58..59 "b" [] []
3: R_ANGLE@59..60 ">" [] []
1: SEMICOLON@60..61 ";" [] []
4: EOF@61..62 "" [Newline("\n")] []
--
jsx_namespace_member_element_name.jsx:2:2 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
× JSX property access expressions cannot include JSX namespace names.
1 │ ;
> 2 │ ;
│ ^^^^^^^^^^^
3 │
--
jsx_namespace_member_element_name.jsx:2:18 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
× JSX property access expressions cannot include JSX namespace names.
1 │ ;
> 2 │ ;
│ ^^^^^^^^^^^
3 │
--
;
;