Connor Skees
fb785cf71c
revert "make predicate optional for callers"
...
This reverts commit fda7f340cea60a90031aa8edffd8ab3a06d05992.
This commit made tests fail that it shouldn't have. The performance wins
from this change were negligible, so it is easiest to just revert it and
potentially come back to this change later
2020-08-08 14:36:59 -04:00
Connor Skees
fda7f340ce
make predicate optional for callers
2020-08-08 02:27:54 -04:00
Connor Skees
56030f1292
recognize plain css @import
s beginning with //
2020-08-07 17:44:51 -04:00
Connor Skees
d5b2410a8c
allow multiline comments in more contexts
2020-08-07 11:39:14 -04:00
Connor Skees
074d679cbd
support the @use ... with (...)
syntax
2020-08-06 21:05:40 -04:00
Connor Skees
d029fd2001
implement module mixins and meta.load-css
2020-08-06 03:46:58 -04:00
Connor Skees
d043167015
Merge branch 'master' of https://github.com/connorskees/grass into modules
2020-08-06 01:23:09 -04:00
Connor Skees
3e5f69118b
disallow more at-rules in @function
2020-08-02 23:00:00 -04:00
Connor Skees
a03ad51b71
allow @use
of user-defined modules
2020-07-30 17:21:32 -04:00
Connor Skees
734e0875da
resolve merge conflicts with master
2020-07-29 07:30:20 -04:00
Connor Skees
6631b8ae0e
correctly parse the function filter syntax
2020-07-28 18:09:23 -04:00
Connor Skees
ace9757897
use a predicate to simplify and improve parsing of maps
2020-07-28 01:59:43 -04:00
Connor Skees
3a7a3f508a
initial parsing work for modules
2020-07-25 19:22:12 -04:00
Joe Ling - uni laptop
428599f091
fixed test tempfile naming
2020-07-24 15:40:39 -04:00
Joe Ling - uni laptop
be4d02490c
added comma separated imports
2020-07-24 15:40:34 -04:00
Joe Ling - uni laptop
50d1987af2
Added grass::Options and implemented options.load_paths
2020-07-15 12:37:19 +01:00
Joe Ling - uni laptop
5c20c00d6d
updated comments for import and from_paths
2020-07-13 18:53:53 +01:00
Joe Ling - uni laptop
ec5ab05330
added find_import to import and renamed lib method to from_paths
2020-07-13 18:18:25 +01:00
Joe Ling - uni laptop
33a2c7efbf
fixed fmt and clippy warnings
2020-07-13 16:17:16 +01:00
Joe Ling - uni laptop
afbae12b72
fixed formatting
2020-07-13 15:39:14 +01:00
Joe Ling - uni laptop
fe26350932
Added load_paths for @import
2020-07-13 14:52:52 +01:00
Connor Skees
830d56bd77
only evaluate division in certain cases
2020-07-09 23:52:35 -04:00
Connor Skees
02efd09d80
avoid cloning the entire scope
2020-07-08 17:52:37 -04:00
Connor Skees
e1e643d286
emit @import
when importing a url or .css file
2020-07-06 19:47:12 -04:00
Connor Skees
2fa1804ccd
remove panic on malformed @import
2020-07-06 12:55:34 -04:00
Ivan Tham
85ec26001a
Keep parser context with bitflags
2020-07-05 09:35:42 -04:00
Connor Skees
827225a143
initial implementation of @keyframes
2020-07-04 20:50:53 -04:00
ConnorSkees
1c73e5657a
store reference to @content
2020-06-26 01:02:06 -04:00
ConnorSkees
ac2d15b776
rustfmt
2020-06-22 11:08:28 -04:00
ConnorSkees
c031d42f41
change how filenames beginning with _ are tested for
2020-06-22 10:31:01 -04:00
ConnorSkees
1362d747a4
remove superfuous &mut
2020-06-22 03:19:16 -04:00
ConnorSkees
d01ab0aa7d
remove redundant clones of paths in @import
2020-06-20 15:53:09 -04:00
ConnorSkees
195079de86
initial implementation of @extend
2020-06-20 06:09:12 -04:00
ConnorSkees
854f3c9fb2
refactor @ import
...
based on code review by @pickfire here,
https://github.com/connorskees/grass/pull/13
2020-06-18 18:22:58 -04:00
ConnorSkees
4d068596e3
refactor parsing into multiple files
2020-06-16 22:34:01 -04:00