2015-06-18 23:03:43 +02:00
|
|
|
// @jsx: preserve
|
|
|
|
declare var React: any;
|
|
|
|
declare var 日本語;
|
|
|
|
declare var AbC_def;
|
|
|
|
declare var LeftRight;
|
|
|
|
declare var x;
|
|
|
|
declare var a;
|
|
|
|
declare var props;
|
2020-11-03 00:34:36 +01:00
|
|
|
declare var value;
|
2015-06-18 23:03:43 +02:00
|
|
|
|
|
|
|
<a />;
|
|
|
|
|
2020-11-03 00:34:36 +01:00
|
|
|
<n:a n:v />;
|
2015-06-18 23:03:43 +02:00
|
|
|
|
2020-11-03 00:34:36 +01:00
|
|
|
<a n:foo="bar"> {value} <b><c /></b></a>;
|
2015-06-18 23:03:43 +02:00
|
|
|
|
|
|
|
<a b={" "} c=" " d="&" e="id=1&group=2" f="�" g="{*;" h="&#x;" />;
|
|
|
|
|
|
|
|
<a b="¬anentity;" />;
|
|
|
|
<a
|
|
|
|
/>;
|
|
|
|
|
|
|
|
<日本語></日本語>;
|
|
|
|
|
|
|
|
<AbC_def
|
|
|
|
test="&&">
|
|
|
|
bar
|
|
|
|
baz
|
|
|
|
</AbC_def>;
|
|
|
|
|
|
|
|
<a b={x ? <c /> : <d />} />;
|
|
|
|
|
|
|
|
<a>{}</a>;
|
|
|
|
|
|
|
|
<a>{/* this is a comment */}</a>;
|
|
|
|
|
|
|
|
<div>@test content</div>;
|
|
|
|
|
|
|
|
<div><br />7x invalid-js-identifier</div>;
|
|
|
|
|
|
|
|
<LeftRight left=<a /> right=<b>monkeys /> gorillas</b> />;
|
|
|
|
|
|
|
|
<a.b></a.b>;
|
|
|
|
|
|
|
|
<a.b.c></a.b.c>;
|
|
|
|
|
|
|
|
(<div />) < x;
|
|
|
|
|
|
|
|
<div {...props} />;
|
|
|
|
|
|
|
|
<div {...props} post="attribute" />;
|
|
|
|
|
|
|
|
<div pre="leading" pre2="attribute" {...props}></div>;
|
|
|
|
|
|
|
|
<a> </a>;
|