Connor Skees
|
5902ebd642
|
arg methods are now inherent to CallArgs, rather than parser
|
2020-07-10 21:42:10 -04:00 |
|
Connor Skees
|
1b8e0ebcd2
|
properly recognize arglist of null as null
|
2020-07-08 23:49:30 -04:00 |
|
Connor Skees
|
a823ae7811
|
remove fallible trait impls from SassError
|
2020-07-04 11:27:57 -04:00 |
|
Connor Skees
|
d7fd88dea4
|
properly evaluated builtin fn if when one arg contains an error
|
2020-07-03 15:06:26 -04:00 |
|
Connor Skees
|
596def3906
|
refactor value evaluation
|
2020-07-03 12:38:20 -04:00 |
|
Connor Skees
|
927faf30c6
|
eagerly evaluate call args
|
2020-07-02 16:32:43 -04:00 |
|
Connor Skees
|
a88f07da54
|
allow @content to take arguments
|
2020-07-02 10:31:32 -04:00 |
|
ConnorSkees
|
082d58853b
|
implement special-cased functions min and max
|
2020-06-22 10:11:30 -04:00 |
|
ConnorSkees
|
c1b5ff5730
|
prettify imports
|
2020-06-16 20:00:11 -04:00 |
|
ConnorSkees
|
71dd7df951
|
reimplement parsing
|
2020-06-16 19:38:30 -04:00 |
|
Vincent Prouillet
|
9ae3ce52be
|
Fix fmt + sass
|
2020-05-26 16:29:39 +02:00 |
|
ConnorSkees
|
bb53aaab8a
|
replace std::borrow::Cow with beef::Cow
|
2020-05-25 13:09:20 -04:00 |
|
ConnorSkees
|
6d76e1518a
|
refactor away many unwrap s
|
2020-05-25 00:57:59 -04:00 |
|
ConnorSkees
|
e5cceb60ec
|
track span_before when parsing values
this allows us to remove many panics on invalid input
|
2020-05-24 15:30:06 -04:00 |
|
ConnorSkees
|
f52d784756
|
remove panic from unclosed call args
|
2020-05-24 10:18:15 -04:00 |
|
ConnorSkees
|
737a6ba90d
|
emit proper error on unclosed quote
|
2020-05-24 10:04:30 -04:00 |
|
ConnorSkees
|
042dbfa914
|
remove panics from missing identifiers
|
2020-05-24 08:56:53 -04:00 |
|
ConnorSkees
|
33c5acc35f
|
use Identifier for FuncArg
|
2020-05-22 22:43:29 -04:00 |
|
ConnorSkees
|
7b8b5c233c
|
remove clone in call arg parsing
|
2020-05-22 22:30:14 -04:00 |
|
ConnorSkees
|
22607fb0ef
|
CallArg::Named is backed by Identifier rather than String
|
2020-05-22 22:28:38 -04:00 |
|
ConnorSkees
|
b82be09b95
|
remove panic on invalid fn args
|
2020-05-22 22:06:33 -04:00 |
|
ConnorSkees
|
b58ed29fd0
|
add more span information
this resolves a lot of panics that occurred when there was no more input
|
2020-05-17 00:35:07 -04:00 |
|
ConnorSkees
|
d4f67b5ed9
|
clippy
|
2020-05-16 18:38:37 -04:00 |
|
ConnorSkees
|
0cbdc67f06
|
improve scoping with regard to function variables existing
|
2020-05-13 01:32:29 -04:00 |
|
ConnorSkees
|
2e9cd18a9d
|
document internal fn CallArgs::decrement
|
2020-05-06 12:19:03 -04:00 |
|
ConnorSkees
|
26df276266
|
Value::to_css_string returns a Cow<'static, str>
|
2020-05-05 11:08:34 -04:00 |
|
ConnorSkees
|
56f198f2a7
|
handle () inside default value of function args
|
2020-04-24 23:15:41 -04:00 |
|
ConnorSkees
|
092cbe75bb
|
better error messages in args when missing { after function decl
|
2020-04-24 21:52:09 -04:00 |
|
ConnorSkees
|
0969df8fe5
|
handle url edge case involving ; and no space between before style
|
2020-04-24 19:13:38 -04:00 |
|
ConnorSkees
|
71495cd03b
|
do not strip whitespace after var in call args
|
2020-04-23 13:54:49 -04:00 |
|
ConnorSkees
|
680790c49a
|
replace max_args! macro with builtin method
|
2020-04-22 06:17:52 -04:00 |
|
ConnorSkees
|
3805eaab2b
|
clippy
|
2020-04-21 18:22:26 -04:00 |
|
ConnorSkees
|
4cdcf4f0d4
|
use peekmore rather than std::iter::Peekable
|
2020-04-20 03:45:28 -04:00 |
|
ConnorSkees
|
2b784f273a
|
function arg spans include the entire list
|
2020-04-13 12:20:56 -04:00 |
|
ConnorSkees
|
62f9f7da4f
|
integrate error handling with codemap
|
2020-04-12 19:37:12 -04:00 |
|
ConnorSkees
|
ce346077f9
|
properly parse plain css functions
|
2020-04-06 15:35:46 -04:00 |
|
ConnorSkees
|
44ff1c99b3
|
add helper function Value::from_vec
|
2020-04-06 00:11:18 -04:00 |
|
ConnorSkees
|
b7be1705a2
|
args and default values are lazily evaluated
|
2020-04-04 18:17:04 -04:00 |
|
ConnorSkees
|
051185e280
|
implement builtin function call()
|
2020-04-04 12:31:43 -04:00 |
|
ConnorSkees
|
8e3e23c6cd
|
builtin functions take args by value
|
2020-04-02 13:45:14 -04:00 |
|
ConnorSkees
|
39031aefff
|
initial implementation of varargs
|
2020-04-02 13:33:26 -04:00 |
|
ConnorSkees
|
f9fc0ed8cb
|
differentiate named and positional args
|
2020-04-02 12:28:28 -04:00 |
|
ConnorSkees
|
c16b8f448b
|
parse variadic arguments
|
2020-04-02 12:07:54 -04:00 |
|
ConnorSkees
|
6df6bcf1da
|
refactor value parsing
|
2020-04-01 15:32:52 -04:00 |
|
ConnorSkees
|
c98bc46c10
|
properly handle quotes in function calls
|
2020-03-31 22:11:01 -04:00 |
|
ConnorSkees
|
75b896fe3d
|
handle _ and - args interchangably
|
2020-03-31 01:22:44 -04:00 |
|
ConnorSkees
|
5bbf070b95
|
fn args interchangable hyper underscore
|
2020-03-31 01:15:21 -04:00 |
|
ConnorSkees
|
206c3f8179
|
handle arbitrary parens in function calls
|
2020-03-30 15:07:06 -04:00 |
|
ConnorSkees
|
07505399da
|
remove the lexer
|
2020-03-29 19:42:27 -04:00 |
|
ConnorSkees
|
0ded248e1e
|
allow comma separated bracketed list in function args
|
2020-03-23 23:52:15 -04:00 |
|