update components

This commit is contained in:
Luke Pulverenti 2016-02-02 21:12:02 -05:00
parent 5e3ab690af
commit 90eb88f883
1155 changed files with 62261 additions and 84 deletions

View file

@ -0,0 +1,52 @@
div
width 40px
color: red
background: blue;
div {
background-{foo}: bar;
}
div
{foo} bar
----------------------------------------------------
[
["selector", ["div"]],
["property-declaration", [
["property", ["width"]], ["number", "40"], "px"
]],
["property-declaration", [
["property", ["color"]], ["punctuation", ":"], " red"
]],
["property-declaration", [
["property", ["background"]], ["punctuation", ":"], " blue", ["punctuation", ";"]
]],
["selector", ["div ", ["punctuation", "{"]]],
["property-declaration", [
["property", [
"background-",
["interpolation", [
["punctuation", "{"], "foo", ["punctuation", "}"]
]]
]],
["punctuation", ":"],
" bar",
["punctuation", ";"]
]],
["punctuation", "}"],
["selector", ["div"]],
["property-declaration", [
["property", [
["interpolation", [
["punctuation", "{"], "foo", ["punctuation", "}"]
]]
]],
" bar"
]]
]
----------------------------------------------------
Checks for property declarations.