aboutsummaryrefslogtreecommitdiff
path: root/src/parser.ts
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2024-01-21 16:12:43 +0530
committerAkshay Nair <phenax5@gmail.com>2024-01-21 16:12:43 +0530
commitc7a137861494edd65d0c8de76ab09f422ab15481 (patch)
tree0aaed5755228ed38cde3ac63dfd8701e7d7442a1 /src/parser.ts
parentf7a4596469d0652f868cad2d97a9edf92f4bc4c7 (diff)
downloadcss-everything-c7a137861494edd65d0c8de76ab09f422ab15481.tar.gz
css-everything-c7a137861494edd65d0c8de76ab09f422ab15481.zip
feat(eval): adds evaluation for simple binop expressions
Diffstat (limited to 'src/parser.ts')
-rw-r--r--src/parser.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.ts b/src/parser.ts
index a2bb577..c2aa30f 100644
--- a/src/parser.ts
+++ b/src/parser.ts
@@ -2,6 +2,7 @@ import { Enum, constructors, match, matchString } from './utils/adt'
import * as P from './utils/parser-comb'
import { Result } from './utils/result'
+// TODO: vh, vw
export type CSSUnit = '' | 's' | 'ms' | 'px' | '%' | 'rem' | 'em'
export type BinOp = '+' | '-' | '*' | '/'