You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
jsxElement = makeTerm <$> symbol Grammar.JsxElement<*> children (TypeScript.Syntax.JsxElement<$> term jsxOpeningElement' <*> manyTerm jsxChild <*> term jsxClosingElement')
422
-
423
-
jsxFragment::AssignmentTerm
424
-
jsxFragment = makeTerm <$> symbol Grammar.JsxFragment<*> children (TypeScript.Syntax.JsxFragment<$> manyTerm jsxChild)
jsxSelfClosingElement = makeTerm <$> symbol Grammar.JsxSelfClosingElement<*> children (TypeScript.Syntax.JsxSelfClosingElement<$> term jsxElementName <*> manyTerm jsxAttribute')
431
-
432
-
jsxAttribute'::AssignmentTerm
433
-
jsxAttribute' = jsxAttribute <|> jsxExpression'
434
-
435
-
jsxOpeningElement'::AssignmentTerm
436
-
jsxOpeningElement' = makeTerm <$> symbol Grammar.JsxOpeningElement<*> children (TypeScript.Syntax.JsxOpeningElement<$> term jsxElementName <*> manyTerm jsxAttribute')
jsxNamespaceName = makeTerm <$> symbol Grammar.JsxNamespaceName<*> children (TypeScript.Syntax.JsxNamespaceName<$> identifier <*> identifier)
443
-
444
-
jsxExpression'::AssignmentTerm
445
-
jsxExpression' = makeTerm <$> symbol Grammar.JsxExpression<*> children (TypeScript.Syntax.JsxExpression<$> term (expressions <|> spreadElement <|> emptyTerm))
446
-
447
-
jsxText::AssignmentTerm
448
-
jsxText = makeTerm <$> symbol Grammar.JsxText<*> (TypeScript.Syntax.JsxText<$> source)
449
-
450
-
jsxClosingElement'::AssignmentTerm
451
-
jsxClosingElement' = makeTerm <$> symbol Grammar.JsxClosingElement<*> children (TypeScript.Syntax.JsxClosingElement<$> term jsxElementName)
452
-
453
-
jsxAttribute::AssignmentTerm
454
-
jsxAttribute = makeTerm <$> symbol Grammar.JsxAttribute<*> children (TypeScript.Syntax.JsxAttribute<$> term (propertyIdentifier <|> jsxNamespaceName) <*> (term jsxAttributeValue <|> emptyTerm))
455
-
where jsxAttributeValue = choice [ string, jsxExpression', jsxElement', jsxFragment ]
456
-
457
406
propertyIdentifier::AssignmentTerm
458
407
propertyIdentifier = makeTerm <$> symbol PropertyIdentifier<*> (Syntax.Identifier. name <$> source)
0 commit comments