1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
semantic/test/fixtures/javascript/corpus/jsx.diffB-A.txt
Max Brunsfeld 07ccbb8966 Handle JSX elements with type arguments
Also, add a unit test for JSX in JavaScript.

Co-Authored-By: Rick Winfrey <rewinfrey@github.com>
2019-08-21 10:31:32 -07:00

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)))))))