=== tests/cases/conformance/jsx/jsxReactTestSuite.tsx ===
declare var React: any;
>React : any
declare var Component:any;
>Component : any
declare var Composite:any;
>Composite : any
declare var Composite2:any;
>Composite2 : any
declare var Child:any;
>Child : any
declare var Namespace:any;
>Namespace : any
declare var foo: any;
>foo : any
declare var bar: any;
>bar : any
declare var y:any;
>y : any
declare var x:any;
>x : any
declare var z:any;
>z : any
declare var hasOwnProperty:any;
>hasOwnProperty : any
text
;
>text
: any
>div : any
>div : any
>
{this.props.children}
: any
>div : any
{this.props.children}
>this.props.children : any
>this.props : any
>this : any
>props : any
>children : any
;
>div : any
>
: any
>div : any
>
: any
>div : any
>
: any
>br : any
>div : any
{foo}
{bar}
>
{foo}
{bar} : any
>Component : any
>foo : any
>
: any
>br : any
>bar : any
>Component : any
>
: any
>br : any
;
>div : any
> {this.props.children} : any
>Composite : any
{this.props.children}
>this.props.children : any
>this.props : any
>this : any
>props : any
>children : any
;
>Composite : any
> : any
>Composite : any
> : any
>Composite2 : any
;
>Composite : any
var x =
>x : any
: any
>div : any
attr1={
>attr1 : any
"foo" + "bar"
>"foo" + "bar" : string
>"foo" : string
>"bar" : string
}
attr2={
>attr2 : any
"foo" + "bar" +
>"foo" + "bar" + "baz" + "bug" : string
>"foo" + "bar" + "baz" : string
>"foo" + "bar" : string
>"foo" : string
>"bar" : string
"baz" + "bug"
>"baz" : string
>"bug" : string
}
attr3={
>attr3 : any
"foo" + "bar" +
>"foo" + "bar" + "baz" + "bug" : string
>"foo" + "bar" + "baz" : string
>"foo" + "bar" : string
>"foo" : string
>"bar" : string
"baz" + "bug"
>"baz" : string
>"bug" : string
// Extra line here.
}
attr4="baz">
>attr4 : any
;
>div : any
(
>( {/* A comment at the beginning */} {/* A second comment at the beginning */} {/* A nested comment */} {/* A sandwiched comment */}
{/* A comment at the end */} {/* A second comment at the end */}
) : any
>
{/* A comment at the beginning */} {/* A second comment at the beginning */} {/* A nested comment */} {/* A sandwiched comment */}
{/* A comment at the end */} {/* A second comment at the end */}
: any
>div : any
{/* A comment at the beginning */}
{/* A second comment at the beginning */}
> {/* A nested comment */} : any
>span : any
{/* A nested comment */}
>span : any
{/* A sandwiched comment */}
>
: any
>br : any
{/* A comment at the end */}
{/* A second comment at the end */}
>div : any
);
(
>(
) : any
: any
>div : any
/* a multi-line
comment */
attr1="foo">
>attr1 : any
: any
>span : any
attr2="bar"
>attr2 : any
/>
>div : any
);
;
>
: any
>div : any
>div : any
;
>
: any
>div : any
>div : any
testing;
>testing : any
>hasOwnProperty : any
>hasOwnProperty : any
;
> : any
>Component : any
>constructor : any
;
> : any
>Namespace : any
>Component : any
;
> : any
>Namespace : any
>DeepNamespace : any
>Component : any
: any
>Component : any
>x : any
>y : any
={2 } z />;
>z : any
: any
>Component : any
{...this.props} sound="moo" />;
>this.props : any
>this : any
>props : any
>sound : any
;
> : any
>font-face : any
;
> : any
>Component : any
>x : any
>y : any
;
> : any
>x-component : any
;
> : any
>Component : any
>x : any
;
> : any
>Component : any
>x : any
>y : any
;
> : any
>Component : any
>x : any
>y : any
>z : any
;
> : any
>Component : any
>x : any
>y : any
;
> : any
>Component : any
>x : any
>y : any
>z : any
>z : any
> : any
>Child : any
>Component : any
Text;
>Text : any
>Component : any
>x : any
>(z = { y: 2 }, z) : any
>z = { y: 2 }, z : any
>z = { y: 2 } : { y: number; }
>z : any
>{ y: 2 } : { y: number; }
>y : number
>2 : number
>z : any
>z : any
>Component : any