28 Commits

Author SHA1 Message Date
ConnorSkees
624cf06f69 clippy 2020-02-29 16:13:57 -05:00
ConnorSkees
a91ab9007e Rename Token method equals_symbol to is_symbol 2020-02-28 01:01:31 -05:00
ConnorSkees
fba6f2eb73 Properly emit quotes after interpolation 2020-02-24 18:58:09 -05:00
ConnorSkees
465ac1b381 Fix bug where styles after quote were gobbled 2020-02-24 18:11:01 -05:00
ConnorSkees
8c6be57872 Handle curly braces in quotes in styles 2020-02-24 17:47:32 -05:00
ConnorSkees
53861ccb0d clippy 2020-02-22 17:57:13 -05:00
ConnorSkees
735f222e15 Style namespaces can have variables come before them 2020-02-22 16:41:10 -05:00
ConnorSkees
e7de93bd38 Proper error message for undefined variables 2020-02-17 07:55:03 -05:00
ConnorSkees
f817598a9d Refactor error handling 2020-02-16 10:54:25 -05:00
ConnorSkees
7fcfeee97e clippy 2020-02-09 19:07:44 -05:00
ConnorSkees
6bc96aeff4 clippy and rustfmt 2020-02-02 10:27:08 -05:00
ConnorSkees
ea03f71928 Refactor style parsing 2020-02-01 21:59:23 -05:00
ConnorSkees
8e42d73c1e Initial implementation of nested styles 2020-02-01 19:33:56 -05:00
ConnorSkees
3f929066c4 Rename eat_interpolation() to parse_interpolation() 2020-02-01 19:24:37 -05:00
ConnorSkees
9503b3288b Initial implementation of Value 2020-01-25 09:58:53 -05:00
ConnorSkees
30cac02f9c Add IsComment trait and devour_comment utils 2020-01-25 09:54:38 -05:00
ConnorSkees
25b4bebdf8 Make everything private except StyleSheet 2020-01-20 13:15:47 -05:00
ConnorSkees
720b1e9f22 Reduce usage of .clone() 2020-01-18 20:24:28 -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
a74d22cce9 Document some internal enums and structs 2020-01-08 20:58:02 -05:00
ConnorSkees
a3ecfbbf3e Preserve toplevel multiline comments and add tests for them 2020-01-08 20:39:05 -05:00
ConnorSkees
d2f9fc8e78 Reformat imports 2020-01-06 17:06:37 -05:00
ConnorSkees
3ba585b40d Refactor style parsing to separate module 2020-01-06 16:50:16 -05:00