mirror of
https://github.com/github/semantic.git
synced 2024-12-18 20:31:55 +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)
|
|
{ (Empty)
|
|
->(TypeArguments
|
|
{+(TypeIdentifier)+}) })
|
|
{ (JsxText)
|
|
->(JsxText) }
|
|
(JsxClosingElement
|
|
(Identifier)))
|
|
(JsxText)
|
|
(JsxClosingElement
|
|
(Identifier)))))))
|