Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c078033

Browse files
committed
Refactor to prefer single quotes
1 parent 7438e60 commit c078033

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

‎readme.md‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Its `value` field is a `string`.
9090

9191
```idl
9292
interface Root <: Parent {
93-
type: "RootNode"
93+
type: 'RootNode'
9494
}
9595
```
9696

@@ -105,8 +105,8 @@ restriction that all content must be of the same category.
105105

106106
```idl
107107
interface Paragraph <: Parent {
108-
type: "ParagraphNode"
109-
children: [Sentence | WhiteSpace | Source]
108+
type: 'ParagraphNode'
109+
children: [Sentence | Source | WhiteSpace]
110110
}
111111
```
112112

@@ -121,8 +121,8 @@ and [**source**][dfn-source] nodes.
121121

122122
```idl
123123
interface Sentence <: Parent {
124-
type: "SentenceNode"
125-
children: [Word | Symbol | Punctuation | WhiteSpace | Source]
124+
type: 'SentenceNode'
125+
children: [Punctuation | Source | Symbol | WhiteSpace | Word]
126126
}
127127
```
128128

@@ -139,8 +139,8 @@ It can contain [**word**][dfn-word], [**symbol**][dfn-symbol],
139139

140140
```idl
141141
interface Word <: Parent {
142-
type: "WordNode"
143-
children: [Text | Symbol | Punctuation | Source]
142+
type: 'WordNode'
143+
children: [Punctuation | Source | Symbol | Text]
144144
}
145145
```
146146

@@ -155,7 +155,7 @@ It can contain [**text**][dfn-text], [**symbol**][dfn-symbol],
155155

156156
```idl
157157
interface Symbol <: Literal {
158-
type: "SymbolNode"
158+
type: 'SymbolNode'
159159
}
160160
```
161161

@@ -170,7 +170,7 @@ nodes.
170170

171171
```idl
172172
interface Punctuation <: Literal {
173-
type: "PunctuationNode"
173+
type: 'PunctuationNode'
174174
}
175175
```
176176

@@ -184,7 +184,7 @@ which aid understanding and correct reading of other grammatical units.
184184

185185
```idl
186186
interface WhiteSpace <: Literal {
187-
type: "WhiteSpaceNode"
187+
type: 'WhiteSpaceNode'
188188
}
189189
```
190190

@@ -198,7 +198,7 @@ devoid of content, separating other units.
198198

199199
```idl
200200
interface Source <: Literal {
201-
type: "SourceNode"
201+
type: 'SourceNode'
202202
}
203203
```
204204

@@ -212,7 +212,7 @@ value embedded into a grammatical unit: a hyperlink, code, and such.
212212

213213
```idl
214214
interface Text <: Literal {
215-
type: "TextNode"
215+
type: 'TextNode'
216216
}
217217
```
218218

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /