summaryrefslogtreecommitdiff
path: root/src/declarations.ts
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2023-08-20 12:42:06 +0530
committerAkshay Nair <phenax5@gmail.com>2023-08-20 12:42:06 +0530
commitaf65d13038dcdeaf93c5c718cbc74c20120c6a22 (patch)
treee1d36b54a9c8db4660d61dde03dbcf8d50cde76e /src/declarations.ts
parentf61677bbc3ae32cc460014cffe4d9ae9264291c5 (diff)
downloadcss-everything-af65d13038dcdeaf93c5c718cbc74c20120c6a22.tar.gz
css-everything-af65d13038dcdeaf93c5c718cbc74c20120c6a22.zip
feat: implements function call and adds support for recursion
Diffstat (limited to 'src/declarations.ts')
-rw-r--r--src/declarations.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarations.ts b/src/declarations.ts
index 5c2f9a3..c0966fa 100644
--- a/src/declarations.ts
+++ b/src/declarations.ts
@@ -62,6 +62,7 @@ export const toDeclaration = (expr: Expr): Declaration | undefined => {
_: _ => {},
})
+ // TODO: Refactor with eval
match(map, {
Call: ({ name, args }) => {
if (name !== 'map') return