ConnorSkees
e1191d7108
Properly consume mixin declarations and add tests for mixins
2020-01-17 10:44:16 -05:00
ConnorSkees
d4f50c8acc
Remove nesting check in ruleset parsing
2020-01-17 10:43:03 -05:00
ConnorSkees
5b631fb588
don't count chars in comment
2020-01-17 10:38:59 -05:00
ConnorSkees
64c6a35add
Refactor to static functions rather than methods for reusability
2020-01-17 08:14:10 -05:00
ConnorSkees
cbef775ef4
Consolidate tests to be on CSS output rather than internal representation
2020-01-14 20:23:05 -05:00
ConnorSkees
e3968ac047
Refactor out variable eating
2020-01-14 19:34:13 -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
7d469625be
rustfmt
2020-01-12 20:55:24 -05:00
ConnorSkees
4f99e60007
Commit mixin work
2020-01-12 20:15:40 -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
5e58cceae7
Clarify differences between [] and {}
2020-01-12 19:56:33 -05:00
ConnorSkees
107a7d996e
Refactor how scope is handled and basic mixin parsing
2020-01-12 17:44:49 -05:00
ConnorSkees
9b4228f14c
Add > and < ops
2020-01-12 12:18:44 -05:00
ConnorSkees
bd4b38550c
Handle interpolation inside selectors and styles
2020-01-12 10:54:46 -05:00
ConnorSkees
77d5c8ea2e
Lex interpolations
2020-01-12 10:52:51 -05:00
ConnorSkees
fd423ce300
Initial implementation of @debug and @warn
2020-01-11 20:41:36 -05:00
ConnorSkees
42d0fa657f
Remove unused TokenKind variant
2020-01-11 19:39:42 -05:00
ConnorSkees
316156106a
Move Color to separate file and implement fmt::UpperHex
2020-01-11 19:33:21 -05:00
ConnorSkees
c73be13024
Handle pseudo selectors with arguments
2020-01-11 19:16:59 -05:00
ConnorSkees
6746ac1619
Add CSS & bem tests
2020-01-11 18:43:42 -05:00
ConnorSkees
eccb02a426
Importer boilerplate
2020-01-11 18:42:42 -05:00
ConnorSkees
d930659ffe
Remove useless asserts
2020-01-11 18:41:59 -05:00
ConnorSkees
d3620be4d8
Fix css rendering bug where nested styles would get eaten
2020-01-11 17:25:53 -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
dc05c8db2d
Handle several nested blocks
2020-01-09 21:30:21 -05:00
ConnorSkees
31b0ea6b34
Link to structs and enums in docs
2020-01-09 20:56:09 -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
7611dce47a
rustfmt and empty styles css tests
2020-01-07 19:58:38 -05:00
ConnorSkees
fb877fa524
Preserve multiline comments in lexer
2020-01-07 19:58:13 -05:00
ConnorSkees
bc32a5a143
Print file in error
2020-01-07 19:24:37 -05:00
ConnorSkees
8320c3de77
Implement basic at rule parsing and @error
2020-01-07 18:37:28 -05:00
ConnorSkees
46a6fd90f6
rustfmt
2020-01-06 19:23:52 -05:00
ConnorSkees
1d80b00c20
Handle variables on global scope
2020-01-06 19:23:27 -05:00
ConnorSkees
485bb8b94d
Incorporate SassError
2020-01-06 18:55:51 -05:00
ConnorSkees
08ab3261b1
Add more tests for variables
2020-01-06 18:52:37 -05:00
ConnorSkees
bcfd809c92
Fix bug where the entire iterator would be eaten by a comment
2020-01-06 18:45:41 -05:00
ConnorSkees
5688e03b8a
Implement display for Pos
2020-01-06 18:26:32 -05:00
ConnorSkees
26ae7f38b4
Implement basic error handling
2020-01-06 18:26:07 -05:00
ConnorSkees
d2f9fc8e78
Reformat imports
2020-01-06 17:06:37 -05:00
ConnorSkees
ebdb4baf8f
Remove property enum
2020-01-06 17:06:11 -05:00
ConnorSkees
3ba585b40d
Refactor style parsing to separate module
2020-01-06 16:50:16 -05:00
ConnorSkees
3f063709c5
rustfmt
2020-01-06 00:41:15 -05:00
ConnorSkees
f266f2cf0e
Eat whitespace between floating hyphens
2020-01-06 00:40:29 -05:00
ConnorSkees
adc94ffaa5
Lex tokens starting with !
(!important
and !=
)
2020-01-06 00:39:49 -05:00
ConnorSkees
3324a42f49
Add tests for !important and concatenating hyphens
2020-01-06 00:39:02 -05:00