18 Commits

Author SHA1 Message Date
ConnorSkees
0485256115 Handle basic imports 2020-01-18 15:47:51 -05:00
ConnorSkees
afef31b808 Normalize units in selector 2020-01-18 10:27:02 -05:00
ConnorSkees
2389abaeed Remove unused SelectorKind variant 2020-01-14 17:47:37 -05:00
ConnorSkees
c6fe179eeb Refactor and consolidate interpolation parsing 2020-01-14 17:39:19 -05:00
ConnorSkees
cdbd4ff9a6 Considate variable dereferencing into util function 2020-01-12 20:56:07 -05:00
ConnorSkees
33843dd2ac Refactor various devour_whitespace methods into single util function 2020-01-12 20:15:27 -05:00
ConnorSkees
2439579d20 Initial implementation of @include and mixin eval 2020-01-12 19:56:58 -05:00
ConnorSkees
107a7d996e Refactor how scope is handled and basic mixin parsing 2020-01-12 17:44:49 -05:00
ConnorSkees
bd4b38550c Handle interpolation inside selectors and styles 2020-01-12 10:54:46 -05:00
ConnorSkees
c73be13024 Handle pseudo selectors with arguments 2020-01-11 19:16:59 -05:00
ConnorSkees
97958b01a7 Implement & only inside selectors 2020-01-11 16:12:23 -05:00
ConnorSkees
ebfeb35341 Refactor Selector to be Vec rather than recursive enum
The initial implementation of Selector was a recursive
enum with boxed variants. This new implementation is linear
and relies on only one level of indirection.
2020-01-11 14:51:31 -05:00
ConnorSkees
46a6fd90f6 rustfmt 2020-01-06 19:23:52 -05:00
ConnorSkees
d2f9fc8e78 Reformat imports 2020-01-06 17:06:37 -05:00
ConnorSkees
3f063709c5 rustfmt 2020-01-06 00:41:15 -05:00
ConnorSkees
362a9b4ca2 Move around clones on selectors 2020-01-05 20:55:58 -05:00
ConnorSkees
05d67e404d implement zip method to combine super selectors 2020-01-05 12:25:03 -05:00
ConnorSkees
f4278a29b7 Implement lexing, basic parsing, and pretty printing 2020-01-04 22:55:04 -05:00