2018-12-30 05:57:27 +03:00
|
|
|
Module {
|
|
|
|
span: Span {
|
|
|
|
lo: BytePos(
|
|
|
|
0
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
40
|
|
|
|
),
|
|
|
|
ctxt: #0
|
|
|
|
},
|
|
|
|
body: [
|
|
|
|
Stmt(
|
|
|
|
Expr(
|
|
|
|
JSXElement(
|
|
|
|
JSXElement {
|
|
|
|
span: Span {
|
|
|
|
lo: BytePos(
|
|
|
|
0
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
40
|
|
|
|
),
|
|
|
|
ctxt: #0
|
|
|
|
},
|
|
|
|
opening: JSXOpeningElement {
|
|
|
|
name: Ident(
|
2019-01-07 13:43:47 +03:00
|
|
|
Ident {
|
|
|
|
sym: a,
|
|
|
|
span: Span {
|
2018-12-30 05:57:27 +03:00
|
|
|
lo: BytePos(
|
|
|
|
1
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
2
|
|
|
|
),
|
|
|
|
ctxt: #0
|
2019-01-07 13:43:47 +03:00
|
|
|
},
|
|
|
|
type_ann: None,
|
|
|
|
optional: false
|
|
|
|
}
|
2018-12-30 05:57:27 +03:00
|
|
|
),
|
|
|
|
span: Span {
|
|
|
|
lo: BytePos(
|
|
|
|
1
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
15
|
|
|
|
),
|
|
|
|
ctxt: #0
|
|
|
|
},
|
|
|
|
attrs: [
|
|
|
|
JSXAttr(
|
|
|
|
JSXAttr {
|
|
|
|
span: Span {
|
|
|
|
lo: BytePos(
|
|
|
|
3
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
14
|
|
|
|
),
|
|
|
|
ctxt: #0
|
|
|
|
},
|
|
|
|
name: JSXNamespacedName(
|
|
|
|
JSXNamespacedName {
|
2019-01-07 13:43:47 +03:00
|
|
|
ns: Ident {
|
|
|
|
sym: n,
|
|
|
|
span: Span {
|
2018-12-30 05:57:27 +03:00
|
|
|
lo: BytePos(
|
|
|
|
3
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
4
|
|
|
|
),
|
|
|
|
ctxt: #0
|
2019-01-07 13:43:47 +03:00
|
|
|
},
|
|
|
|
type_ann: None,
|
|
|
|
optional: false
|
|
|
|
},
|
|
|
|
name: Ident {
|
|
|
|
sym: foo,
|
|
|
|
span: Span {
|
2018-12-30 05:57:27 +03:00
|
|
|
lo: BytePos(
|
|
|
|
5
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
8
|
|
|
|
),
|
|
|
|
ctxt: #0
|
2019-01-07 13:43:47 +03:00
|
|
|
},
|
|
|
|
type_ann: None,
|
|
|
|
optional: false
|
|
|
|
}
|
2018-12-30 05:57:27 +03:00
|
|
|
}
|
|
|
|
),
|
|
|
|
value: Some(
|
|
|
|
Lit(
|
|
|
|
Str(
|
|
|
|
Str {
|
|
|
|
span: Span {
|
|
|
|
lo: BytePos(
|
|
|
|
9
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
14
|
|
|
|
),
|
|
|
|
ctxt: #0
|
|
|
|
},
|
|
|
|
value: Atom('bar' type=inline),
|
|
|
|
has_escape: false
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
)
|
|
|
|
],
|
2019-01-07 13:43:47 +03:00
|
|
|
self_closing: false,
|
|
|
|
type_args: None
|
2018-12-30 05:57:27 +03:00
|
|
|
},
|
|
|
|
children: [
|
|
|
|
JSXText(
|
|
|
|
JSXText {
|
|
|
|
span: Span {
|
|
|
|
lo: BytePos(
|
|
|
|
15
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
16
|
|
|
|
),
|
|
|
|
ctxt: #0
|
|
|
|
},
|
|
|
|
value: Atom(' ' type=inline),
|
|
|
|
raw: Atom(' ' type=inline)
|
|
|
|
}
|
|
|
|
),
|
|
|
|
JSXExprContainer(
|
|
|
|
JSXExprContainer {
|
|
|
|
expr: Expr(
|
|
|
|
Ident(
|
2019-01-07 13:43:47 +03:00
|
|
|
Ident {
|
|
|
|
sym: value,
|
|
|
|
span: Span {
|
2018-12-30 05:57:27 +03:00
|
|
|
lo: BytePos(
|
|
|
|
17
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
22
|
|
|
|
),
|
|
|
|
ctxt: #0
|
2019-01-07 13:43:47 +03:00
|
|
|
},
|
|
|
|
type_ann: None,
|
|
|
|
optional: false
|
|
|
|
}
|
2018-12-30 05:57:27 +03:00
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
),
|
|
|
|
JSXText(
|
|
|
|
JSXText {
|
|
|
|
span: Span {
|
|
|
|
lo: BytePos(
|
|
|
|
23
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
24
|
|
|
|
),
|
|
|
|
ctxt: #0
|
|
|
|
},
|
|
|
|
value: Atom(' ' type=inline),
|
|
|
|
raw: Atom(' ' type=inline)
|
|
|
|
}
|
|
|
|
),
|
|
|
|
JSXElement(
|
|
|
|
JSXElement {
|
|
|
|
span: Span {
|
|
|
|
lo: BytePos(
|
|
|
|
24
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
36
|
|
|
|
),
|
|
|
|
ctxt: #0
|
|
|
|
},
|
|
|
|
opening: JSXOpeningElement {
|
|
|
|
name: Ident(
|
2019-01-07 13:43:47 +03:00
|
|
|
Ident {
|
|
|
|
sym: b,
|
|
|
|
span: Span {
|
2018-12-30 05:57:27 +03:00
|
|
|
lo: BytePos(
|
|
|
|
25
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
26
|
|
|
|
),
|
|
|
|
ctxt: #0
|
2019-01-07 13:43:47 +03:00
|
|
|
},
|
|
|
|
type_ann: None,
|
|
|
|
optional: false
|
|
|
|
}
|
2018-12-30 05:57:27 +03:00
|
|
|
),
|
|
|
|
span: Span {
|
|
|
|
lo: BytePos(
|
|
|
|
25
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
27
|
|
|
|
),
|
|
|
|
ctxt: #0
|
|
|
|
},
|
|
|
|
attrs: [],
|
2019-01-07 13:43:47 +03:00
|
|
|
self_closing: false,
|
|
|
|
type_args: None
|
2018-12-30 05:57:27 +03:00
|
|
|
},
|
|
|
|
children: [
|
|
|
|
JSXElement(
|
|
|
|
JSXElement {
|
|
|
|
span: Span {
|
|
|
|
lo: BytePos(
|
|
|
|
27
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
32
|
|
|
|
),
|
|
|
|
ctxt: #0
|
|
|
|
},
|
|
|
|
opening: JSXOpeningElement {
|
|
|
|
name: Ident(
|
2019-01-07 13:43:47 +03:00
|
|
|
Ident {
|
|
|
|
sym: c,
|
|
|
|
span: Span {
|
2018-12-30 05:57:27 +03:00
|
|
|
lo: BytePos(
|
|
|
|
28
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
29
|
|
|
|
),
|
|
|
|
ctxt: #0
|
2019-01-07 13:43:47 +03:00
|
|
|
},
|
|
|
|
type_ann: None,
|
|
|
|
optional: false
|
|
|
|
}
|
2018-12-30 05:57:27 +03:00
|
|
|
),
|
|
|
|
span: Span {
|
|
|
|
lo: BytePos(
|
|
|
|
28
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
32
|
|
|
|
),
|
|
|
|
ctxt: #0
|
|
|
|
},
|
|
|
|
attrs: [],
|
2019-01-07 13:43:47 +03:00
|
|
|
self_closing: true,
|
|
|
|
type_args: None
|
2018-12-30 05:57:27 +03:00
|
|
|
},
|
|
|
|
children: [],
|
|
|
|
closing: None
|
|
|
|
}
|
|
|
|
)
|
|
|
|
],
|
|
|
|
closing: Some(
|
|
|
|
JSXClosingElement {
|
|
|
|
span: Span {
|
|
|
|
lo: BytePos(
|
|
|
|
34
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
36
|
|
|
|
),
|
|
|
|
ctxt: #0
|
|
|
|
},
|
|
|
|
name: Ident(
|
2019-01-07 13:43:47 +03:00
|
|
|
Ident {
|
|
|
|
sym: b,
|
|
|
|
span: Span {
|
2018-12-30 05:57:27 +03:00
|
|
|
lo: BytePos(
|
|
|
|
34
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
35
|
|
|
|
),
|
|
|
|
ctxt: #0
|
2019-01-07 13:43:47 +03:00
|
|
|
},
|
|
|
|
type_ann: None,
|
|
|
|
optional: false
|
|
|
|
}
|
2018-12-30 05:57:27 +03:00
|
|
|
)
|
|
|
|
}
|
|
|
|
)
|
|
|
|
}
|
|
|
|
)
|
|
|
|
],
|
|
|
|
closing: Some(
|
|
|
|
JSXClosingElement {
|
|
|
|
span: Span {
|
|
|
|
lo: BytePos(
|
|
|
|
38
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
40
|
|
|
|
),
|
|
|
|
ctxt: #0
|
|
|
|
},
|
|
|
|
name: Ident(
|
2019-01-07 13:43:47 +03:00
|
|
|
Ident {
|
|
|
|
sym: a,
|
|
|
|
span: Span {
|
2018-12-30 05:57:27 +03:00
|
|
|
lo: BytePos(
|
|
|
|
38
|
|
|
|
),
|
|
|
|
hi: BytePos(
|
|
|
|
39
|
|
|
|
),
|
|
|
|
ctxt: #0
|
2019-01-07 13:43:47 +03:00
|
|
|
},
|
|
|
|
type_ann: None,
|
|
|
|
optional: false
|
|
|
|
}
|
2018-12-30 05:57:27 +03:00
|
|
|
)
|
|
|
|
}
|
|
|
|
)
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2019-02-13 10:03:38 +03:00
|
|
|
],
|
|
|
|
shebang: None
|
2018-12-30 05:57:27 +03:00
|
|
|
}
|