1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2016-02-03 18:00:01 -05:00
parent 59ea1c2f7d
commit cf577ba8eb
1136 changed files with 59263 additions and 576 deletions

View file

@ -0,0 +1,13 @@
True
False
----------------------------------------------------
[
["boolean", "True"],
["boolean", "False"]
]
----------------------------------------------------
Checks for booleans.

View file

@ -0,0 +1,15 @@
class Foo
class foobar_42
class _
----------------------------------------------------
[
["keyword", "class"], ["class-name", "Foo"],
["keyword", "class"], ["class-name", "foobar_42"],
["keyword", "class"], ["class-name", "_"]
]
----------------------------------------------------
Checks for class names.

View file

@ -0,0 +1,13 @@
#
# foobar
----------------------------------------------------
[
["comment", "#"],
["comment", "# foobar"]
]
----------------------------------------------------
Checks for comments.

View file

@ -0,0 +1,15 @@
def Foo(
def foo_bar_42(
def _(
----------------------------------------------------
[
["keyword", "def"], ["function", "Foo"], ["punctuation", "("],
["keyword", "def"], ["function", "foo_bar_42"], ["punctuation", "("],
["keyword", "def"], ["function", "_"], ["punctuation", "("]
]
----------------------------------------------------
Checks for functions.

View file

@ -0,0 +1,27 @@
as assert async await
break class;
continue def;
del elif else
except exec finally
for from global if
import in is lambda
pass print raise return
try while with yield
----------------------------------------------------
[
["keyword", "as"], ["keyword", "assert"], ["keyword", "async"], ["keyword", "await"],
["keyword", "break"], ["keyword", "class"], ["punctuation", ";"],
["keyword", "continue"], ["keyword", "def"], ["punctuation", ";"],
["keyword", "del"], ["keyword", "elif"], ["keyword", "else"],
["keyword", "except"], ["keyword", "exec"], ["keyword", "finally"],
["keyword", "for"], ["keyword", "from"], ["keyword", "global"], ["keyword", "if"],
["keyword", "import"], ["keyword", "in"], ["keyword", "is"], ["keyword", "lambda"],
["keyword", "pass"], ["keyword", "print"], ["keyword", "raise"], ["keyword", "return"],
["keyword", "try"], ["keyword", "while"], ["keyword", "with"], ["keyword", "yield"]
]
----------------------------------------------------
Checks for all keywords.

View file

@ -0,0 +1,27 @@
0b0001
0o754
0xBadFace
42
3.14159
2.1E10
0.3e-7
4.8e+1
42j
----------------------------------------------------
[
["number", "0b0001"],
["number", "0o754"],
["number", "0xBadFace"],
["number", "42"],
["number", "3.14159"],
["number", "2.1E10"],
["number", "0.3e-7"],
["number", "4.8e+1"],
["number", "42j"]
]
----------------------------------------------------
Checks for hexadecimal, octal, binary and decimal numbers.

View file

@ -0,0 +1,31 @@
+ +=
- -=
* ** *= **=
/ /= // //=
% %=
< <= <> <<
> >= >>
= ==
!=
& | ^ ~
or and not
----------------------------------------------------
[
["operator", "+"], ["operator", "+="],
["operator", "-"], ["operator", "-="],
["operator", "*"], ["operator", "**"], ["operator", "*="], ["operator", "**="],
["operator", "/"], ["operator", "/="], ["operator", "//"], ["operator", "//="],
["operator", "%"], ["operator", "%="],
["operator", "<"], ["operator", "<="], ["operator", "<>"], ["operator", "<<"],
["operator", ">"], ["operator", ">="], ["operator", ">>"],
["operator", "="], ["operator", "=="],
["operator", "!="],
["operator", "&"], ["operator", "|"], ["operator", "^"], ["operator", "~"],
["operator", "or"], ["operator", "and"], ["operator", "not"]
]
----------------------------------------------------
Checks for all operators.

View file

@ -0,0 +1,17 @@
""
"fo\"obar"
''
'fo\'obar'
----------------------------------------------------
[
["string", "\"\""],
["string", "\"fo\\\"obar\""],
["string", "''"],
["string", "'fo\\'obar'"]
]
----------------------------------------------------
Checks for strings.

View file

@ -0,0 +1,21 @@
"""foobar"""
"""fo"o
#bar
baz"""
'''foobar'''
'''fo'o
#bar
baz'''
----------------------------------------------------
[
["triple-quoted-string", "\"\"\"foobar\"\"\""],
["triple-quoted-string", "\"\"\"fo\"o\r\n#bar\r\nbaz\"\"\""],
["triple-quoted-string", "'''foobar'''"],
["triple-quoted-string", "'''fo'o\r\n#bar\r\nbaz'''"]
]
----------------------------------------------------
Checks for triple-quoted strings.