File tree Expand file tree Collapse file tree 1 file changed +15
-11
lines changed Expand file tree Collapse file tree 1 file changed +15
-11
lines changed Original file line number Diff line number Diff line change 44
55The Message Syntax specification used in Vue I18n is defined [ here] ( ./spec/syntax.ebnf ) .
66
7- ## Intlify Message Syntax AST
7+ ## Intlify Message AST structure
88
99``` mermaid
1010flowchart TD
11- Resource
12- Plural
13- Message
14- Text
15- Named
16- List
17- Linked
18- LinkedKey
19- LinkedModifier
20- Literal
11+ ResourceNode --> MessageNode
12+ ResourceNode --> PluralNode
13+ PluralNode --> MessageNode
14+ MessageNode --> MessageElementNode
15+ MessageElementNode --> TextNode
16+ MessageElementNode --> NamedNode
17+ MessageElementNode --> ListNode
18+ MessageElementNode --> LiteralNode
19+ MessageElementNode --> LinkedNode
20+ LinkedNode --> LinkedModifierNode
21+ LinkedNode --> LinkedKeyNode
22+ LinkedNode --> NamedNode
23+ LinkedNode --> ListNode
24+ LinkedNode --> LiteralNode
2125```
You can’t perform that action at this time.
0 commit comments