summaryrefslogtreecommitdiff
path: root/src/types.ts
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2022-01-08 21:12:20 +0530
committerAkshay Nair <phenax5@gmail.com>2022-01-08 21:12:20 +0530
commite246f2341ee13926f4273c6d634cef4fe07f040e (patch)
tree2dfcbdb24004b85c1a6ab2ed11c211621489c9a3 /src/types.ts
parent61bb1f0c8b109c66d48e678a4d2cf7cb29cf7efb (diff)
downloadelxr-e246f2341ee13926f4273c6d634cef4fe07f040e.tar.gz
elxr-e246f2341ee13926f4273c6d634cef4fe07f040e.zip
feat(parse): implements object property matching parser
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts
index 979745f..07e6e8a 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -16,6 +16,7 @@ type ExprT = {
Truthy: null,
Falsey: null,
Group: { exprs: Expr[] },
+ PropertyMatch: { name: string, exprs: Expr[] },
}
export type Expr = Union<ExprT>