@@ -132,7 +132,7 @@ interface Position {
132132The ` start ` field of ** Position** represents the place of the first character
133133of the parsed source region.
134134The ` end ` field of ** Position** represents the place of the first character
135- after the parsed source region.
135+ after the parsed source region, whether it exists or not .
136136The value of the ` start ` and ` end ` fields implement the [ ** Point** ] [ dfn-point ]
137137interface.
138138
@@ -143,6 +143,20 @@ If the syntactic unit represented by a node is not present in the source
143143[ _ file_ ] [ term-file ] at the time of parsing, the node is said to be
144144[ _ generated_ ] [ term-generated ] and it must not have positional information.
145145
146+ For example, if the following value was represented as unist:
147+
148+ ``` markdown
149+ alpha
150+ bravo
151+ ```
152+
153+ …the first word (` alpha ` ) would start at line ` 1 ` , column ` 1 ` , offset ` 0 ` , and
154+ end at line ` 1 ` , column ` 6 ` , offset ` 5 ` .
155+ The line feed would start at line ` 1 ` , column ` 6 ` , offset ` 5 ` , and end at line
156+ ` 2 ` , column ` 1 ` , offset ` 6 ` .
157+ The last word (` bravo ` ) would start at line ` 2 ` , column ` 1 ` , offset ` 6 ` , and
158+ end at line ` 2 ` , column ` 6 ` , offset ` 11 ` .
159+
146160#### ` Point `
147161
148162``` idl
0 commit comments