Skip to content

Commit 0d50799

Browse files
committed
docs
1 parent f437039 commit 0d50799

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

readme.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ License: MIT
7373
- [Epsilon](#Epsilon)
7474
- [Token](#Token)
7575
- [Number](#Number)
76-
- [String](#String)
7776
- [Integer](#Integer)
77+
- [String](#String)
7878
- [BigInt](#BigInt)
7979
- [Ident](#Ident)
8080
- [Mapping](#Mapping)
@@ -257,18 +257,6 @@ const R3 = Runtime.Parse(T, '.1') // const R3 = ['.1', '']
257257
const E = Runtime.Parse(T, '01') // const E = ['0', '1']
258258
```
259259

260-
### String
261-
262-
The String combinator parses quoted string literals, accepting an array of permissible quote characters. The result is the interior string.
263-
264-
```typescript
265-
const T = Runtime.String(['"'])
266-
267-
// ...
268-
269-
const R = Runtime.Parse(T, '"hello"') // const R = ['hello', '']
270-
```
271-
272260
### Integer
273261

274262
Parses a literal integer
@@ -287,6 +275,18 @@ const R3 = Runtime.Parse(T, '.1') // const R3 = []
287275
const E = Runtime.Parse(T, '01') // const E = ['0', '1']
288276
```
289277

278+
### String
279+
280+
The String combinator parses quoted string literals, accepting an array of permissible quote characters. The result is the interior string.
281+
282+
```typescript
283+
const T = Runtime.String(['"'])
284+
285+
// ...
286+
287+
const R = Runtime.Parse(T, '"hello"') // const R = ['hello', '']
288+
```
289+
290290
### BigInt
291291

292292
Parses a literal bigint number. This combinator will succeed if the number is integer and trailed by a `n`. The `n` is omitted from the result.

0 commit comments

Comments
 (0)