+11
-11
lines changedFilter options
+11
-11
lines changed Original file line number Diff line number Diff line change
@@ -89,9 +89,9 @@ Syntactic units in unist syntax trees are called nodes, and implement the
89
89
90
90
```idl
91
91
interface Node {
92
-
type: string;
93
-
data: Data?;
94
-
position: Position?;
92
+
type: string
93
+
data: Data?
94
+
position: Position?
95
95
}
96
96
```
97
97
@@ -121,9 +121,9 @@ For example, in JavaScript, a tree can be passed through
121
121
122
122
```idl
123
123
interface Position {
124
-
start: Point;
125
-
end: Point;
126
-
indent: [number >= 1]?;
124
+
start: Point
125
+
end: Point
126
+
indent: [number >= 1]?
127
127
}
128
128
```
129
129
@@ -161,9 +161,9 @@ end at line `2`, column `6`, offset `11`.
161
161
162
162
```idl
163
163
interface Point {
164
-
line: number >= 1;
165
-
column: number >= 1;
166
-
offset: number >= 0?;
164
+
line: number >= 1
165
+
column: number >= 1
166
+
offset: number >= 0?
167
167
}
168
168
```
169
169
@@ -188,7 +188,7 @@ implementing unist.
188
188
189
189
```idl
190
190
interface Parent <: Node {
191
-
children: [Node];
191
+
children: [Node]
192
192
}
193
193
```
194
194
@@ -201,7 +201,7 @@ The `children` field is a list representing the children of a node.
201
201
202
202
```idl
203
203
interface Literal <: Node {
204
-
value: any;
204
+
value: any
205
205
}
206
206
```
207
207
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4