mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 20:08:20 -07:00
35 lines
529 B
Plaintext
35 lines
529 B
Plaintext
mixin foo
|
|
mixin pet(name)
|
|
|
|
+foo
|
|
+pet('cat')
|
|
|
|
----------------------------------------------------
|
|
|
|
[
|
|
["mixin", [
|
|
["keyword", "mixin"],
|
|
["function", "foo"]
|
|
]],
|
|
["mixin", [
|
|
["keyword", "mixin"],
|
|
["function", "pet"],
|
|
["punctuation", "("],
|
|
"name",
|
|
["punctuation", ")"]
|
|
]],
|
|
|
|
["mixin", [
|
|
["name", "+foo"]
|
|
]],
|
|
["mixin", [
|
|
["name", "+pet"],
|
|
["punctuation", "("],
|
|
["string", "'cat'"],
|
|
["punctuation", ")"]
|
|
]]
|
|
]
|
|
|
|
----------------------------------------------------
|
|
|
|
Checks for mixins declaration and usage. |