diff options
| author | Akshay Nair <phenax5@gmail.com> | 2022-01-13 21:20:35 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2022-01-13 21:42:11 +0530 |
| commit | ba94e799aa352c2fd472b694c745388e3e9feee8 (patch) | |
| tree | e27c99304ed0268f6c9f8c438ae1d17dd269557a /src/types.ts | |
| parent | 016821207f1f2294dd09935a4c1d14d78ff3aed1 (diff) | |
| download | elxr-ba94e799aa352c2fd472b694c745388e3e9feee8.tar.gz elxr-ba94e799aa352c2fd472b694c745388e3e9feee8.zip | |
feat(eval): implements or
Diffstat (limited to 'src/types.ts')
| -rw-r--r-- | src/types.ts | 2 |
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>() |
