Natalie Weizenbaum
5791e1425a
StringExpression.toString().
2016-10-18 15:52:23 -07:00
Natalie Weizenbaum
e7024437d8
Use Ruby Sass string semantics.
2016-10-18 15:17:46 -07:00
Natalie Weizenbaum
8969fc75f2
Store numbers' original values.
2016-10-17 16:50:43 -07:00
Natalie Weizenbaum
604fa597e5
InternalException -> SassScriptException
2016-10-16 18:46:38 -07:00
Natalie Weizenbaum
3e10e24341
Even more API docs.
2016-10-09 20:57:28 -07:00
Natalie Weizenbaum
3a0c5ce09c
More API docs.
2016-10-09 16:36:36 -07:00
Natalie Weizenbaum
2289901df8
Support url() imports.
2016-10-07 14:05:54 -07:00
Natalie Weizenbaum
6c36a01d89
Support @else.
2016-10-07 14:05:29 -07:00
Natalie Weizenbaum
89e095d2c2
Add a bunch of API docs.
2016-09-30 18:42:41 -07:00
Natalie Weizenbaum
ea4a171198
Fix new analysis issues.
2016-09-30 16:41:22 -07:00
Natalie Weizenbaum
99c83a5834
Partial selector newline support.
...
In particular, newlines in selectors lists are now preserved during
parent selector resolution and emitted by the serializer. The output
matches Ruby Sass, but I'm not sure it's actually the best possible.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
98c5ffae9a
Fix nested selector ordering.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
ae2ab6ec58
Remove outdated TODO.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
f460ebb2a9
Parse functions -> constructors
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
b47067ea4e
Add if().
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
af4234aedd
Add call().
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
754b1895ac
Add selector-unify().
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
10d7da9d73
isBracketed -> hasBrackets
...
This is consistent with SassString.hasQuotes.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
dd8a0efd66
Add an ArgumentList class.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
8bbaf46fe6
Use the tuple package.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
c9af638f54
Support for units
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
bacc1c4529
Unify strings and identifiers.
...
The separation makes sense conceptually, but it would make string
functions a lot harder to write.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
9ac48fbc05
Add support for binary operations.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
bcaaa1103f
UnaryOperatorExpression -> UnaryOperationExpression
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
3329ba80b8
Re-add CssValue.toString().
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
ee7c3e5c3c
Support expression &.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
db0cea9870
Fix some bugs with combinators.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
5e23c99b22
Get rid of more redundant toString() definitions.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
efd336dd20
Support null.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
1832879845
Support @each
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
e873242ac4
Support @while
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
80f0afb484
Support @for.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
202fcad40f
Name all at-rules *Rule.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
f85b21a3c3
Support @error
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
69aabed63d
Support @warn
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
7a5029b5ae
Support @debug.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
60b8aae55f
No more throwing strings.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
987eee5c0a
Support @extend !optional.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
507ae1790a
ExtendRule -> Extend
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
92f657db46
Don't emit placeholders.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
673db13d51
Move emptiness-checking to the serializer.
...
We can't actually know if a rule will be empty until we've evaluated the
entire stylesheet, since it might contain a placeholder that may or may
not be extended.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
cc56ea0f13
Implement CssNode.toString() using toCss().
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
e607e7914f
Support @at-root.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
0fe62a04a6
@supports support.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
cdc3065dfb
Make visitor interfaces wholly abstract.
2016-08-30 15:51:23 -07:00
Natalie Weizenbaum
ffb85921cb
Buggy implementation of CSS @import.
2016-08-30 15:51:23 -07:00
Natalie Weizenbaum
47929dfde3
Support @import.
...
CSS @import is still unsupported.
2016-08-30 15:51:23 -07:00
Natalie Weizenbaum
f1ce6ea599
Format all code.
2016-08-30 15:51:23 -07:00
Natalie Weizenbaum
faa86b697c
Make (most) spans mandatory.
...
Arguments are still optional since they may be constructed for
user-defined arguments.
2016-08-30 15:51:23 -07:00
Natalie Weizenbaum
82aca21682
Add @if.
2016-08-30 15:51:23 -07:00