25 Commits

Author SHA1 Message Date
ConnorSkees
8955042359 Remove SCSS unit tests
The behavior tested by them is redundantly tested in the integration
tests. In addition, the behavior inside format.rs is redundant and will
eventually be removed.
2020-04-18 18:46:17 -04:00
ConnorSkees
62f9f7da4f integrate error handling with codemap 2020-04-12 19:37:12 -04:00
ConnorSkees
bc2c927aa7 Properly emit @charset 2020-02-28 18:27:32 -05:00
ConnorSkees
c8e3462e74 placeholder for unknown at rules in Display 2020-02-22 12:00:07 -05:00
ConnorSkees
ff0b05d74a Refactor SassError to live inside error module 2020-02-16 10:08:51 -05:00
ConnorSkees
dafd1f3e0d Refactor internal printing of StyleSheet 2020-02-14 14:55:21 -05:00
ConnorSkees
52c9905b14 Basic implementation of @charset 2020-01-26 15:27:38 -05:00
ConnorSkees
1cd38f0317 Convert errors to strings for pretty printing 2020-01-20 12:13:52 -05:00
ConnorSkees
b25fe63e8e Further reduce usage of .clone() 2020-01-18 21:05:26 -05:00
ConnorSkees
9be0826d01 Refactor how StyleSheet is constructed 2020-01-18 14:57:56 -05:00
ConnorSkees
cbef775ef4 Consolidate tests to be on CSS output rather than internal representation 2020-01-14 20:23:05 -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
a3ecfbbf3e Preserve toplevel multiline comments and add tests for them 2020-01-08 20:39:05 -05:00
ConnorSkees
46a6fd90f6 rustfmt 2020-01-06 19:23:52 -05:00
ConnorSkees
08ab3261b1 Add more tests for variables 2020-01-06 18:52:37 -05:00
ConnorSkees
3ba585b40d Refactor style parsing to separate module 2020-01-06 16:50:16 -05:00
ConnorSkees
3324a42f49 Add tests for !important and concatenating hyphens 2020-01-06 00:39:02 -05:00
ConnorSkees
61a6b5eeeb Refactor handling of styles to handle spaces and quotes 2020-01-05 20:51:14 -05:00
ConnorSkees
e3aae97767 Accept _ and - in identifiers 2020-01-05 20:26:47 -05:00
ConnorSkees
b756973b08 Add variable whitespace tests 2020-01-05 19:47:24 -05:00
ConnorSkees
b0276d8349 Add tests for variables 2020-01-05 19:09:46 -05:00
ConnorSkees
3d0ae02b0a clippy & rustfmt 2020-01-05 12:52:50 -05:00
ConnorSkees
3722ca98a0 Consolidate pretty printing structs 2020-01-05 12:35:37 -05:00
ConnorSkees
197129aa6d Test multiline and deeply nested styles 2020-01-05 12:22:10 -05:00
ConnorSkees
f4278a29b7 Implement lexing, basic parsing, and pretty printing 2020-01-04 22:55:04 -05:00