--- source: tests/transform.rs expression: element.transform() --- Element { tag: Native( "div", ), attrs: [ Attr { key: Attr( "fragment", ), value: Fragment( Fragment { children: [], is_static: true, }, ), }, ], children: [], raw: JSXElement { span: Span { lo: BytePos( 1, ), hi: BytePos( 27, ), ctxt: #0, }, opening: JSXOpeningElement { name: Ident( Ident { span: Span { lo: BytePos( 2, ), hi: BytePos( 5, ), ctxt: #0, }, sym: Atom('div' type=static), optional: false, }, ), span: Span { lo: BytePos( 1, ), hi: BytePos( 21, ), ctxt: #0, }, attrs: [ JSXAttr( JSXAttr { span: Span { lo: BytePos( 6, ), hi: BytePos( 20, ), ctxt: #0, }, name: Ident( Ident { span: Span { lo: BytePos( 6, ), hi: BytePos( 14, ), ctxt: #0, }, sym: Atom('fragment' type=dynamic), optional: false, }, ), value: Some( JSXFragment( JSXFragment { span: Span { lo: BytePos( 15, ), hi: BytePos( 20, ), ctxt: #0, }, opening: JSXOpeningFragment { span: Span { lo: BytePos( 15, ), hi: BytePos( 17, ), ctxt: #0, }, }, children: [], closing: JSXClosingFragment { span: Span { lo: BytePos( 17, ), hi: BytePos( 20, ), ctxt: #0, }, }, }, ), ), }, ), ], self_closing: false, type_args: None, }, children: [], closing: Some( JSXClosingElement { span: Span { lo: BytePos( 21, ), hi: BytePos( 27, ), ctxt: #0, }, name: Ident( Ident { span: Span { lo: BytePos( 23, ), hi: BytePos( 26, ), ctxt: #0, }, sym: Atom('div' type=static), optional: false, }, ), }, ), }, is_static: false, }