@@ -90,7 +90,7 @@ Its `value` field is a `string`.
90
90
91
91
``` idl
92
92
interface Root <: Parent {
93
- type: " RootNode"
93
+ type: ' RootNode'
94
94
}
95
95
```
96
96
@@ -105,8 +105,8 @@ restriction that all content must be of the same category.
105
105
106
106
``` idl
107
107
interface Paragraph <: Parent {
108
- type: " ParagraphNode"
109
- children: [Sentence | WhiteSpace | Source ]
108
+ type: ' ParagraphNode'
109
+ children: [Sentence | Source | WhiteSpace ]
110
110
}
111
111
```
112
112
@@ -121,8 +121,8 @@ and [**source**][dfn-source] nodes.
121
121
122
122
``` idl
123
123
interface Sentence <: Parent {
124
- type: " SentenceNode"
125
- children: [Word | Symbol | Punctuation | WhiteSpace | Source ]
124
+ type: ' SentenceNode'
125
+ children: [Punctuation | Source | Symbol | WhiteSpace | Word ]
126
126
}
127
127
```
128
128
@@ -139,8 +139,8 @@ It can contain [**word**][dfn-word], [**symbol**][dfn-symbol],
139
139
140
140
``` idl
141
141
interface Word <: Parent {
142
- type: " WordNode"
143
- children: [Text | Symbol | Punctuation | Source ]
142
+ type: ' WordNode'
143
+ children: [Punctuation | Source | Symbol | Text ]
144
144
}
145
145
```
146
146
@@ -155,7 +155,7 @@ It can contain [**text**][dfn-text], [**symbol**][dfn-symbol],
155
155
156
156
``` idl
157
157
interface Symbol <: Literal {
158
- type: " SymbolNode"
158
+ type: ' SymbolNode'
159
159
}
160
160
```
161
161
@@ -170,7 +170,7 @@ nodes.
170
170
171
171
``` idl
172
172
interface Punctuation <: Literal {
173
- type: " PunctuationNode"
173
+ type: ' PunctuationNode'
174
174
}
175
175
```
176
176
@@ -184,7 +184,7 @@ which aid understanding and correct reading of other grammatical units.
184
184
185
185
``` idl
186
186
interface WhiteSpace <: Literal {
187
- type: " WhiteSpaceNode"
187
+ type: ' WhiteSpaceNode'
188
188
}
189
189
```
190
190
@@ -198,7 +198,7 @@ devoid of content, separating other units.
198
198
199
199
``` idl
200
200
interface Source <: Literal {
201
- type: " SourceNode"
201
+ type: ' SourceNode'
202
202
}
203
203
```
204
204
@@ -212,7 +212,7 @@ value embedded into a grammatical unit: a hyperlink, code, and such.
212
212
213
213
``` idl
214
214
interface Text <: Literal {
215
- type: " TextNode"
215
+ type: ' TextNode'
216
216
}
217
217
```
218
218
0 commit comments