extra-parser 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -118,7 +118,7 @@ function consumeToken<Token extends IToken = IToken>(
|
|
|
118
118
|
): Token | Falsy
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
### matchAnyOf
|
|
122
122
|
```ts
|
|
123
123
|
function matchAnyOf<
|
|
124
124
|
Token extends IToken = IToken
|
|
@@ -129,7 +129,7 @@ function matchAnyOf<
|
|
|
129
129
|
): Promise<INodePatternMatch<Node> | Falsy>
|
|
130
130
|
```
|
|
131
131
|
|
|
132
|
-
|
|
132
|
+
### matchSequence
|
|
133
133
|
```ts
|
|
134
134
|
function matchSequence<
|
|
135
135
|
Sequence extends ReadonlyArray<Token | Node>
|
|
@@ -141,7 +141,7 @@ function matchSequence<
|
|
|
141
141
|
): Promise<MapSequenceToMatches<Sequence, Token, Node> | Falsy>
|
|
142
142
|
```
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
### matchRepetitions
|
|
145
145
|
```ts
|
|
146
146
|
function matchRepetitions<
|
|
147
147
|
Sequence extends ReadonlyArray<Token | Node>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "extra-parser",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "A functional parser toolkit",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"files": [
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@blackglory/prelude": "^0.1.8",
|
|
54
|
+
"hotypes": "^0.5.1",
|
|
54
55
|
"iterable-operator": "^2.3.0"
|
|
55
56
|
}
|
|
56
57
|
}
|