diff --git a/AST.md b/AST.md index 16af254..2f7cd16 100644 --- a/AST.md +++ b/AST.md @@ -95,7 +95,7 @@ Opening element ("tag") may contain attributes: interface JSXAttribute <: Node { type: "JSXAttribute"; name: JSXIdentifier | JSXNamespacedName; - value: Literal | JSXExpressionContainer | JSXElement | JSXFragment | null; + value: Literal | JSXExpressionContainer | JSXElement | JSXFragment | JSXIdentifier | null; } interface JSXSpreadAttribute <: SpreadElement { diff --git a/README.md b/README.md index e195e25..a958831 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,7 @@ JSXSpreadAttribute : JSXAttribute :
 - JSXAttributeName JSXAttributeInitializeropt +- `+` JSXIdentifier JSXAttributeName :