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 |
|
ConnorSkees
|
6aae433d21
|
better error message for missing rgb/rgba args
|
2020-03-22 23:28:19 -04:00 |
|
ConnorSkees
|
061694bd63
|
Initial implementation of !global (some issues remain)
|
2020-03-17 20:13:53 -04:00 |
|
ConnorSkees
|
d7b22a41a6
|
Properly handle & in most contexts
|
2020-03-01 12:03:14 -05:00 |
|
ConnorSkees
|
7949699229
|
Handle variables in binary ops in function calls
|
2020-02-29 18:58:09 -05:00 |
|
ConnorSkees
|
a91ab9007e
|
Rename Token method equals_symbol to is_symbol
|
2020-02-28 01:01:31 -05:00 |
|
ConnorSkees
|
53861ccb0d
|
clippy
|
2020-02-22 17:57:13 -05:00 |
|
ConnorSkees
|
585011c621
|
Remove unwrap from FuncArgs
|
2020-02-17 09:29:05 -05:00 |
|
ConnorSkees
|
23b90aa97e
|
Use remove() rather than .get() to avoid a clone
|
2020-02-16 22:04:54 -05:00 |
|
ConnorSkees
|
42cbd685d3
|
Refactor how function call args are parsed
|
2020-02-16 21:34:52 -05:00 |
|
ConnorSkees
|
08bfa8f145
|
Implement one and two args for rgba()
|
2020-02-14 11:52:31 -05:00 |
|
ConnorSkees
|
d6ed0391db
|
Handle function calls in call args
|
2020-02-09 14:27:54 -05:00 |
|
ConnorSkees
|
fa582b3316
|
Treat - and _ as the same in identifiers
|
2020-02-08 17:26:01 -05:00 |
|
ConnorSkees
|
3b3de2d83b
|
Cleanups to make compiler happy
|
2020-02-01 19:39:20 -05:00 |
|
ConnorSkees
|
e2a487a59b
|
Handle comments inside call args
|
2020-01-26 13:53:18 -05:00 |
|