Linux worldls-302.fr.planethoster.net 4.18.0-553.8.1.lve.el7h.x86_64 #1 SMP Thu Jul 4 15:19:33 UTC 2024 x86_64
LiteSpeed
Server IP : 10.185.0.203 & Your IP : 216.73.217.14
Domains :
Cant Read [ /etc/named.conf ]
User : gerathty
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python2.7 /
site-packages /
pygments /
lexers /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
8.53
KB
-rw-r--r--
2014-11-10 20:17
__init__.pyc
8.81
KB
-rw-r--r--
2016-08-02 10:51
__init__.pyo
8.81
KB
-rw-r--r--
2016-08-02 10:51
_asy_builtins.py
26.68
KB
-rw-r--r--
2014-11-10 20:17
_asy_builtins.pyc
33.16
KB
-rw-r--r--
2016-08-02 10:51
_asy_builtins.pyo
33.16
KB
-rw-r--r--
2016-08-02 10:51
_cl_builtins.py
13.72
KB
-rw-r--r--
2014-11-10 20:17
_cl_builtins.pyc
25.61
KB
-rw-r--r--
2016-08-02 10:51
_cl_builtins.pyo
25.61
KB
-rw-r--r--
2016-08-02 10:51
_cocoa_builtins.py
38.79
KB
-rw-r--r--
2014-11-10 20:17
_cocoa_builtins.pyc
45.31
KB
-rw-r--r--
2016-08-02 10:51
_cocoa_builtins.pyo
45.31
KB
-rw-r--r--
2016-08-02 10:51
_lasso_builtins.py
127.85
KB
-rw-r--r--
2014-11-10 20:17
_lasso_builtins.pyc
118.34
KB
-rw-r--r--
2016-08-02 10:51
_lasso_builtins.pyo
118.34
KB
-rw-r--r--
2016-08-02 10:51
_lua_builtins.py
6.8
KB
-rw-r--r--
2014-11-10 20:17
_lua_builtins.pyc
8.99
KB
-rw-r--r--
2016-08-02 10:51
_lua_builtins.pyo
8.99
KB
-rw-r--r--
2016-08-02 10:51
_mapping.py
44.55
KB
-rw-r--r--
2014-11-10 20:17
_mapping.pyc
64.94
KB
-rw-r--r--
2016-08-02 10:51
_mapping.pyo
64.94
KB
-rw-r--r--
2016-08-02 10:51
_mql_builtins.py
24.16
KB
-rw-r--r--
2014-11-10 20:17
_mql_builtins.pyc
29.02
KB
-rw-r--r--
2016-08-02 10:51
_mql_builtins.pyo
29.02
KB
-rw-r--r--
2016-08-02 10:51
_openedge_builtins.py
47.23
KB
-rw-r--r--
2014-11-10 20:17
_openedge_builtins.pyc
80.16
KB
-rw-r--r--
2016-08-02 10:51
_openedge_builtins.pyo
80.16
KB
-rw-r--r--
2016-08-02 10:51
_php_builtins.py
150.75
KB
-rw-r--r--
2014-11-10 20:17
_php_builtins.pyc
135.12
KB
-rw-r--r--
2016-08-02 10:51
_php_builtins.pyo
135.12
KB
-rw-r--r--
2016-08-02 10:51
_postgres_builtins.py
10.95
KB
-rw-r--r--
2014-11-10 20:17
_postgres_builtins.pyc
13.16
KB
-rw-r--r--
2016-08-02 10:51
_postgres_builtins.pyo
13.16
KB
-rw-r--r--
2016-08-02 10:51
_scilab_builtins.py
51.18
KB
-rw-r--r--
2014-11-10 20:17
_scilab_builtins.pyc
72.28
KB
-rw-r--r--
2016-08-02 10:51
_scilab_builtins.pyo
72.28
KB
-rw-r--r--
2016-08-02 10:51
_sourcemod_builtins.py
26.48
KB
-rw-r--r--
2014-11-10 20:17
_sourcemod_builtins.pyc
31.44
KB
-rw-r--r--
2016-08-02 10:51
_sourcemod_builtins.pyo
31.44
KB
-rw-r--r--
2016-08-02 10:51
_stan_builtins.py
9.16
KB
-rw-r--r--
2015-01-20 07:56
_stan_builtins.pyc
11.26
KB
-rw-r--r--
2016-08-02 10:51
_stan_builtins.pyo
11.26
KB
-rw-r--r--
2016-08-02 10:51
_vim_builtins.py
55.75
KB
-rw-r--r--
2014-11-10 20:17
_vim_builtins.pyc
63.17
KB
-rw-r--r--
2016-08-02 10:51
_vim_builtins.pyo
63.17
KB
-rw-r--r--
2016-08-02 10:51
actionscript.py
10.92
KB
-rw-r--r--
2014-11-10 20:17
actionscript.pyc
11.51
KB
-rw-r--r--
2016-08-02 10:51
actionscript.pyo
11.51
KB
-rw-r--r--
2016-08-02 10:51
agile.py
900
B
-rw-r--r--
2014-11-10 20:17
agile.pyc
1.4
KB
-rw-r--r--
2016-08-02 10:51
agile.pyo
1.4
KB
-rw-r--r--
2016-08-02 10:51
algebra.py
6.02
KB
-rw-r--r--
2014-11-10 20:17
algebra.pyc
6.75
KB
-rw-r--r--
2016-08-02 10:51
algebra.pyo
6.75
KB
-rw-r--r--
2016-08-02 10:51
ambient.py
2.5
KB
-rw-r--r--
2014-11-10 20:17
ambient.pyc
2.87
KB
-rw-r--r--
2016-08-02 10:51
ambient.pyo
2.87
KB
-rw-r--r--
2016-08-02 10:51
apl.py
3.09
KB
-rw-r--r--
2014-11-10 20:17
apl.pyc
1.99
KB
-rw-r--r--
2016-08-02 10:51
apl.pyo
1.99
KB
-rw-r--r--
2016-08-02 10:51
asm.py
14.25
KB
-rw-r--r--
2014-11-10 20:17
asm.pyc
12.46
KB
-rw-r--r--
2016-08-02 10:51
asm.pyo
12.46
KB
-rw-r--r--
2016-08-02 10:51
automation.py
19.17
KB
-rw-r--r--
2014-11-10 20:17
automation.pyc
16.58
KB
-rw-r--r--
2016-08-02 10:51
automation.pyo
16.58
KB
-rw-r--r--
2016-08-02 10:51
basic.py
19.83
KB
-rw-r--r--
2014-11-10 20:17
basic.pyc
17.8
KB
-rw-r--r--
2016-08-02 10:51
basic.pyo
17.8
KB
-rw-r--r--
2016-08-02 10:51
business.py
26.07
KB
-rw-r--r--
2014-11-10 20:17
business.pyc
24.59
KB
-rw-r--r--
2016-08-02 10:51
business.pyo
24.59
KB
-rw-r--r--
2016-08-02 10:51
c_cpp.py
9.19
KB
-rw-r--r--
2014-11-10 20:17
c_cpp.pyc
8.84
KB
-rw-r--r--
2016-08-02 10:51
c_cpp.pyo
8.84
KB
-rw-r--r--
2016-08-02 10:51
c_like.py
15.8
KB
-rw-r--r--
2014-11-10 20:17
c_like.pyc
17.26
KB
-rw-r--r--
2016-08-02 10:51
c_like.pyo
17.26
KB
-rw-r--r--
2016-08-02 10:51
chapel.py
3.26
KB
-rw-r--r--
2014-11-10 20:17
chapel.pyc
3.22
KB
-rw-r--r--
2016-08-02 10:51
chapel.pyo
3.22
KB
-rw-r--r--
2016-08-02 10:51
compiled.py
1.3
KB
-rw-r--r--
2014-11-10 20:17
compiled.pyc
2.07
KB
-rw-r--r--
2016-08-02 10:51
compiled.pyo
2.07
KB
-rw-r--r--
2016-08-02 10:51
configs.py
19.58
KB
-rw-r--r--
2014-11-10 20:17
configs.pyc
19.19
KB
-rw-r--r--
2016-08-02 10:51
configs.pyo
19.19
KB
-rw-r--r--
2016-08-02 10:51
console.py
4.02
KB
-rw-r--r--
2014-11-14 18:47
console.pyc
3.85
KB
-rw-r--r--
2016-08-02 10:51
console.pyo
3.85
KB
-rw-r--r--
2016-08-02 10:51
css.py
23.58
KB
-rw-r--r--
2014-11-10 20:17
css.pyc
28.89
KB
-rw-r--r--
2016-08-02 10:51
css.pyo
28.89
KB
-rw-r--r--
2016-08-02 10:51
d.py
9.31
KB
-rw-r--r--
2014-11-10 20:17
d.pyc
7.94
KB
-rw-r--r--
2016-08-02 10:51
d.pyo
7.94
KB
-rw-r--r--
2016-08-02 10:51
dalvik.py
4.32
KB
-rw-r--r--
2014-11-10 20:17
dalvik.pyc
3.71
KB
-rw-r--r--
2016-08-02 10:51
dalvik.pyo
3.71
KB
-rw-r--r--
2016-08-02 10:51
data.py
17.85
KB
-rw-r--r--
2015-01-20 07:47
data.pyc
11.92
KB
-rw-r--r--
2016-08-02 10:51
data.pyo
11.92
KB
-rw-r--r--
2016-08-02 10:51
diff.py
3.17
KB
-rw-r--r--
2014-11-10 20:17
diff.pyc
3.26
KB
-rw-r--r--
2016-08-02 10:51
diff.pyo
3.26
KB
-rw-r--r--
2016-08-02 10:51
dotnet.py
26.66
KB
-rw-r--r--
2014-11-14 18:47
dotnet.pyc
22.08
KB
-rw-r--r--
2016-08-02 10:51
dotnet.pyo
22.08
KB
-rw-r--r--
2016-08-02 10:51
dsls.py
18.33
KB
-rw-r--r--
2014-11-10 20:17
dsls.pyc
17.78
KB
-rw-r--r--
2016-08-02 10:51
dsls.pyo
17.78
KB
-rw-r--r--
2016-08-02 10:51
dylan.py
10.18
KB
-rw-r--r--
2014-11-10 20:17
dylan.pyc
11.31
KB
-rw-r--r--
2016-08-02 10:51
dylan.pyo
11.31
KB
-rw-r--r--
2016-08-02 10:51
ecl.py
5.74
KB
-rw-r--r--
2014-11-10 20:17
ecl.pyc
6.76
KB
-rw-r--r--
2016-08-02 10:51
ecl.pyo
6.76
KB
-rw-r--r--
2016-08-02 10:51
eiffel.py
2.42
KB
-rw-r--r--
2014-11-10 20:17
eiffel.pyc
2.96
KB
-rw-r--r--
2016-08-02 10:51
eiffel.pyo
2.96
KB
-rw-r--r--
2016-08-02 10:51
erlang.py
17.77
KB
-rw-r--r--
2014-11-10 20:17
erlang.pyc
16.98
KB
-rw-r--r--
2016-08-02 10:51
erlang.pyo
16.98
KB
-rw-r--r--
2016-08-02 10:51
esoteric.py
3.38
KB
-rw-r--r--
2014-11-10 20:17
esoteric.pyc
3.46
KB
-rw-r--r--
2016-08-02 10:51
esoteric.pyo
3.46
KB
-rw-r--r--
2016-08-02 10:51
factor.py
17.45
KB
-rw-r--r--
2014-11-10 20:17
factor.pyc
23.89
KB
-rw-r--r--
2016-08-02 10:51
factor.pyo
23.89
KB
-rw-r--r--
2016-08-02 10:51
fantom.py
9.75
KB
-rw-r--r--
2014-11-10 20:17
fantom.pyc
5.9
KB
-rw-r--r--
2016-08-02 10:51
fantom.pyo
5.9
KB
-rw-r--r--
2016-08-02 10:51
felix.py
9.19
KB
-rw-r--r--
2014-11-10 20:17
felix.pyc
7.94
KB
-rw-r--r--
2016-08-02 10:51
felix.pyo
7.94
KB
-rw-r--r--
2016-08-02 10:51
fortran.py
8.26
KB
-rw-r--r--
2014-11-10 20:17
fortran.pyc
9.78
KB
-rw-r--r--
2016-08-02 10:51
fortran.pyo
9.78
KB
-rw-r--r--
2016-08-02 10:51
foxpro.py
25.62
KB
-rw-r--r--
2014-11-10 20:17
foxpro.pyc
19.9
KB
-rw-r--r--
2016-08-02 10:51
foxpro.pyo
19.9
KB
-rw-r--r--
2016-08-02 10:51
functional.py
687
B
-rw-r--r--
2014-11-10 20:17
functional.pyc
1.05
KB
-rw-r--r--
2016-08-02 10:51
functional.pyo
1.05
KB
-rw-r--r--
2016-08-02 10:51
go.py
3.61
KB
-rw-r--r--
2014-11-10 20:17
go.pyc
3.47
KB
-rw-r--r--
2016-08-02 10:51
go.pyo
3.47
KB
-rw-r--r--
2016-08-02 10:51
graph.py
2.24
KB
-rw-r--r--
2014-11-10 20:17
graph.pyc
2.29
KB
-rw-r--r--
2016-08-02 10:51
graph.pyo
2.29
KB
-rw-r--r--
2016-08-02 10:51
graphics.py
25.23
KB
-rw-r--r--
2014-11-10 20:17
graphics.pyc
24.04
KB
-rw-r--r--
2016-08-02 10:51
graphics.pyo
24.04
KB
-rw-r--r--
2016-08-02 10:51
haskell.py
30.28
KB
-rw-r--r--
2014-11-10 20:17
haskell.pyc
23.78
KB
-rw-r--r--
2016-08-02 10:51
haskell.pyo
23.78
KB
-rw-r--r--
2016-08-02 10:51
haxe.py
30.23
KB
-rw-r--r--
2014-11-10 20:17
haxe.pyc
18.45
KB
-rw-r--r--
2016-08-02 10:51
haxe.pyo
18.45
KB
-rw-r--r--
2016-08-02 10:51
hdl.py
17.82
KB
-rw-r--r--
2014-11-10 20:17
hdl.pyc
20.02
KB
-rw-r--r--
2016-08-02 10:51
hdl.pyo
20.02
KB
-rw-r--r--
2016-08-02 10:51
html.py
18.18
KB
-rw-r--r--
2014-11-10 20:17
html.pyc
14.82
KB
-rw-r--r--
2016-08-02 10:51
html.pyo
14.82
KB
-rw-r--r--
2016-08-02 10:51
idl.py
14.19
KB
-rw-r--r--
2014-11-10 20:17
idl.pyc
18.69
KB
-rw-r--r--
2016-08-02 10:51
idl.pyo
18.69
KB
-rw-r--r--
2016-08-02 10:51
igor.py
16.47
KB
-rw-r--r--
2014-11-10 20:17
igor.pyc
20.75
KB
-rw-r--r--
2016-08-02 10:51
igor.pyo
20.75
KB
-rw-r--r--
2016-08-02 10:51
inferno.py
3.04
KB
-rw-r--r--
2014-11-10 20:17
inferno.pyc
2.92
KB
-rw-r--r--
2016-08-02 10:51
inferno.pyo
2.92
KB
-rw-r--r--
2016-08-02 10:51
installers.py
12.56
KB
-rw-r--r--
2014-11-10 20:17
installers.pyc
10.6
KB
-rw-r--r--
2016-08-02 10:51
installers.pyo
10.6
KB
-rw-r--r--
2016-08-02 10:51
int_fiction.py
54.42
KB
-rw-r--r--
2014-11-10 20:17
int_fiction.pyc
35.32
KB
-rw-r--r--
2016-08-02 10:51
int_fiction.pyo
35.32
KB
-rw-r--r--
2016-08-02 10:51
iolang.py
1.86
KB
-rw-r--r--
2014-11-10 20:17
iolang.pyc
1.94
KB
-rw-r--r--
2016-08-02 10:51
iolang.pyo
1.94
KB
-rw-r--r--
2016-08-02 10:51
javascript.py
46.41
KB
-rw-r--r--
2014-11-14 18:47
javascript.pyc
31.97
KB
-rw-r--r--
2016-08-02 10:51
javascript.pyo
31.97
KB
-rw-r--r--
2016-08-02 10:51
julia.py
6.25
KB
-rw-r--r--
2014-11-10 20:17
julia.pyc
5.66
KB
-rw-r--r--
2016-08-02 10:51
julia.pyo
5.66
KB
-rw-r--r--
2016-08-02 10:51
jvm.py
64.51
KB
-rw-r--r--
2014-11-10 20:17
jvm.pyc
50.54
KB
-rw-r--r--
2016-08-02 10:51
jvm.pyo
50.54
KB
-rw-r--r--
2016-08-02 10:51
lisp.py
76.79
KB
-rw-r--r--
2014-11-10 20:17
lisp.pyc
117.79
KB
-rw-r--r--
2016-08-02 10:51
lisp.pyo
117.79
KB
-rw-r--r--
2016-08-02 10:51
make.py
7.08
KB
-rw-r--r--
2014-11-10 20:17
make.pyc
5.32
KB
-rw-r--r--
2016-08-02 10:51
make.pyo
5.32
KB
-rw-r--r--
2016-08-02 10:51
markup.py
16.49
KB
-rw-r--r--
2014-11-10 20:17
markup.pyc
14.96
KB
-rw-r--r--
2016-08-02 10:51
markup.pyo
14.96
KB
-rw-r--r--
2016-08-02 10:51
math.py
700
B
-rw-r--r--
2014-11-10 20:17
math.pyc
1.09
KB
-rw-r--r--
2016-08-02 10:51
math.pyo
1.09
KB
-rw-r--r--
2016-08-02 10:51
matlab.py
28.46
KB
-rw-r--r--
2014-11-10 20:17
matlab.pyc
32.44
KB
-rw-r--r--
2016-08-02 10:51
matlab.pyo
32.44
KB
-rw-r--r--
2016-08-02 10:51
ml.py
27.24
KB
-rw-r--r--
2014-11-10 20:17
ml.pyc
15.28
KB
-rw-r--r--
2016-08-02 10:51
ml.pyo
15.28
KB
-rw-r--r--
2016-08-02 10:51
modeling.py
12.44
KB
-rw-r--r--
2015-01-20 07:56
modeling.pyc
11.1
KB
-rw-r--r--
2016-08-02 10:51
modeling.pyo
11.1
KB
-rw-r--r--
2016-08-02 10:51
nimrod.py
4.99
KB
-rw-r--r--
2014-11-10 20:17
nimrod.pyc
4.65
KB
-rw-r--r--
2016-08-02 10:51
nimrod.pyo
4.65
KB
-rw-r--r--
2016-08-02 10:51
nit.py
2.68
KB
-rw-r--r--
2014-11-10 20:17
nit.pyc
3.05
KB
-rw-r--r--
2016-08-02 10:51
nit.pyo
3.05
KB
-rw-r--r--
2016-08-02 10:51
nix.py
3.94
KB
-rw-r--r--
2014-11-10 20:17
nix.pyc
4.28
KB
-rw-r--r--
2016-08-02 10:51
nix.pyo
4.28
KB
-rw-r--r--
2016-08-02 10:51
objective.py
22.03
KB
-rw-r--r--
2014-11-14 08:55
objective.pyc
19.77
KB
-rw-r--r--
2016-08-02 10:51
objective.pyo
19.77
KB
-rw-r--r--
2016-08-02 10:51
ooc.py
2.93
KB
-rw-r--r--
2014-11-10 20:17
ooc.pyc
3.03
KB
-rw-r--r--
2016-08-02 10:51
ooc.pyo
3.03
KB
-rw-r--r--
2016-08-02 10:51
other.py
1.68
KB
-rw-r--r--
2014-11-10 20:17
other.pyc
2.64
KB
-rw-r--r--
2016-08-02 10:51
other.pyo
2.64
KB
-rw-r--r--
2016-08-02 10:51
parsers.py
26.94
KB
-rw-r--r--
2014-11-10 20:17
parsers.pyc
23.14
KB
-rw-r--r--
2016-08-02 10:51
parsers.pyo
23.14
KB
-rw-r--r--
2016-08-02 10:51
pascal.py
39.47
KB
-rw-r--r--
2014-11-10 20:17
pascal.pyc
35.67
KB
-rw-r--r--
2016-08-02 10:51
pascal.pyo
35.67
KB
-rw-r--r--
2016-08-02 10:51
pawn.py
7.9
KB
-rw-r--r--
2014-11-10 20:17
pawn.pyc
7.19
KB
-rw-r--r--
2016-08-02 10:51
pawn.pyo
7.19
KB
-rw-r--r--
2016-08-02 10:51
perl.py
30.82
KB
-rw-r--r--
2014-11-10 20:17
perl.pyc
30.63
KB
-rw-r--r--
2016-08-02 10:51
perl.pyo
30.63
KB
-rw-r--r--
2016-08-02 10:51
php.py
9.54
KB
-rw-r--r--
2014-11-10 20:17
php.pyc
8.6
KB
-rw-r--r--
2016-08-02 10:51
php.pyo
8.6
KB
-rw-r--r--
2016-08-02 10:51
prolog.py
11.76
KB
-rw-r--r--
2014-11-10 20:17
prolog.pyc
8.03
KB
-rw-r--r--
2016-08-02 10:51
prolog.pyo
8.03
KB
-rw-r--r--
2016-08-02 10:51
python.py
35.37
KB
-rw-r--r--
2015-01-20 07:56
python.pyc
35.33
KB
-rw-r--r--
2016-08-02 10:51
python.pyo
35.33
KB
-rw-r--r--
2016-08-02 10:51
r.py
23.2
KB
-rw-r--r--
2014-11-10 20:17
r.pyc
33.3
KB
-rw-r--r--
2016-08-02 10:51
r.pyo
33.3
KB
-rw-r--r--
2016-08-02 10:51
rdf.py
3.7
KB
-rw-r--r--
2014-11-10 20:17
rdf.pyc
3.29
KB
-rw-r--r--
2016-08-02 10:51
rdf.pyo
3.29
KB
-rw-r--r--
2016-08-02 10:51
rebol.py
18.18
KB
-rw-r--r--
2014-11-10 20:17
rebol.pyc
13.49
KB
-rw-r--r--
2016-08-02 10:51
rebol.pyo
13.49
KB
-rw-r--r--
2016-08-02 10:51
resource.py
2.84
KB
-rw-r--r--
2014-11-10 20:17
resource.pyc
2.85
KB
-rw-r--r--
2016-08-02 10:51
resource.pyo
2.85
KB
-rw-r--r--
2016-08-02 10:51
robotframework.py
18.2
KB
-rw-r--r--
2014-11-10 20:17
robotframework.pyc
25.04
KB
-rw-r--r--
2016-08-02 10:51
robotframework.pyo
25.04
KB
-rw-r--r--
2016-08-02 10:51
ruby.py
21.62
KB
-rw-r--r--
2014-11-10 20:17
ruby.pyc
17.14
KB
-rw-r--r--
2016-08-02 10:51
ruby.pyo
17.14
KB
-rw-r--r--
2016-08-02 10:51
rust.py
7.04
KB
-rw-r--r--
2014-11-10 20:17
rust.pyc
6.76
KB
-rw-r--r--
2016-08-02 10:51
rust.pyo
6.76
KB
-rw-r--r--
2016-08-02 10:51
scripting.py
54.28
KB
-rw-r--r--
2014-11-10 20:17
scripting.pyc
59.24
KB
-rw-r--r--
2016-08-02 10:51
scripting.pyo
59.24
KB
-rw-r--r--
2016-08-02 10:51
shell.py
15.42
KB
-rw-r--r--
2014-11-10 20:17
shell.pyc
12.79
KB
-rw-r--r--
2016-08-02 10:51
shell.pyo
12.79
KB
-rw-r--r--
2016-08-02 10:51
smalltalk.py
7.05
KB
-rw-r--r--
2014-11-10 20:17
smalltalk.pyc
5.24
KB
-rw-r--r--
2016-08-02 10:51
smalltalk.pyo
5.24
KB
-rw-r--r--
2016-08-02 10:51
snobol.py
2.69
KB
-rw-r--r--
2014-11-10 20:17
snobol.pyc
2.27
KB
-rw-r--r--
2016-08-02 10:51
snobol.pyo
2.27
KB
-rw-r--r--
2016-08-02 10:51
special.py
3
KB
-rw-r--r--
2014-11-10 20:17
special.pyc
3.66
KB
-rw-r--r--
2016-08-02 10:51
special.pyo
3.66
KB
-rw-r--r--
2016-08-02 10:51
sql.py
25.32
KB
-rw-r--r--
2014-11-10 20:17
sql.pyc
26.32
KB
-rw-r--r--
2016-08-02 10:51
sql.pyo
26.26
KB
-rw-r--r--
2016-08-02 10:51
tcl.py
5.27
KB
-rw-r--r--
2014-11-10 20:17
tcl.pyc
5.27
KB
-rw-r--r--
2016-08-02 10:51
tcl.pyo
5.27
KB
-rw-r--r--
2016-08-02 10:51
templates.py
68.1
KB
-rw-r--r--
2014-11-14 18:47
templates.pyc
71.67
KB
-rw-r--r--
2016-08-02 10:51
templates.pyo
71.67
KB
-rw-r--r--
2016-08-02 10:51
testing.py
8.5
KB
-rw-r--r--
2014-11-10 20:17
testing.pyc
7.25
KB
-rw-r--r--
2016-08-02 10:51
testing.pyo
7.25
KB
-rw-r--r--
2016-08-02 10:51
text.py
977
B
-rw-r--r--
2014-11-10 20:17
text.pyc
1.54
KB
-rw-r--r--
2016-08-02 10:51
text.pyo
1.54
KB
-rw-r--r--
2016-08-02 10:51
textedit.py
5.92
KB
-rw-r--r--
2014-11-10 20:17
textedit.pyc
5.79
KB
-rw-r--r--
2016-08-02 10:51
textedit.pyo
5.79
KB
-rw-r--r--
2016-08-02 10:51
textfmts.py
10.39
KB
-rw-r--r--
2015-01-20 07:56
textfmts.pyc
8.15
KB
-rw-r--r--
2016-08-02 10:51
textfmts.pyo
8.15
KB
-rw-r--r--
2016-08-02 10:51
theorem.py
19.14
KB
-rw-r--r--
2015-01-20 07:56
theorem.pyc
21.08
KB
-rw-r--r--
2016-08-02 10:51
theorem.pyo
21.08
KB
-rw-r--r--
2016-08-02 10:51
urbi.py
5.62
KB
-rw-r--r--
2014-11-10 20:17
urbi.pyc
5.6
KB
-rw-r--r--
2016-08-02 10:51
urbi.pyo
5.6
KB
-rw-r--r--
2016-08-02 10:51
web.py
918
B
-rw-r--r--
2014-11-10 20:17
web.pyc
1.4
KB
-rw-r--r--
2016-08-02 10:51
web.pyo
1.4
KB
-rw-r--r--
2016-08-02 10:51
webmisc.py
35.06
KB
-rw-r--r--
2014-11-10 20:17
webmisc.pyc
26.94
KB
-rw-r--r--
2016-08-02 10:51
webmisc.pyo
26.94
KB
-rw-r--r--
2016-08-02 10:51
Save
Rename
# -*- coding: utf-8 -*- """ pygments.lexers.javascript ~~~~~~~~~~~~~~~~~~~~~~~~~~ Lexers for JavaScript and related languages. :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re from pygments.lexer import RegexLexer, include, bygroups, default, using, this from pygments.token import Text, Comment, Operator, Keyword, Name, String, \ Number, Punctuation, Other from pygments.util import get_bool_opt, iteritems import pygments.unistring as uni __all__ = ['JavascriptLexer', 'KalLexer', 'LiveScriptLexer', 'DartLexer', 'TypeScriptLexer', 'LassoLexer', 'ObjectiveJLexer', 'CoffeeScriptLexer', 'MaskLexer'] JS_IDENT_START = ('(?:[$_' + uni.combine('Lu', 'Ll', 'Lt', 'Lm', 'Lo', 'Nl') + ']|\\\\u[a-fA-F0-9]{4})') JS_IDENT_PART = ('(?:[$' + uni.combine('Lu', 'Ll', 'Lt', 'Lm', 'Lo', 'Nl', 'Mn', 'Mc', 'Nd', 'Pc') + u'\u200c\u200d]|\\\\u[a-fA-F0-9]{4})') JS_IDENT = JS_IDENT_START + '(?:' + JS_IDENT_PART + ')*' class JavascriptLexer(RegexLexer): """ For JavaScript source code. """ name = 'JavaScript' aliases = ['js', 'javascript'] filenames = ['*.js', ] mimetypes = ['application/javascript', 'application/x-javascript', 'text/x-javascript', 'text/javascript', ] flags = re.DOTALL | re.UNICODE | re.MULTILINE tokens = { 'commentsandwhitespace': [ (r'\s+', Text), (r'<!--', Comment), (r'//.*?\n', Comment.Single), (r'/\*.*?\*/', Comment.Multiline) ], 'slashstartsregex': [ include('commentsandwhitespace'), (r'/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/' r'([gim]+\b|\B)', String.Regex, '#pop'), (r'(?=/)', Text, ('#pop', 'badregex')), default('#pop') ], 'badregex': [ (r'\n', Text, '#pop') ], 'root': [ (r'\A#! ?/.*?\n', Comment), # shebang lines are recognized by node.js (r'^(?=\s|/|<!--)', Text, 'slashstartsregex'), include('commentsandwhitespace'), (r'\+\+|--|~|&&|\?|:|\|\||\\(?=\n)|' r'(<<|>>>?|==?|!=?|[-<>+*%&|^/])=?', Operator, 'slashstartsregex'), (r'[{(\[;,]', Punctuation, 'slashstartsregex'), (r'[})\].]', Punctuation), (r'(for|in|while|do|break|return|continue|switch|case|default|if|else|' r'throw|try|catch|finally|new|delete|typeof|instanceof|void|yield|' r'this)\b', Keyword, 'slashstartsregex'), (r'(var|let|with|function)\b', Keyword.Declaration, 'slashstartsregex'), (r'(abstract|boolean|byte|char|class|const|debugger|double|enum|export|' r'extends|final|float|goto|implements|import|int|interface|long|native|' r'package|private|protected|public|short|static|super|synchronized|throws|' r'transient|volatile)\b', Keyword.Reserved), (r'(true|false|null|NaN|Infinity|undefined)\b', Keyword.Constant), (r'(Array|Boolean|Date|Error|Function|Math|netscape|' r'Number|Object|Packages|RegExp|String|sun|decodeURI|' r'decodeURIComponent|encodeURI|encodeURIComponent|' r'Error|eval|isFinite|isNaN|parseFloat|parseInt|document|this|' r'window)\b', Name.Builtin), (JS_IDENT, Name.Other), (r'[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?', Number.Float), (r'0x[0-9a-fA-F]+', Number.Hex), (r'[0-9]+', Number.Integer), (r'"(\\\\|\\"|[^"])*"', String.Double), (r"'(\\\\|\\'|[^'])*'", String.Single), ] } class KalLexer(RegexLexer): """ For `Kal`_ source code. .. _Kal: http://rzimmerman.github.io/kal .. versionadded:: 2.0 """ name = 'Kal' aliases = ['kal'] filenames = ['*.kal'] mimetypes = ['text/kal', 'application/kal'] flags = re.DOTALL tokens = { 'commentsandwhitespace': [ (r'\s+', Text), (r'###[^#].*?###', Comment.Multiline), (r'#(?!##[^#]).*?\n', Comment.Single), ], 'functiondef': [ (r'[$a-zA-Z_][\w$]*\s*', Name.Function, '#pop'), include('commentsandwhitespace'), ], 'classdef': [ (r'\binherits\s+from\b', Keyword), (r'[$a-zA-Z_][\w$]*\s*\n', Name.Class, '#pop'), (r'[$a-zA-Z_][\w$]*\s*', Name.Class), include('commentsandwhitespace'), ], 'listcomprehension': [ (r'\]', Punctuation, '#pop'), (r'\b(property|value)\b', Keyword), include('root'), ], 'waitfor': [ (r'\n', Punctuation, '#pop'), (r'\bfrom\b', Keyword), include('root'), ], 'root': [ include('commentsandwhitespace'), (r'/(?! )(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/' r'([gim]+\b|\B)', String.Regex), (r'\?|:|_(?=\n)|==?|!=|-(?!>)|[<>+*/-]=?', Operator), (r'\b(and|or|isnt|is|not|but|bitwise|mod|\^|xor|exists|' r'doesnt\s+exist)\b', Operator.Word), (r'(?:\([^()]+\))?\s*>', Name.Function), (r'[{(]', Punctuation), (r'\[', Punctuation, 'listcomprehension'), (r'[})\].,]', Punctuation), (r'\b(function|method|task)\b', Keyword.Declaration, 'functiondef'), (r'\bclass\b', Keyword.Declaration, 'classdef'), (r'\b(safe\s+)?wait\s+for\b', Keyword, 'waitfor'), (r'\b(me|this)(\.[$a-zA-Z_][\w.$]*)?\b', Name.Variable.Instance), (r'(?<![.$])(for(\s+(parallel|series))?|in|of|while|until|' r'break|return|continue|' r'when|if|unless|else|otherwise|except\s+when|' r'throw|raise|fail\s+with|try|catch|finally|new|delete|' r'typeof|instanceof|super|run\s+in\s+parallel|' r'inherits\s+from)\b', Keyword), (r'(?<![.$])(true|false|yes|no|on|off|null|nothing|none|' r'NaN|Infinity|undefined)\b', Keyword.Constant), (r'(Array|Boolean|Date|Error|Function|Math|netscape|' r'Number|Object|Packages|RegExp|String|sun|decodeURI|' r'decodeURIComponent|encodeURI|encodeURIComponent|' r'eval|isFinite|isNaN|parseFloat|parseInt|document|window|' r'print)\b', Name.Builtin), (r'[$a-zA-Z_][\w.$]*\s*(:|[+\-*/]?\=)?\b', Name.Variable), (r'[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?', Number.Float), (r'0x[0-9a-fA-F]+', Number.Hex), (r'[0-9]+', Number.Integer), ('"""', String, 'tdqs'), ("'''", String, 'tsqs'), ('"', String, 'dqs'), ("'", String, 'sqs'), ], 'strings': [ (r'[^#\\\'"]+', String), # note that all kal strings are multi-line. # hashmarks, quotes and backslashes must be parsed one at a time ], 'interpoling_string': [ (r'\}', String.Interpol, "#pop"), include('root') ], 'dqs': [ (r'"', String, '#pop'), (r'\\.|\'', String), # double-quoted string don't need ' escapes (r'#\{', String.Interpol, "interpoling_string"), include('strings') ], 'sqs': [ (r"'", String, '#pop'), (r'#|\\.|"', String), # single quoted strings don't need " escapses include('strings') ], 'tdqs': [ (r'"""', String, '#pop'), (r'\\.|\'|"', String), # no need to escape quotes in triple-string (r'#\{', String.Interpol, "interpoling_string"), include('strings'), ], 'tsqs': [ (r"'''", String, '#pop'), (r'#|\\.|\'|"', String), # no need to escape quotes in triple-strings include('strings') ], } class LiveScriptLexer(RegexLexer): """ For `LiveScript`_ source code. .. _LiveScript: http://gkz.github.com/LiveScript/ .. versionadded:: 1.6 """ name = 'LiveScript' aliases = ['live-script', 'livescript'] filenames = ['*.ls'] mimetypes = ['text/livescript'] flags = re.DOTALL tokens = { 'commentsandwhitespace': [ (r'\s+', Text), (r'/\*.*?\*/', Comment.Multiline), (r'#.*?\n', Comment.Single), ], 'multilineregex': [ include('commentsandwhitespace'), (r'//([gim]+\b|\B)', String.Regex, '#pop'), (r'/', String.Regex), (r'[^/#]+', String.Regex) ], 'slashstartsregex': [ include('commentsandwhitespace'), (r'//', String.Regex, ('#pop', 'multilineregex')), (r'/(?! )(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/' r'([gim]+\b|\B)', String.Regex, '#pop'), default('#pop'), ], 'root': [ # this next expr leads to infinite loops root -> slashstartsregex # (r'^(?=\s|/|<!--)', Text, 'slashstartsregex'), include('commentsandwhitespace'), (r'(?:\([^()]+\))?[ ]*[~-]{1,2}>|' r'(?:\(?[^()\n]+\)?)?[ ]*<[~-]{1,2}', Name.Function), (r'\+\+|&&|(?<![.$])\b(?:and|x?or|is|isnt|not)\b|\?|:|=|' r'\|\||\\(?=\n)|(<<|>>>?|==?|!=?|' r'~(?!\~?>)|-(?!\-?>)|<(?!\[)|(?<!\])>|' r'[+*`%&|^/])=?', Operator, 'slashstartsregex'), (r'[{(\[;,]', Punctuation, 'slashstartsregex'), (r'[})\].]', Punctuation), (r'(?<![.$])(for|own|in|of|while|until|loop|break|' r'return|continue|switch|when|then|if|unless|else|' r'throw|try|catch|finally|new|delete|typeof|instanceof|super|' r'extends|this|class|by|const|var|to|til)\b', Keyword, 'slashstartsregex'), (r'(?<![.$])(true|false|yes|no|on|off|' r'null|NaN|Infinity|undefined|void)\b', Keyword.Constant), (r'(Array|Boolean|Date|Error|Function|Math|netscape|' r'Number|Object|Packages|RegExp|String|sun|decodeURI|' r'decodeURIComponent|encodeURI|encodeURIComponent|' r'eval|isFinite|isNaN|parseFloat|parseInt|document|window)\b', Name.Builtin), (r'[$a-zA-Z_][\w.\-:$]*\s*[:=]\s', Name.Variable, 'slashstartsregex'), (r'@[$a-zA-Z_][\w.\-:$]*\s*[:=]\s', Name.Variable.Instance, 'slashstartsregex'), (r'@', Name.Other, 'slashstartsregex'), (r'@?[$a-zA-Z_][\w-]*', Name.Other, 'slashstartsregex'), (r'[0-9]+\.[0-9]+([eE][0-9]+)?[fd]?(?:[a-zA-Z_]+)?', Number.Float), (r'[0-9]+(~[0-9a-z]+)?(?:[a-zA-Z_]+)?', Number.Integer), ('"""', String, 'tdqs'), ("'''", String, 'tsqs'), ('"', String, 'dqs'), ("'", String, 'sqs'), (r'\\\S+', String), (r'<\[.*?\]>', String), ], 'strings': [ (r'[^#\\\'"]+', String), # note that all coffee script strings are multi-line. # hashmarks, quotes and backslashes must be parsed one at a time ], 'interpoling_string': [ (r'\}', String.Interpol, "#pop"), include('root') ], 'dqs': [ (r'"', String, '#pop'), (r'\\.|\'', String), # double-quoted string don't need ' escapes (r'#\{', String.Interpol, "interpoling_string"), (r'#', String), include('strings') ], 'sqs': [ (r"'", String, '#pop'), (r'#|\\.|"', String), # single quoted strings don't need " escapses include('strings') ], 'tdqs': [ (r'"""', String, '#pop'), (r'\\.|\'|"', String), # no need to escape quotes in triple-string (r'#\{', String.Interpol, "interpoling_string"), (r'#', String), include('strings'), ], 'tsqs': [ (r"'''", String, '#pop'), (r'#|\\.|\'|"', String), # no need to escape quotes in triple-strings include('strings') ], } class DartLexer(RegexLexer): """ For `Dart <http://dartlang.org/>`_ source code. .. versionadded:: 1.5 """ name = 'Dart' aliases = ['dart'] filenames = ['*.dart'] mimetypes = ['text/x-dart'] flags = re.MULTILINE | re.DOTALL tokens = { 'root': [ include('string_literal'), (r'#!(.*?)$', Comment.Preproc), (r'\b(import|export)\b', Keyword, 'import_decl'), (r'\b(library|source|part of|part)\b', Keyword), (r'[^\S\n]+', Text), (r'//.*?\n', Comment.Single), (r'/\*.*?\*/', Comment.Multiline), (r'\b(class)\b(\s+)', bygroups(Keyword.Declaration, Text), 'class'), (r'\b(assert|break|case|catch|continue|default|do|else|finally|for|' r'if|in|is|new|return|super|switch|this|throw|try|while)\b', Keyword), (r'\b(abstract|const|extends|factory|final|get|implements|' r'native|operator|set|static|typedef|var)\b', Keyword.Declaration), (r'\b(bool|double|Dynamic|int|num|Object|String|void)\b', Keyword.Type), (r'\b(false|null|true)\b', Keyword.Constant), (r'[~!%^&*+=|?:<>/-]|as\b', Operator), (r'[a-zA-Z_$]\w*:', Name.Label), (r'[a-zA-Z_$]\w*', Name), (r'[(){}\[\],.;]', Punctuation), (r'0[xX][0-9a-fA-F]+', Number.Hex), # DIGIT+ (‘.’ DIGIT*)? EXPONENT? (r'\d+(\.\d*)?([eE][+-]?\d+)?', Number), (r'\.\d+([eE][+-]?\d+)?', Number), # ‘.’ DIGIT+ EXPONENT? (r'\n', Text) # pseudo-keyword negate intentionally left out ], 'class': [ (r'[a-zA-Z_$]\w*', Name.Class, '#pop') ], 'import_decl': [ include('string_literal'), (r'\s+', Text), (r'\b(as|show|hide)\b', Keyword), (r'[a-zA-Z_$]\w*', Name), (r'\,', Punctuation), (r'\;', Punctuation, '#pop') ], 'string_literal': [ # Raw strings. (r'r"""([\w\W]*?)"""', String.Double), (r"r'''([\w\W]*?)'''", String.Single), (r'r"(.*?)"', String.Double), (r"r'(.*?)'", String.Single), # Normal Strings. (r'"""', String.Double, 'string_double_multiline'), (r"'''", String.Single, 'string_single_multiline'), (r'"', String.Double, 'string_double'), (r"'", String.Single, 'string_single') ], 'string_common': [ (r"\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|u\{[0-9A-Fa-f]*\}|[a-z'\"$\\])", String.Escape), (r'(\$)([a-zA-Z_]\w*)', bygroups(String.Interpol, Name)), (r'(\$\{)(.*?)(\})', bygroups(String.Interpol, using(this), String.Interpol)) ], 'string_double': [ (r'"', String.Double, '#pop'), (r'[^"$\\\n]+', String.Double), include('string_common'), (r'\$+', String.Double) ], 'string_double_multiline': [ (r'"""', String.Double, '#pop'), (r'[^"$\\]+', String.Double), include('string_common'), (r'(\$|\")+', String.Double) ], 'string_single': [ (r"'", String.Single, '#pop'), (r"[^'$\\\n]+", String.Single), include('string_common'), (r'\$+', String.Single) ], 'string_single_multiline': [ (r"'''", String.Single, '#pop'), (r'[^\'$\\]+', String.Single), include('string_common'), (r'(\$|\')+', String.Single) ] } class TypeScriptLexer(RegexLexer): """ For `TypeScript <http://typescriptlang.org/>`_ source code. .. versionadded:: 1.6 """ name = 'TypeScript' aliases = ['ts'] filenames = ['*.ts'] mimetypes = ['text/x-typescript'] flags = re.DOTALL | re.MULTILINE tokens = { 'commentsandwhitespace': [ (r'\s+', Text), (r'<!--', Comment), (r'//.*?\n', Comment.Single), (r'/\*.*?\*/', Comment.Multiline) ], 'slashstartsregex': [ include('commentsandwhitespace'), (r'/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/' r'([gim]+\b|\B)', String.Regex, '#pop'), (r'(?=/)', Text, ('#pop', 'badregex')), default('#pop') ], 'badregex': [ (r'\n', Text, '#pop') ], 'root': [ (r'^(?=\s|/|<!--)', Text, 'slashstartsregex'), include('commentsandwhitespace'), (r'\+\+|--|~|&&|\?|:|\|\||\\(?=\n)|' r'(<<|>>>?|==?|!=?|[-<>+*%&|^/])=?', Operator, 'slashstartsregex'), (r'[{(\[;,]', Punctuation, 'slashstartsregex'), (r'[})\].]', Punctuation), (r'(for|in|while|do|break|return|continue|switch|case|default|if|else|' r'throw|try|catch|finally|new|delete|typeof|instanceof|void|' r'this)\b', Keyword, 'slashstartsregex'), (r'(var|let|with|function)\b', Keyword.Declaration, 'slashstartsregex'), (r'(abstract|boolean|byte|char|class|const|debugger|double|enum|export|' r'extends|final|float|goto|implements|import|int|interface|long|native|' r'package|private|protected|public|short|static|super|synchronized|throws|' r'transient|volatile)\b', Keyword.Reserved), (r'(true|false|null|NaN|Infinity|undefined)\b', Keyword.Constant), (r'(Array|Boolean|Date|Error|Function|Math|netscape|' r'Number|Object|Packages|RegExp|String|sun|decodeURI|' r'decodeURIComponent|encodeURI|encodeURIComponent|' r'Error|eval|isFinite|isNaN|parseFloat|parseInt|document|this|' r'window)\b', Name.Builtin), # Match stuff like: module name {...} (r'\b(module)(\s*)(\s*[\w?.$][\w?.$]*)(\s*)', bygroups(Keyword.Reserved, Text, Name.Other, Text), 'slashstartsregex'), # Match variable type keywords (r'\b(string|bool|number)\b', Keyword.Type), # Match stuff like: constructor (r'\b(constructor|declare|interface|as|AS)\b', Keyword.Reserved), # Match stuff like: super(argument, list) (r'(super)(\s*)(\([\w,?.$\s]+\s*\))', bygroups(Keyword.Reserved, Text), 'slashstartsregex'), # Match stuff like: function() {...} (r'([a-zA-Z_?.$][\w?.$]*)\(\) \{', Name.Other, 'slashstartsregex'), # Match stuff like: (function: return type) (r'([\w?.$][\w?.$]*)(\s*:\s*)([\w?.$][\w?.$]*)', bygroups(Name.Other, Text, Keyword.Type)), (r'[$a-zA-Z_]\w*', Name.Other), (r'[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?', Number.Float), (r'0x[0-9a-fA-F]+', Number.Hex), (r'[0-9]+', Number.Integer), (r'"(\\\\|\\"|[^"])*"', String.Double), (r"'(\\\\|\\'|[^'])*'", String.Single), ] } class LassoLexer(RegexLexer): """ For `Lasso <http://www.lassosoft.com/>`_ source code, covering both Lasso 9 syntax and LassoScript for Lasso 8.6 and earlier. For Lasso embedded in HTML, use the `LassoHtmlLexer`. Additional options accepted: `builtinshighlighting` If given and ``True``, highlight builtin types, traits, methods, and members (default: ``True``). `requiredelimiters` If given and ``True``, only highlight code between delimiters as Lasso (default: ``False``). .. versionadded:: 1.6 """ name = 'Lasso' aliases = ['lasso', 'lassoscript'] filenames = ['*.lasso', '*.lasso[89]'] alias_filenames = ['*.incl', '*.inc', '*.las'] mimetypes = ['text/x-lasso'] flags = re.IGNORECASE | re.DOTALL | re.MULTILINE tokens = { 'root': [ (r'^#!.+lasso9\b', Comment.Preproc, 'lasso'), (r'\[no_square_brackets\]', Comment.Preproc, 'nosquarebrackets'), (r'\[noprocess\]', Comment.Preproc, ('delimiters', 'noprocess')), (r'\[', Comment.Preproc, ('delimiters', 'squarebrackets')), (r'<\?(LassoScript|lasso|=)', Comment.Preproc, ('delimiters', 'anglebrackets')), (r'<(!--.*?-->)?', Other, 'delimiters'), (r'\s+', Other), default(('delimiters', 'lassofile')), ], 'delimiters': [ (r'\[no_square_brackets\]', Comment.Preproc, 'nosquarebrackets'), (r'\[noprocess\]', Comment.Preproc, 'noprocess'), (r'\[', Comment.Preproc, 'squarebrackets'), (r'<\?(LassoScript|lasso|=)', Comment.Preproc, 'anglebrackets'), (r'<(!--.*?-->)?', Other), (r'[^[<]+', Other), ], 'nosquarebrackets': [ (r'<\?(LassoScript|lasso|=)', Comment.Preproc, 'anglebrackets'), (r'<', Other), (r'[^<]+', Other), ], 'noprocess': [ (r'\[/noprocess\]', Comment.Preproc, '#pop'), (r'\[', Other), (r'[^[]', Other), ], 'squarebrackets': [ (r'\]', Comment.Preproc, '#pop'), include('lasso'), ], 'anglebrackets': [ (r'\?>', Comment.Preproc, '#pop'), include('lasso'), ], 'lassofile': [ (r'\]|\?>', Comment.Preproc, '#pop'), include('lasso'), ], 'whitespacecomments': [ (r'\s+', Text), (r'//.*?\n', Comment.Single), (r'/\*\*!.*?\*/', String.Doc), (r'/\*.*?\*/', Comment.Multiline), ], 'lasso': [ # whitespace/comments include('whitespacecomments'), # literals (r'\d*\.\d+(e[+-]?\d+)?', Number.Float), (r'0x[\da-f]+', Number.Hex), (r'\d+', Number.Integer), (r'([+-]?)(infinity|NaN)\b', bygroups(Operator, Number)), (r"'", String.Single, 'singlestring'), (r'"', String.Double, 'doublestring'), (r'`[^`]*`', String.Backtick), # names (r'\$[a-z_][\w.]*', Name.Variable), (r'#([a-z_][\w.]*|\d+)', Name.Variable.Instance), (r"(\.)('[a-z_][\w.]*')", bygroups(Name.Builtin.Pseudo, Name.Variable.Class)), (r"(self)(\s*->\s*)('[a-z_][\w.]*')", bygroups(Name.Builtin.Pseudo, Operator, Name.Variable.Class)), (r'(\.\.?)([a-z_][\w.]*(=(?!=))?)', bygroups(Name.Builtin.Pseudo, Name.Other.Member)), (r'(->\\?\s*|&\s*)([a-z_][\w.]*(=(?!=))?)', bygroups(Operator, Name.Other.Member)), (r'(self|inherited)\b', Name.Builtin.Pseudo), (r'-[a-z_][\w.]*', Name.Attribute), (r'::\s*[a-z_][\w.]*', Name.Label), (r'(error_(code|msg)_\w+|Error_AddError|Error_ColumnRestriction|' r'Error_DatabaseConnectionUnavailable|Error_DatabaseTimeout|' r'Error_DeleteError|Error_FieldRestriction|Error_FileNotFound|' r'Error_InvalidDatabase|Error_InvalidPassword|' r'Error_InvalidUsername|Error_ModuleNotFound|' r'Error_NoError|Error_NoPermission|Error_OutOfMemory|' r'Error_ReqColumnMissing|Error_ReqFieldMissing|' r'Error_RequiredColumnMissing|Error_RequiredFieldMissing|' r'Error_UpdateError)\b', Name.Exception), # definitions (r'(define)(\s+)([a-z_][\w.]*)(\s*=>\s*)(type|trait|thread)\b', bygroups(Keyword.Declaration, Text, Name.Class, Operator, Keyword)), (r'(define)(\s+)([a-z_][\w.]*)(\s*->\s*)([a-z_][\w.]*=?|[-+*/%])', bygroups(Keyword.Declaration, Text, Name.Class, Operator, Name.Function), 'signature'), (r'(define)(\s+)([a-z_][\w.]*)', bygroups(Keyword.Declaration, Text, Name.Function), 'signature'), (r'(public|protected|private|provide)(\s+)(([a-z_][\w.]*=?|[-+*/%])' r'(?=\s*\())', bygroups(Keyword, Text, Name.Function), 'signature'), (r'(public|protected|private|provide)(\s+)([a-z_][\w.]*)', bygroups(Keyword, Text, Name.Function)), # keywords (r'(true|false|none|minimal|full|all|void)\b', Keyword.Constant), (r'(local|var|variable|global|data(?=\s))\b', Keyword.Declaration), (r'(array|date|decimal|duration|integer|map|pair|string|tag|xml|' r'null|bytes|list|queue|set|stack|staticarray|tie)\b', Keyword.Type), (r'([a-z_][\w.]*)(\s+)(in)\b', bygroups(Name, Text, Keyword)), (r'(let|into)(\s+)([a-z_][\w.]*)', bygroups(Keyword, Text, Name)), (r'require\b', Keyword, 'requiresection'), (r'(/?)(Namespace_Using)\b', bygroups(Punctuation, Keyword.Namespace)), (r'(/?)(Cache|Database_Names|Database_SchemaNames|' r'Database_TableNames|Define_Tag|Define_Type|Email_Batch|' r'Encode_Set|HTML_Comment|Handle|Handle_Error|Header|If|Inline|' r'Iterate|LJAX_Target|Link|Link_CurrentAction|Link_CurrentGroup|' r'Link_CurrentRecord|Link_Detail|Link_FirstGroup|' r'Link_FirstRecord|Link_LastGroup|Link_LastRecord|Link_NextGroup|' r'Link_NextRecord|Link_PrevGroup|Link_PrevRecord|Log|Loop|' r'NoProcess|Output_None|Portal|Private|Protect|Records|Referer|' r'Referrer|Repeating|ResultSet|Rows|Search_Args|Search_Arguments|' r'Select|Sort_Args|Sort_Arguments|Thread_Atomic|Value_List|While|' r'Abort|Case|Else|If_Empty|If_False|If_Null|If_True|Loop_Abort|' r'Loop_Continue|Loop_Count|Params|Params_Up|Return|Return_Value|' r'Run_Children|SOAP_DefineTag|SOAP_LastRequest|SOAP_LastResponse|' r'Tag_Name|ascending|average|by|define|descending|do|equals|' r'frozen|group|handle_failure|import|in|into|join|let|match|max|' r'min|on|order|parent|protected|provide|public|require|returnhome|' r'skip|split_thread|sum|take|thread|to|trait|type|where|with|' r'yield|yieldhome)\b', bygroups(Punctuation, Keyword)), # other (r',', Punctuation, 'commamember'), (r'(and|or|not)\b', Operator.Word), (r'([a-z_][\w.]*)(\s*::\s*[a-z_][\w.]*)?(\s*=(?!=))', bygroups(Name, Name.Label, Operator)), (r'(/?)([\w.]+)', bygroups(Punctuation, Name.Other)), (r'(=)(n?bw|n?ew|n?cn|lte?|gte?|n?eq|n?rx|ft)\b', bygroups(Operator, Operator.Word)), (r':=|[-+*/%=<>&|!?\\]+', Operator), (r'[{}():;,@^]', Punctuation), ], 'singlestring': [ (r"'", String.Single, '#pop'), (r"[^'\\]+", String.Single), include('escape'), (r"\\", String.Single), ], 'doublestring': [ (r'"', String.Double, '#pop'), (r'[^"\\]+', String.Double), include('escape'), (r'\\', String.Double), ], 'escape': [ (r'\\(U[\da-f]{8}|u[\da-f]{4}|x[\da-f]{1,2}|[0-7]{1,3}|:[^:]+:|' r'[abefnrtv?"\'\\]|$)', String.Escape), ], 'signature': [ (r'=>', Operator, '#pop'), (r'\)', Punctuation, '#pop'), (r'[(,]', Punctuation, 'parameter'), include('lasso'), ], 'parameter': [ (r'\)', Punctuation, '#pop'), (r'-?[a-z_][\w.]*', Name.Attribute, '#pop'), (r'\.\.\.', Name.Builtin.Pseudo), include('lasso'), ], 'requiresection': [ (r'(([a-z_][\w.]*=?|[-+*/%])(?=\s*\())', Name, 'requiresignature'), (r'(([a-z_][\w.]*=?|[-+*/%])(?=(\s*::\s*[\w.]+)?\s*,))', Name), (r'[a-z_][\w.]*=?|[-+*/%]', Name, '#pop'), (r'::\s*[a-z_][\w.]*', Name.Label), (r',', Punctuation), include('whitespacecomments'), ], 'requiresignature': [ (r'(\)(?=(\s*::\s*[\w.]+)?\s*,))', Punctuation, '#pop'), (r'\)', Punctuation, '#pop:2'), (r'-?[a-z_][\w.]*', Name.Attribute), (r'::\s*[a-z_][\w.]*', Name.Label), (r'\.\.\.', Name.Builtin.Pseudo), (r'[(,]', Punctuation), include('whitespacecomments'), ], 'commamember': [ (r'(([a-z_][\w.]*=?|[-+*/%])' r'(?=\s*(\(([^()]*\([^()]*\))*[^)]*\)\s*)?(::[\w.\s]+)?=>))', Name.Function, 'signature'), include('whitespacecomments'), default('#pop'), ], } def __init__(self, **options): self.builtinshighlighting = get_bool_opt( options, 'builtinshighlighting', True) self.requiredelimiters = get_bool_opt( options, 'requiredelimiters', False) self._builtins = set() self._members = set() if self.builtinshighlighting: from pygments.lexers._lasso_builtins import BUILTINS, MEMBERS for key, value in iteritems(BUILTINS): self._builtins.update(value) for key, value in iteritems(MEMBERS): self._members.update(value) RegexLexer.__init__(self, **options) def get_tokens_unprocessed(self, text): stack = ['root'] if self.requiredelimiters: stack.append('delimiters') for index, token, value in \ RegexLexer.get_tokens_unprocessed(self, text, stack): if (token is Name.Other and value.lower() in self._builtins or token is Name.Other.Member and value.lower().rstrip('=') in self._members): yield index, Name.Builtin, value continue yield index, token, value def analyse_text(text): rv = 0.0 if 'bin/lasso9' in text: rv += 0.8 if re.search(r'<\?lasso', text, re.I): rv += 0.4 if re.search(r'local\(', text, re.I): rv += 0.4 return rv class ObjectiveJLexer(RegexLexer): """ For Objective-J source code with preprocessor directives. .. versionadded:: 1.3 """ name = 'Objective-J' aliases = ['objective-j', 'objectivej', 'obj-j', 'objj'] filenames = ['*.j'] mimetypes = ['text/x-objective-j'] #: optional Comment or Whitespace _ws = r'(?:\s|//.*?\n|/[*].*?[*]/)*' flags = re.DOTALL | re.MULTILINE tokens = { 'root': [ include('whitespace'), # function definition (r'^(' + _ws + r'[+-]' + _ws + r')([(a-zA-Z_].*?[^(])(' + _ws + r'\{)', bygroups(using(this), using(this, state='function_signature'), using(this))), # class definition (r'(@interface|@implementation)(\s+)', bygroups(Keyword, Text), 'classname'), (r'(@class|@protocol)(\s*)', bygroups(Keyword, Text), 'forward_classname'), (r'(\s*)(@end)(\s*)', bygroups(Text, Keyword, Text)), include('statements'), ('[{()}]', Punctuation), (';', Punctuation), ], 'whitespace': [ (r'(@import)(\s+)("(?:\\\\|\\"|[^"])*")', bygroups(Comment.Preproc, Text, String.Double)), (r'(@import)(\s+)(<(?:\\\\|\\>|[^>])*>)', bygroups(Comment.Preproc, Text, String.Double)), (r'(#(?:include|import))(\s+)("(?:\\\\|\\"|[^"])*")', bygroups(Comment.Preproc, Text, String.Double)), (r'(#(?:include|import))(\s+)(<(?:\\\\|\\>|[^>])*>)', bygroups(Comment.Preproc, Text, String.Double)), (r'#if\s+0', Comment.Preproc, 'if0'), (r'#', Comment.Preproc, 'macro'), (r'\n', Text), (r'\s+', Text), (r'\\\n', Text), # line continuation (r'//(\n|(.|\n)*?[^\\]\n)', Comment.Single), (r'/(\\\n)?[*](.|\n)*?[*](\\\n)?/', Comment.Multiline), (r'<!--', Comment), ], 'slashstartsregex': [ include('whitespace'), (r'/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/' r'([gim]+\b|\B)', String.Regex, '#pop'), (r'(?=/)', Text, ('#pop', 'badregex')), default('#pop'), ], 'badregex': [ (r'\n', Text, '#pop'), ], 'statements': [ (r'(L|@)?"', String, 'string'), (r"(L|@)?'(\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])'", String.Char), (r'"(\\\\|\\"|[^"])*"', String.Double), (r"'(\\\\|\\'|[^'])*'", String.Single), (r'(\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+[lL]?', Number.Float), (r'(\d+\.\d*|\.\d+|\d+[fF])[fF]?', Number.Float), (r'0x[0-9a-fA-F]+[Ll]?', Number.Hex), (r'0[0-7]+[Ll]?', Number.Oct), (r'\d+[Ll]?', Number.Integer), (r'^(?=\s|/|<!--)', Text, 'slashstartsregex'), (r'\+\+|--|~|&&|\?|:|\|\||\\(?=\n)|' r'(<<|>>>?|==?|!=?|[-<>+*%&|^/])=?', Operator, 'slashstartsregex'), (r'[{(\[;,]', Punctuation, 'slashstartsregex'), (r'[})\].]', Punctuation), (r'(for|in|while|do|break|return|continue|switch|case|default|if|' r'else|throw|try|catch|finally|new|delete|typeof|instanceof|void|' r'prototype|__proto__)\b', Keyword, 'slashstartsregex'), (r'(var|with|function)\b', Keyword.Declaration, 'slashstartsregex'), (r'(@selector|@private|@protected|@public|@encode|' r'@synchronized|@try|@throw|@catch|@finally|@end|@property|' r'@synthesize|@dynamic|@for|@accessors|new)\b', Keyword), (r'(int|long|float|short|double|char|unsigned|signed|void|' r'id|BOOL|bool|boolean|IBOutlet|IBAction|SEL|@outlet|@action)\b', Keyword.Type), (r'(self|super)\b', Name.Builtin), (r'(TRUE|YES|FALSE|NO|Nil|nil|NULL)\b', Keyword.Constant), (r'(true|false|null|NaN|Infinity|undefined)\b', Keyword.Constant), (r'(ABS|ASIN|ACOS|ATAN|ATAN2|SIN|COS|TAN|EXP|POW|CEIL|FLOOR|ROUND|' r'MIN|MAX|RAND|SQRT|E|LN2|LN10|LOG2E|LOG10E|PI|PI2|PI_2|SQRT1_2|' r'SQRT2)\b', Keyword.Constant), (r'(Array|Boolean|Date|Error|Function|Math|netscape|' r'Number|Object|Packages|RegExp|String|sun|decodeURI|' r'decodeURIComponent|encodeURI|encodeURIComponent|' r'Error|eval|isFinite|isNaN|parseFloat|parseInt|document|this|' r'window)\b', Name.Builtin), (r'([$a-zA-Z_]\w*)(' + _ws + r')(?=\()', bygroups(Name.Function, using(this))), (r'[$a-zA-Z_]\w*', Name), ], 'classname': [ # interface definition that inherits (r'([a-zA-Z_]\w*)(' + _ws + r':' + _ws + r')([a-zA-Z_]\w*)?', bygroups(Name.Class, using(this), Name.Class), '#pop'), # interface definition for a category (r'([a-zA-Z_]\w*)(' + _ws + r'\()([a-zA-Z_]\w*)(\))', bygroups(Name.Class, using(this), Name.Label, Text), '#pop'), # simple interface / implementation (r'([a-zA-Z_]\w*)', Name.Class, '#pop'), ], 'forward_classname': [ (r'([a-zA-Z_]\w*)(\s*,\s*)', bygroups(Name.Class, Text), '#push'), (r'([a-zA-Z_]\w*)(\s*;?)', bygroups(Name.Class, Text), '#pop'), ], 'function_signature': [ include('whitespace'), # start of a selector w/ parameters (r'(\(' + _ws + r')' # open paren r'([a-zA-Z_]\w+)' # return type r'(' + _ws + r'\)' + _ws + r')' # close paren r'([$a-zA-Z_]\w+' + _ws + r':)', # function name bygroups(using(this), Keyword.Type, using(this), Name.Function), 'function_parameters'), # no-param function (r'(\(' + _ws + r')' # open paren r'([a-zA-Z_]\w+)' # return type r'(' + _ws + r'\)' + _ws + r')' # close paren r'([$a-zA-Z_]\w+)', # function name bygroups(using(this), Keyword.Type, using(this), Name.Function), "#pop"), # no return type given, start of a selector w/ parameters (r'([$a-zA-Z_]\w+' + _ws + r':)', # function name bygroups(Name.Function), 'function_parameters'), # no return type given, no-param function (r'([$a-zA-Z_]\w+)', # function name bygroups(Name.Function), "#pop"), default('#pop'), ], 'function_parameters': [ include('whitespace'), # parameters (r'(\(' + _ws + ')' # open paren r'([^)]+)' # type r'(' + _ws + r'\)' + _ws + r')' # close paren r'([$a-zA-Z_]\w+)', # param name bygroups(using(this), Keyword.Type, using(this), Text)), # one piece of a selector name (r'([$a-zA-Z_]\w+' + _ws + r':)', # function name Name.Function), # smallest possible selector piece (r'(:)', Name.Function), # var args (r'(,' + _ws + r'\.\.\.)', using(this)), # param name (r'([$a-zA-Z_]\w+)', Text), ], 'expression': [ (r'([$a-zA-Z_]\w*)(\()', bygroups(Name.Function, Punctuation)), (r'(\))', Punctuation, "#pop"), ], 'string': [ (r'"', String, '#pop'), (r'\\([\\abfnrtv"\']|x[a-fA-F0-9]{2,4}|[0-7]{1,3})', String.Escape), (r'[^\\"\n]+', String), # all other characters (r'\\\n', String), # line continuation (r'\\', String), # stray backslash ], 'macro': [ (r'[^/\n]+', Comment.Preproc), (r'/[*](.|\n)*?[*]/', Comment.Multiline), (r'//.*?\n', Comment.Single, '#pop'), (r'/', Comment.Preproc), (r'(?<=\\)\n', Comment.Preproc), (r'\n', Comment.Preproc, '#pop'), ], 'if0': [ (r'^\s*#if.*?(?<!\\)\n', Comment.Preproc, '#push'), (r'^\s*#endif.*?(?<!\\)\n', Comment.Preproc, '#pop'), (r'.*?\n', Comment), ] } def analyse_text(text): if re.search('^\s*@import\s+[<"]', text, re.MULTILINE): # special directive found in most Objective-J files return True return False class CoffeeScriptLexer(RegexLexer): """ For `CoffeeScript`_ source code. .. _CoffeeScript: http://coffeescript.org .. versionadded:: 1.3 """ name = 'CoffeeScript' aliases = ['coffee-script', 'coffeescript', 'coffee'] filenames = ['*.coffee'] mimetypes = ['text/coffeescript'] flags = re.DOTALL tokens = { 'commentsandwhitespace': [ (r'\s+', Text), (r'###[^#].*?###', Comment.Multiline), (r'#(?!##[^#]).*?\n', Comment.Single), ], 'multilineregex': [ (r'[^/#]+', String.Regex), (r'///([gim]+\b|\B)', String.Regex, '#pop'), (r'#\{', String.Interpol, 'interpoling_string'), (r'[/#]', String.Regex), ], 'slashstartsregex': [ include('commentsandwhitespace'), (r'///', String.Regex, ('#pop', 'multilineregex')), (r'/(?! )(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/' r'([gim]+\b|\B)', String.Regex, '#pop'), default('#pop'), ], 'root': [ # this next expr leads to infinite loops root -> slashstartsregex # (r'^(?=\s|/|<!--)', Text, 'slashstartsregex'), include('commentsandwhitespace'), (r'\+\+|~|&&|\band\b|\bor\b|\bis\b|\bisnt\b|\bnot\b|\?|:|' r'\|\||\\(?=\n)|' r'(<<|>>>?|==?(?!>)|!=?|=(?!>)|-(?!>)|[<>+*`%&|^/])=?', Operator, 'slashstartsregex'), (r'(?:\([^()]*\))?\s*[=-]>', Name.Function), (r'[{(\[;,]', Punctuation, 'slashstartsregex'), (r'[})\].]', Punctuation), (r'(?<![.$])(for|own|in|of|while|until|' r'loop|break|return|continue|' r'switch|when|then|if|unless|else|' r'throw|try|catch|finally|new|delete|typeof|instanceof|super|' r'extends|this|class|by)\b', Keyword, 'slashstartsregex'), (r'(?<![.$])(true|false|yes|no|on|off|null|' r'NaN|Infinity|undefined)\b', Keyword.Constant), (r'(Array|Boolean|Date|Error|Function|Math|netscape|' r'Number|Object|Packages|RegExp|String|sun|decodeURI|' r'decodeURIComponent|encodeURI|encodeURIComponent|' r'eval|isFinite|isNaN|parseFloat|parseInt|document|window)\b', Name.Builtin), (r'[$a-zA-Z_][\w.:$]*\s*[:=]\s', Name.Variable, 'slashstartsregex'), (r'@[$a-zA-Z_][\w.:$]*\s*[:=]\s', Name.Variable.Instance, 'slashstartsregex'), (r'@', Name.Other, 'slashstartsregex'), (r'@?[$a-zA-Z_][\w$]*', Name.Other, 'slashstartsregex'), (r'[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?', Number.Float), (r'0x[0-9a-fA-F]+', Number.Hex), (r'[0-9]+', Number.Integer), ('"""', String, 'tdqs'), ("'''", String, 'tsqs'), ('"', String, 'dqs'), ("'", String, 'sqs'), ], 'strings': [ (r'[^#\\\'"]+', String), # note that all coffee script strings are multi-line. # hashmarks, quotes and backslashes must be parsed one at a time ], 'interpoling_string': [ (r'\}', String.Interpol, "#pop"), include('root') ], 'dqs': [ (r'"', String, '#pop'), (r'\\.|\'', String), # double-quoted string don't need ' escapes (r'#\{', String.Interpol, "interpoling_string"), (r'#', String), include('strings') ], 'sqs': [ (r"'", String, '#pop'), (r'#|\\.|"', String), # single quoted strings don't need " escapses include('strings') ], 'tdqs': [ (r'"""', String, '#pop'), (r'\\.|\'|"', String), # no need to escape quotes in triple-string (r'#\{', String.Interpol, "interpoling_string"), (r'#', String), include('strings'), ], 'tsqs': [ (r"'''", String, '#pop'), (r'#|\\.|\'|"', String), # no need to escape quotes in triple-strings include('strings') ], } class MaskLexer(RegexLexer): """ For `Mask <http://github.com/atmajs/MaskJS>`__ markup. .. versionadded:: 2.0 """ name = 'Mask' aliases = ['mask'] filenames = ['*.mask'] mimetypes = ['text/x-mask'] flags = re.MULTILINE | re.IGNORECASE | re.DOTALL tokens = { 'root': [ (r'\s+', Text), (r'//.*?\n', Comment.Single), (r'/\*.*?\*/', Comment.Multiline), (r'[{};>]', Punctuation), (r"'''", String, 'string-trpl-single'), (r'"""', String, 'string-trpl-double'), (r"'", String, 'string-single'), (r'"', String, 'string-double'), (r'([\w-]+)', Name.Tag, 'node'), (r'([^.#;{>\s]+)', Name.Class, 'node'), (r'(#[\w-]+)', Name.Function, 'node'), (r'(\.[\w-]+)', Name.Variable.Class, 'node') ], 'string-base': [ (r'\\.', String.Escape), (r'~\[', String.Interpol, 'interpolation'), (r'.', String.Single), ], 'string-single': [ (r"'", String.Single, '#pop'), include('string-base') ], 'string-double': [ (r'"', String.Single, '#pop'), include('string-base') ], 'string-trpl-single': [ (r"'''", String.Single, '#pop'), include('string-base') ], 'string-trpl-double': [ (r'"""', String.Single, '#pop'), include('string-base') ], 'interpolation': [ (r'\]', String.Interpol, '#pop'), (r'\s*:', String.Interpol, 'expression'), (r'\s*\w+:', Name.Other), (r'[^\]]+', String.Interpol) ], 'expression': [ (r'[^\]]+', using(JavascriptLexer), '#pop') ], 'node': [ (r'\s+', Text), (r'\.', Name.Variable.Class, 'node-class'), (r'\#', Name.Function, 'node-id'), (r'style[ \t]*=', Name.Attribute, 'node-attr-style-value'), (r'[\w:-]+[ \t]*=', Name.Attribute, 'node-attr-value'), (r'[\w:-]+', Name.Attribute), (r'[>{;]', Punctuation, '#pop') ], 'node-class': [ (r'[\w-]+', Name.Variable.Class), (r'~\[', String.Interpol, 'interpolation'), default('#pop') ], 'node-id': [ (r'[\w-]+', Name.Function), (r'~\[', String.Interpol, 'interpolation'), default('#pop') ], 'node-attr-value': [ (r'\s+', Text), (r'\w+', Name.Variable, '#pop'), (r"'", String, 'string-single-pop2'), (r'"', String, 'string-double-pop2'), default('#pop') ], 'node-attr-style-value': [ (r'\s+', Text), (r"'", String.Single, 'css-single-end'), (r'"', String.Single, 'css-double-end'), include('node-attr-value') ], 'css-base': [ (r'\s+', Text), (r";", Punctuation), (r"[\w\-]+\s*:", Name.Builtin) ], 'css-single-end': [ include('css-base'), (r"'", String.Single, '#pop:2'), (r"[^;']+", Name.Entity) ], 'css-double-end': [ include('css-base'), (r'"', String.Single, '#pop:2'), (r'[^;"]+', Name.Entity) ], 'string-single-pop2': [ (r"'", String.Single, '#pop:2'), include('string-base') ], 'string-double-pop2': [ (r'"', String.Single, '#pop:2'), include('string-base') ], }