aboutsummaryrefslogtreecommitdiff
path: root/src/types.ts
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2022-01-13 21:20:35 +0530
committerAkshay Nair <phenax5@gmail.com>2022-01-13 21:42:11 +0530
commitba94e799aa352c2fd472b694c745388e3e9feee8 (patch)
treee27c99304ed0268f6c9f8c438ae1d17dd269557a /src/types.ts
parent016821207f1f2294dd09935a4c1d14d78ff3aed1 (diff)
downloadelxr-ba94e799aa352c2fd472b694c745388e3e9feee8.tar.gz
elxr-ba94e799aa352c2fd472b694c745388e3e9feee8.zip
feat(eval): implements or
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.ts b/src/types.ts
index 97ff81d..bc30453 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -16,7 +16,6 @@ export type Expr = Union<{
Optional: { expr: Expr },
OneOrMore: { expr: Expr },
ZeroOrMore: { expr: Expr },
- NextItem: _,
AnyItem: _,
Or: { exprs: Expr[] },
AnyString: _,
@@ -27,6 +26,7 @@ export type Expr = Union<{
Group: { exprs: Expr[] },
PropertyMatch: { name: string, expr: Expr },
Literal: Literal,
+ NextItem: _,
}>
export const Expr = constructors<Expr>()