Debian Codegraph @

tests/languages/stylus/func_feature.test

raw
1 border-radius(n)
2 -webkit-border-radius n
3 -moz-border-radius n
4 border-radius n
5
6 form input[type=button]
7 border-radius(5px)
8 color foo()
9
10 ----------------------------------------------------
11
12 [
13 ["func", [
14 ["function", "border-radius"],
15 ["punctuation", "("],
16 "n",
17 ["punctuation", ")"]
18 ]],
19 ["property-declaration", [
20 ["property", ["-webkit-border-radius"]],
21 " n"
22 ]],
23 ["property-declaration", [
24 ["property", ["-moz-border-radius"]],
25 " n"
26 ]],
27 ["property-declaration", [
28 ["property", ["border-radius"]],
29 " n"
30 ]],
31 ["selector", ["form input[type=button]"]],
32 ["func", [
33 ["function", "border-radius"],
34 ["punctuation", "("],
35 ["number", "5"],
36 ["unit", "px"],
37 ["punctuation", ")"]
38 ]],
39 ["property-declaration", [
40 ["property", ["color"]],
41 ["func", [
42 ["function", "foo"],
43 ["punctuation", "("],
44 ["punctuation", ")"]
45 ]]
46 ]]
47 ]
48
49 ----------------------------------------------------
50
51 Checks for functions.