Skip to content

Commit 57e030f

Browse files
committed
bump dev deps, enable source links in docs
1 parent 0600673 commit 57e030f

File tree

112 files changed

+863
-629
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+863
-629
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Here is a quick cross-reference to give a general idea how to turn production ru
213213
| character range | | `[a-z]` | `"a".."z"` | [char.charTest](https://mxxii.github.io/peberminta/functions/char.charTest.html) |
214214
| non-terminal | `...` | `...` | `...` | a Parser instance |
215215
| concatenation, sequence | `,` | ` ` | ` ` | [core.all](https://mxxii.github.io/peberminta/functions/core.all.html), [core.ab](https://mxxii.github.io/peberminta/functions/core.ab.html), [core.abc](https://mxxii.github.io/peberminta/functions/core.abc.html) |
216-
| alternation, choice | `\|` | `/` | `\|` | [core.first](https://mxxii.github.io/peberminta/functions/core.first.html), [core.eitherOr](https://mxxii.github.io/peberminta/functions/core.eitherOr.html) |
216+
| alternation, choice | `\|` | `/` | `\|` | [core.first](https://mxxii.github.io/peberminta/functions/core.first.html), [core.eitherOr](https://mxxii.github.io/peberminta/functions/core.eitherOr.html) |
217217
| optional (0 or 1) | `[ ... ]` | `...?` | `...?` | [core.option](https://mxxii.github.io/peberminta/functions/core.option.html) |
218218
| repetition (0 or more) | `{ ... }` | `...*` | `...*` | [core.many](https://mxxii.github.io/peberminta/functions/core.many.html) |
219219
| repetition (1 or more) | `{ ... }-` | `...+` | `...+` | [core.many1](https://mxxii.github.io/peberminta/functions/core.many1.html) |

deno/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Here is a quick cross-reference to give a general idea how to turn production ru
213213
| character range | | `[a-z]` | `"a".."z"` | [char.charTest](https://mxxii.github.io/peberminta/functions/char.charTest.html) |
214214
| non-terminal | `...` | `...` | `...` | a Parser instance |
215215
| concatenation, sequence | `,` | ` ` | ` ` | [core.all](https://mxxii.github.io/peberminta/functions/core.all.html), [core.ab](https://mxxii.github.io/peberminta/functions/core.ab.html), [core.abc](https://mxxii.github.io/peberminta/functions/core.abc.html) |
216-
| alternation, choice | `\|` | `/` | `\|` | [core.first](https://mxxii.github.io/peberminta/functions/core.first.html), [core.eitherOr](https://mxxii.github.io/peberminta/functions/core.eitherOr.html) |
216+
| alternation, choice | `\|` | `/` | `\|` | [core.first](https://mxxii.github.io/peberminta/functions/core.first.html), [core.eitherOr](https://mxxii.github.io/peberminta/functions/core.eitherOr.html) |
217217
| optional (0 or 1) | `[ ... ]` | `...?` | `...?` | [core.option](https://mxxii.github.io/peberminta/functions/core.option.html) |
218218
| repetition (0 or more) | `{ ... }` | `...*` | `...*` | [core.many](https://mxxii.github.io/peberminta/functions/core.many.html) |
219219
| repetition (1 or more) | `{ ... }-` | `...+` | `...+` | [core.many1](https://mxxii.github.io/peberminta/functions/core.many1.html) |

deno/core/ab.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function ab<TToken, TOptions, TValueA, TValueB, TValue> (
3232
* @param i - Parser position in the tokens array (before both matchers matched).
3333
* @param j - Parser position in the tokens array (after both matchers matched).
3434
*/
35-
join: (va: TValueA, vb: TValueB, data: Data<TToken, TOptions>, i: number, j: number) => TValue
35+
join: (va: TValueA, vb: TValueB, data: Data<TToken, TOptions>, i: number, j: number) => TValue,
3636
): Matcher<TToken, TOptions, TValue>;
3737

3838
/**
@@ -64,7 +64,7 @@ export function ab<TToken, TOptions, TValueA, TValueB, TValue> (
6464
* @param i - Parser position in the tokens array (before both parsers matched).
6565
* @param j - Parser position in the tokens array (after both parsers matched).
6666
*/
67-
join: (va: TValueA, vb: TValueB, data: Data<TToken, TOptions>, i: number, j: number) => TValue
67+
join: (va: TValueA, vb: TValueB, data: Data<TToken, TOptions>, i: number, j: number) => TValue,
6868
): Parser<TToken, TOptions, TValue>;
6969

7070
export function ab<TToken, TOptions, TValueA, TValueB, TValue> (

deno/core/abc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function abc<TToken, TOptions, TValueA, TValueB, TValueC, TValue> (
3737
* @param i - Parser position in the tokens array (before all three matchers matched).
3838
* @param j - Parser position in the tokens array (after all three matchers matched).
3939
*/
40-
join: (va: TValueA, vb: TValueB, vc: TValueC, data: Data<TToken, TOptions>, i: number, j: number) => TValue
40+
join: (va: TValueA, vb: TValueB, vc: TValueC, data: Data<TToken, TOptions>, i: number, j: number) => TValue,
4141
): Matcher<TToken, TOptions, TValue>;
4242

4343
/**
@@ -74,7 +74,7 @@ export function abc<TToken, TOptions, TValueA, TValueB, TValueC, TValue> (
7474
* @param i - Parser position in the tokens array (before all three parsers matched).
7575
* @param j - Parser position in the tokens array (after all three parsers matched).
7676
*/
77-
join: (va: TValueA, vb: TValueB, vc: TValueC, data: Data<TToken, TOptions>, i: number, j: number) => TValue
77+
join: (va: TValueA, vb: TValueB, vc: TValueC, data: Data<TToken, TOptions>, i: number, j: number) => TValue,
7878
): Parser<TToken, TOptions, TValue>;
7979

8080
export function abc<TToken, TOptions, TValueA, TValueB, TValueC, TValue> (

deno/core/ahead.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { mapOuter } from './mapOuter.ts';
1010
* @param p - A matcher.
1111
*/
1212
export function ahead<TToken, TOptions, TValue> (
13-
p: Matcher<TToken, TOptions, TValue>
13+
p: Matcher<TToken, TOptions, TValue>,
1414
): Matcher<TToken, TOptions, TValue>;
1515

1616
/**
@@ -19,7 +19,7 @@ export function ahead<TToken, TOptions, TValue> (
1919
* @param p - A parser.
2020
*/
2121
export function ahead<TToken, TOptions, TValue> (
22-
p: Parser<TToken, TOptions, TValue>
22+
p: Parser<TToken, TOptions, TValue>,
2323
): Parser<TToken, TOptions, TValue>;
2424

2525
export function ahead<TToken, TOptions, TValue> (

deno/core/condition.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function condition<TToken, TOptions, TValueA, TValueB> (
2323
/**
2424
* Matcher to run when the condition is false.
2525
*/
26-
pFalse: Matcher<TToken, TOptions, TValueB>
26+
pFalse: Matcher<TToken, TOptions, TValueB>,
2727
): Matcher<TToken, TOptions, TValueA | TValueB>;
2828

2929
/**
@@ -47,7 +47,7 @@ export function condition<TToken, TOptions, TValueA, TValueB> (
4747
/**
4848
* Parser to run when the condition is false.
4949
*/
50-
pFalse: Parser<TToken, TOptions, TValueB>
50+
pFalse: Parser<TToken, TOptions, TValueB>,
5151
): Parser<TToken, TOptions, TValueA | TValueB>;
5252

5353
export function condition<TToken, TOptions, TValueA, TValueB> (

deno/core/decide.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { mapOuter } from './mapOuter.ts';
1414
* If it consumes the input then the returned parser will be called with the new position.
1515
*/
1616
export function decide<TToken, TOptions, TValue> (
17-
p: Matcher<TToken, TOptions, Matcher<TToken, TOptions, TValue>>
17+
p: Matcher<TToken, TOptions, Matcher<TToken, TOptions, TValue>>,
1818
): Matcher<TToken, TOptions, TValue>;
1919

2020
/**
@@ -30,7 +30,7 @@ export function decide<TToken, TOptions, TValue> (
3030
* If it consumes the input then the returned parser will be called with the new position.
3131
*/
3232
export function decide<TToken, TOptions, TValue> (
33-
p: Parser<TToken, TOptions, Parser<TToken, TOptions, TValue>>
33+
p: Parser<TToken, TOptions, Parser<TToken, TOptions, TValue>>,
3434
): Parser<TToken, TOptions, TValue>;
3535

3636
export function decide<TToken, TOptions, TValue> (

deno/core/eitherOr.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import type { Parser } from '../coreTypes/Parser.ts';
2121
*/
2222
export function eitherOr<TToken, TOptions, TValueA, TValueB> (
2323
pa: Parser<TToken, TOptions, TValueA>,
24-
pb: Matcher<TToken, TOptions, TValueB>
24+
pb: Matcher<TToken, TOptions, TValueB>,
2525
): Matcher<TToken, TOptions, TValueA | TValueB>;
2626

2727
/**
@@ -40,7 +40,7 @@ export function eitherOr<TToken, TOptions, TValueA, TValueB> (
4040
*/
4141
export function eitherOr<TToken, TOptions, TValueA, TValueB> (
4242
pa: Parser<TToken, TOptions, TValueA>,
43-
pb: Parser<TToken, TOptions, TValueB>
43+
pb: Parser<TToken, TOptions, TValueB>,
4444
): Parser<TToken, TOptions, TValueA | TValueB>;
4545

4646
export function eitherOr<TToken, TOptions, TValueA, TValueB> (

deno/core/flatten1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { map } from './map.ts';
1212
* @param p - A matcher.
1313
*/
1414
export function flatten1<TToken, TOptions, TValue> (
15-
p: Matcher<TToken, TOptions, (TValue | TValue[])[]>
15+
p: Matcher<TToken, TOptions, (TValue | TValue[])[]>,
1616
): Matcher<TToken, TOptions, TValue[]>;
1717

1818
/**
@@ -24,7 +24,7 @@ export function flatten1<TToken, TOptions, TValue> (
2424
* @param p - A parser.
2525
*/
2626
export function flatten1<TToken, TOptions, TValue> (
27-
p: Parser<TToken, TOptions, (TValue | TValue[])[]>
27+
p: Parser<TToken, TOptions, (TValue | TValue[])[]>,
2828
): Parser<TToken, TOptions, TValue[]>;
2929

3030
export function flatten1<TToken, TOptions, TValue> (

deno/core/left.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { ab } from './ab.ts';
1414
*/
1515
export function left<TToken, TOptions, TValueA, TValueB> (
1616
pa: Matcher<TToken, TOptions, TValueA>,
17-
pb: Matcher<TToken, TOptions, TValueB>
17+
pb: Matcher<TToken, TOptions, TValueB>,
1818
): Matcher<TToken, TOptions, TValueA>;
1919

2020
/**
@@ -30,7 +30,7 @@ export function left<TToken, TOptions, TValueA, TValueB> (
3030
*/
3131
export function left<TToken, TOptions, TValueA, TValueB> (
3232
pa: Parser<TToken, TOptions, TValueA>,
33-
pb: Parser<TToken, TOptions, TValueB>
33+
pb: Parser<TToken, TOptions, TValueB>,
3434
): Parser<TToken, TOptions, TValueA>;
3535

3636
export function left<TToken, TOptions, TValueA, TValueB> (

0 commit comments

Comments
 (0)