mirror of
https://github.com/github/semantic.git
synced 2024-12-21 22:01:46 +03:00
07ccbb8966
Also, add a unit test for JSX in JavaScript. Co-Authored-By: Rick Winfrey <rewinfrey@github.com>
26 lines
570 B
Plaintext
26 lines
570 B
Plaintext
(Statements
|
|
(Function
|
|
(Empty)
|
|
(Empty)
|
|
(Identifier)
|
|
(StatementBlock
|
|
(Return
|
|
(JsxElement
|
|
(JsxOpeningElement
|
|
(Identifier)
|
|
(Empty))
|
|
(JsxText)
|
|
(JsxElement
|
|
(JsxOpeningElement
|
|
(Identifier)
|
|
{ (TypeArguments
|
|
{-(TypeIdentifier)-})
|
|
->(Empty) })
|
|
{ (JsxText)
|
|
->(JsxText) }
|
|
(JsxClosingElement
|
|
(Identifier)))
|
|
(JsxText)
|
|
(JsxClosingElement
|
|
(Identifier)))))))
|