21 Commits

Author SHA1 Message Date
ConnorSkees
276134eb93 prefer hashmap over btreemap where ordering is unimportant 2020-03-03 19:51:02 -05:00
ConnorSkees
844b506872 Value operations can fail 2020-02-17 10:27:04 -05:00
ConnorSkees
23b90aa97e Use remove() rather than .get() to avoid a clone 2020-02-16 22:04:54 -05:00
ConnorSkees
26b0f2c998 Add max_args! to most functions 2020-02-16 18:18:57 -05:00
ConnorSkees
f081259b02 Refactor meta builtins 2020-02-16 18:15:56 -05:00
ConnorSkees
d300cd046a Use SassError over Option inside builtins 2020-02-16 10:14:17 -05:00
ConnorSkees
7811a3e056 function-exists searches builtin functions and ignores quotes 2020-02-14 18:41:42 -05:00
ConnorSkees
c7f1941823 Boilerplate for builtin function call() 2020-02-09 15:36:30 -05:00
ConnorSkees
4585558266 Add (variable|function|mixin)-exists builtin functions 2020-02-08 17:41:54 -05:00
ConnorSkees
783e43b765 clippy 2020-02-08 17:03:43 -05:00
ConnorSkees
76b2685894 Lex and parse named colors 2020-02-07 00:10:43 -05:00
ConnorSkees
ed44f125f7 Add builtin function inspect() 2020-02-03 15:18:12 -05:00
ConnorSkees
816688cb84 Implement unitless builtin function 2020-02-03 08:10:55 -05:00
ConnorSkees
901bdcae3b Implement type-of builtin function 2020-02-03 07:56:21 -05:00
ConnorSkees
c92781a20e Add unit function 2020-02-03 07:35:04 -05:00
ConnorSkees
e57a189c77 Handle quotes in feature-exists 2020-02-03 07:27:57 -05:00
ConnorSkees
f82f1f3eee Add feature-exists() builtin function 2020-02-03 07:22:20 -05:00
ConnorSkees
8eb9620a1a Refactor builtin function declaration 2020-02-03 07:11:35 -05:00
ConnorSkees
efc62a2433 Add if() function 2020-02-02 22:33:04 -05:00
ConnorSkees
c7f34f573f newlines in builtin files 2020-02-02 21:09:29 -05:00
ConnorSkees
1c4ad8a7fa Builtin function boilerplate 2020-02-02 18:05:36 -05:00