Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
share /
gtksourceview-4 /
language-specs /
[ HOME SHELL ]
Name
Size
Permission
Action
abnf.lang
3.54
KB
-rw-r--r--
actionscript.lang
8.64
KB
-rw-r--r--
ada.lang
7.05
KB
-rw-r--r--
ansforth94.lang
22.6
KB
-rw-r--r--
asciidoc.lang
22.17
KB
-rw-r--r--
asp.lang
40.88
KB
-rw-r--r--
automake.lang
11.15
KB
-rw-r--r--
awk.lang
4.15
KB
-rw-r--r--
bennugd.lang
8.81
KB
-rw-r--r--
bibtex.lang
3.75
KB
-rw-r--r--
bluespec.lang
5.79
KB
-rw-r--r--
boo.lang
8.42
KB
-rw-r--r--
cg.lang
10.05
KB
-rw-r--r--
changelog.lang
3.41
KB
-rw-r--r--
chdr.lang
1.77
KB
-rw-r--r--
c.lang
11.95
KB
-rw-r--r--
cmake.lang
57.69
KB
-rw-r--r--
cobol.lang
20.8
KB
-rw-r--r--
commonlisp.lang
17.14
KB
-rw-r--r--
cpphdr.lang
1.41
KB
-rw-r--r--
cpp.lang
5.15
KB
-rw-r--r--
csharp.lang
9.4
KB
-rw-r--r--
css.lang
89
KB
-rw-r--r--
csv.lang
2.36
KB
-rw-r--r--
cuda.lang
10.25
KB
-rw-r--r--
dart.lang
9.47
KB
-rw-r--r--
def.lang
13.67
KB
-rw-r--r--
desktop.lang
10.7
KB
-rw-r--r--
diff.lang
2.99
KB
-rw-r--r--
d.lang
9.83
KB
-rw-r--r--
docbook.lang
15.98
KB
-rw-r--r--
docker.lang
5.59
KB
-rw-r--r--
dosbatch.lang
5.08
KB
-rw-r--r--
dot.lang
4.42
KB
-rw-r--r--
dpatch.lang
1.49
KB
-rw-r--r--
dtd.lang
4.52
KB
-rw-r--r--
dtl.lang
9.9
KB
-rw-r--r--
eiffel.lang
7.11
KB
-rw-r--r--
erb-html.lang
1.28
KB
-rw-r--r--
erb-js.lang
1.26
KB
-rw-r--r--
erb.lang
2.16
KB
-rw-r--r--
erlang.lang
8.26
KB
-rw-r--r--
fcl.lang
3.75
KB
-rw-r--r--
fish.lang
15.61
KB
-rw-r--r--
forth.lang
9.34
KB
-rw-r--r--
fortran.lang
22.95
KB
-rw-r--r--
fsharp.lang
10.79
KB
-rw-r--r--
ftl.lang
3.06
KB
-rw-r--r--
gap.lang
2.72
KB
-rw-r--r--
gdb-log.lang
6.81
KB
-rw-r--r--
gdscript.lang
9.94
KB
-rw-r--r--
genie.lang
7.62
KB
-rw-r--r--
glsl.lang
17.25
KB
-rw-r--r--
go.lang
10.28
KB
-rw-r--r--
gradle.lang
1.69
KB
-rw-r--r--
groovy.lang
11.92
KB
-rw-r--r--
gtk-doc.lang
3.66
KB
-rw-r--r--
gtkrc.lang
4.12
KB
-rw-r--r--
haddock.lang
5.92
KB
-rw-r--r--
haskell.lang
8.15
KB
-rw-r--r--
haskell-literate.lang
1.73
KB
-rw-r--r--
haxe.lang
7.71
KB
-rw-r--r--
html.lang
15.08
KB
-rw-r--r--
idl-exelis.lang
20.63
KB
-rw-r--r--
idl.lang
5.06
KB
-rw-r--r--
imagej.lang
29.42
KB
-rw-r--r--
ini.lang
3.5
KB
-rw-r--r--
jade.lang
6.53
KB
-rw-r--r--
java.lang
6.57
KB
-rw-r--r--
javascript-expressions.lang
31.3
KB
-rw-r--r--
javascript-functions-classes.lang
17.41
KB
-rw-r--r--
javascript.lang
39.48
KB
-rw-r--r--
javascript-literals.lang
21.86
KB
-rw-r--r--
javascript-modules.lang
13.45
KB
-rw-r--r--
javascript-statements.lang
28.97
KB
-rw-r--r--
javascript-values.lang
30.39
KB
-rw-r--r--
j.lang
7.45
KB
-rw-r--r--
jsdoc.lang
7.62
KB
-rw-r--r--
json.lang
4.23
KB
-rw-r--r--
jsx.lang
13.83
KB
-rw-r--r--
julia.lang
14.03
KB
-rw-r--r--
kotlin.lang
13.19
KB
-rw-r--r--
language2.rng
12.93
KB
-rw-r--r--
language.dtd
2.29
KB
-rw-r--r--
language.rng
10.78
KB
-rw-r--r--
latex.lang
25.25
KB
-rw-r--r--
lean.lang
4.81
KB
-rw-r--r--
less.lang
30.95
KB
-rw-r--r--
lex.lang
6.14
KB
-rw-r--r--
libtool.lang
1.83
KB
-rw-r--r--
llvm.lang
10.05
KB
-rw-r--r--
logcat.lang
3.35
KB
-rw-r--r--
logtalk.lang
14.22
KB
-rw-r--r--
lua.lang
10.2
KB
-rw-r--r--
m4.lang
45.03
KB
-rw-r--r--
makefile.lang
6.03
KB
-rw-r--r--
mallard.lang
3.69
KB
-rw-r--r--
markdown.lang
15.17
KB
-rw-r--r--
matlab.lang
4.87
KB
-rw-r--r--
maxima.lang
65.65
KB
-rw-r--r--
mediawiki.lang
10.68
KB
-rw-r--r--
meson.lang
5.72
KB
-rw-r--r--
modelica.lang
9.26
KB
-rw-r--r--
mxml.lang
2.16
KB
-rw-r--r--
nemerle.lang
8.21
KB
-rw-r--r--
netrexx.lang
10.36
KB
-rw-r--r--
nsis.lang
2.65
KB
-rw-r--r--
objc.lang
4
KB
-rw-r--r--
objj.lang
20.85
KB
-rw-r--r--
ocaml.lang
9.72
KB
-rw-r--r--
ocl.lang
5.24
KB
-rw-r--r--
octave.lang
59.04
KB
-rw-r--r--
ooc.lang
8.51
KB
-rw-r--r--
opal.lang
10.98
KB
-rw-r--r--
opencl.lang
20.36
KB
-rw-r--r--
pascal.lang
8.28
KB
-rw-r--r--
perl.lang
36.58
KB
-rw-r--r--
php.lang
13.05
KB
-rw-r--r--
pig.lang
9.35
KB
-rw-r--r--
pkgconfig.lang
1.93
KB
-rw-r--r--
po.lang
3.33
KB
-rw-r--r--
powershell.lang
22.5
KB
-rw-r--r--
prolog.lang
8.2
KB
-rw-r--r--
protobuf.lang
4.4
KB
-rw-r--r--
puppet.lang
23.67
KB
-rw-r--r--
python3.lang
10.35
KB
-rw-r--r--
python.lang
16.99
KB
-rw-r--r--
R.lang
77.54
KB
-rw-r--r--
rpmspec.lang
7.5
KB
-rw-r--r--
rst.lang
7.5
KB
-rw-r--r--
ruby.lang
26.91
KB
-rw-r--r--
rust.lang
10.39
KB
-rw-r--r--
scala.lang
12.63
KB
-rw-r--r--
scheme.lang
10.17
KB
-rw-r--r--
scilab.lang
6.87
KB
-rw-r--r--
scss.lang
33.21
KB
-rw-r--r--
sh.lang
36.39
KB
-rw-r--r--
sml.lang
6.43
KB
-rw-r--r--
solidity.lang
10.87
KB
-rw-r--r--
sparql.lang
16.34
KB
-rw-r--r--
spice.lang
13.07
KB
-rw-r--r--
sql.lang
24.71
KB
-rw-r--r--
star.lang
3.57
KB
-rw-r--r--
sweave.lang
2.18
KB
-rw-r--r--
swift.lang
16.21
KB
-rw-r--r--
systemverilog.lang
8.6
KB
-rw-r--r--
t2t.lang
5.21
KB
-rw-r--r--
tcl.lang
4.46
KB
-rw-r--r--
tera.lang
5.12
KB
-rw-r--r--
terraform.lang
15.23
KB
-rw-r--r--
texinfo.lang
15.23
KB
-rw-r--r--
thrift.lang
8.45
KB
-rw-r--r--
toml.lang
8.46
KB
-rw-r--r--
typescript-js-expressions.lang
7.5
KB
-rw-r--r--
typescript-js-functions-classes.lang
23.42
KB
-rw-r--r--
typescript-js-literals.lang
5.05
KB
-rw-r--r--
typescript-js-modules.lang
9.94
KB
-rw-r--r--
typescript-js-statements.lang
17.81
KB
-rw-r--r--
typescript-jsx.lang
6.52
KB
-rw-r--r--
typescript.lang
38.59
KB
-rw-r--r--
typescript-type-expressions.lang
19.39
KB
-rw-r--r--
typescript-type-generics.lang
8.56
KB
-rw-r--r--
typescript-type-literals.lang
13.83
KB
-rw-r--r--
vala.lang
13.04
KB
-rw-r--r--
vbnet.lang
7.78
KB
-rw-r--r--
verilog.lang
15.54
KB
-rw-r--r--
vhdl.lang
7.68
KB
-rw-r--r--
xml.lang
9.23
KB
-rw-r--r--
xslt.lang
3.83
KB
-rw-r--r--
yacc.lang
5.65
KB
-rw-r--r--
yaml.lang
8.71
KB
-rw-r--r--
yara.lang
6.31
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : less.lang
<?xml version="1.0" encoding="UTF-8"?> <!-- This file is part of GtkSourceView Author: Jeffery To <jeffery.to@gmail.com> Copyright (C) 2018-2020 Jeffery To <jeffery.to@gmail.com> GtkSourceView is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. GtkSourceView is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. --> <language id="less" name="Less" version="2.0" _section="Other"> <metadata> <property name="mimetypes">text/less;text/x-less</property> <property name="globs">*.less</property> <property name="line-comment-start">//</property> <property name="block-comment-start">/*</property> <property name="block-comment-end">*/</property> </metadata> <styles> <!-- variables --> <style id="variable" name="Variable" map-to="def:identifier"/> <style id="built-in-variable" name="Built-in Variable" map-to="def:builtin"/> <!-- operators --> <style id="operator-symbol" name="Operator Symbol" map-to="css:symbol"/> <!-- Less data types --> <style id="boolean" name="Boolean Value" map-to="def:boolean"/> <style id="group-delimiter" name="Group Delimiter" map-to="css:delimiter"/> <!-- mixins --> <style id="mixin-parameters-delimiter" name="Mixin Parameters Delimiter" map-to="css:delimiter"/> <!-- guards --> <style id="guard-operator" name="Guard Operator" map-to="css:at-rule-operator"/> <!-- Less selectors --> <style id="selector-fragment" name="Selector Fragment"/> </styles> <default-regex-options case-sensitive="false"/> <!-- from css:keyword-code-point --> <keyword-char-class>[^\x{0}-\x{2C}\x{2E}\x{2F}\x{3A}-\x{40}\x{5B}\x{5D}\x{5E}\x{60}\x{7B}-\x{7F}]</keyword-char-class> <definitions> <!-- global --> <define-regex id="identifier">[\w-]+</define-regex> <define-regex id="statement-end">;|(?=})</define-regex> <context id="embedded-lang-hook"/> <context id="less-embedded-lang-hook"> <include> <context ref="embedded-lang-hook"/> <context ref="css:embedded-lang-hook" original="true"/> </include> </context> <context id="single-line-comment" style-ref="css:comment" end-at-line-end="true" class-disabled="no-spell-check" class="comment"> <start>//</start> <include> <context ref="css:embedded-lang-hook"/> <!-- line continuations not allowed --> <context ref="def:in-comment"/> </include> </context> <context id="less-comment"> <include> <context ref="single-line-comment"/> <context ref="css:comment" original="true"/> </include> </context> <replace id="css:embedded-lang-hook" ref="less-embedded-lang-hook"/> <replace id="css:comment" ref="less-comment"/> <!-- variables --> <context id="variable" style-ref="variable"> <match>@\%{identifier}</match> </context> <context id="variable-interpolation" style-ref="variable"> <start>@{</start> <end>}</end> <include> <context ref="css:embedded-lang-hook"/> <!-- no comment here --> <!-- nested interpolations are not documented but appear to work (functions as variable reference / indirection) --> <context ref="variable-interpolation-value"/> </include> </context> <context id="variable-reference" style-ref="variable"> <match>@@\%{identifier}</match> </context> <context id="property-variable" style-ref="variable"> <match>\$\%{identifier}</match> </context> <context id="arguments-variable" style-ref="built-in-variable"> <match extended="true"> @arguments \%{css:keyword-end} </match> </context> <context id="arguments-variable-interpolation" style-ref="built-in-variable"> <match>@{arguments}</match> </context> <context id="variable-value"> <include> <context ref="arguments-variable"/> <context ref="variable"/> <context ref="variable-reference"/> <context ref="property-variable"/> </include> </context> <context id="variable-interpolation-value"> <include> <context ref="arguments-variable-interpolation"/> <context ref="variable-interpolation"/> </include> </context> <!-- operators --> <!-- it appears the slash is treated as division everywhere except in a font property declaration and in an aspect ratio media query test, not sure how to detect these cases also not sure what are Less' rules regarding hyphen vs subtraction --> <context id="arithmetic-operator" style-ref="operator-symbol"> <match extended="true"> [+*/] | (?<! \%{css:keyword-code-point} ) - (?! \%{css:keyword-code-point} ) </match> </context> <!-- Less data types --> <context id="boolean" style-ref="boolean"> <prefix>\%{css:keyword-start}</prefix> <suffix>\%{css:keyword-end}</suffix> <keyword>true</keyword> </context> <context id="double-quoted-escape-string" style-ref="css:string" end-at-line-end="true" class="string" class-disabled="no-spell-check"> <start>~"</start> <end>"</end> <include> <context ref="css:embedded-lang-hook"/> <!-- no comment here --> <context ref="css:string-content"/> </include> </context> <context id="single-quoted-escape-string" style-ref="css:string" end-at-line-end="true" class="string" class-disabled="no-spell-check"> <start>~'</start> <end>'</end> <include> <context ref="css:embedded-lang-hook"/> <!-- no comment here --> <context ref="css:string-content"/> </include> </context> <context id="escape-string"> <include> <context ref="double-quoted-escape-string"/> <context ref="single-quoted-escape-string"/> </include> </context> <context id="detached-ruleset"> <start>{</start> <end>}</end> <include> <context sub-pattern="0" where="start" style-ref="css:block-delimiter"/> <context sub-pattern="0" where="end" style-ref="css:block-delimiter"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="css:style-block-content"/> </include> </context> <context id="detached-ruleset-call-close-paren" style-ref="variable"> <match>\)</match> </context> <context id="detached-ruleset-call"> <start>@\%{identifier}\(</start> <end>\%{statement-end}</end> <include> <context sub-pattern="0" where="start" style-ref="variable"/> <context sub-pattern="0" where="end" style-ref="css:delimiter"/> <context ref="css:embedded-lang-hook"/> <!-- no comment here --> <context ref="detached-ruleset-call-close-paren"/> </include> </context> <context id="data-group"> <start>\(</start> <end>\)</end> <include> <context sub-pattern="0" where="start" style-ref="group-delimiter"/> <context sub-pattern="0" where="end" style-ref="group-delimiter"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="css:data-value"/> </include> </context> <context id="any-group"> <start>\(</start> <end>\)</end> <include> <context sub-pattern="0" where="start" style-ref="group-delimiter"/> <context sub-pattern="0" where="end" style-ref="group-delimiter"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="css:any-value"/> </include> </context> <!-- data types --> <context id="less-string-content"> <include> <context ref="variable-interpolation-value"/> <context ref="css:string-content" original="true"/> </include> </context> <replace id="css:string-content" ref="less-string-content"/> <!-- Less functions --> <!-- since % isn't a valid identifier --> <context id="format"> <start>%\(</start> <end>\)</end> <include> <context sub-pattern="0" where="start" style-ref="css:function"/> <context sub-pattern="0" where="end" style-ref="css:function"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="css:function-content"/> </include> </context> <!-- functions --> <context id="less-url"> <start extended="true"> \%{css:keyword-start} url \( </start> <end>\)</end> <include> <context sub-pattern="0" where="start" style-ref="css:function"/> <context sub-pattern="0" where="end" style-ref="css:function"/> <context ref="css:embedded-lang-hook"/> <!-- only accept multi-line comments because // is part of urls --> <context ref="css:comment" original="true"/> <context ref="css:escape" ignore-style="true"/> <context ref="css:string-value"/> </include> </context> <context id="less-function-content"> <include> <context ref="css:function-content" original="true"/> <context ref="css:semicolon"/> <!-- allowed as argument separator --> </include> </context> <context id="less-function-call"> <include> <context ref="format"/> <context ref="css:function-call" original="true"/> </include> </context> <replace id="css:url" ref="less-url"/> <replace id="css:function-content" ref="less-function-content"/> <replace id="css:function-call" ref="less-function-call"/> <!-- data values --> <context id="less-name-value"> <include> <context ref="css:function-call"/> <context ref="variable-value"/> <context ref="escape-string"/> <!-- outputs unquoted strings --> <context ref="css:name-value" original="true"/> </include> </context> <context id="less-string-value"> <include> <context ref="css:function-call"/> <context ref="variable-value"/> <context ref="css:string-value" original="true"/> </include> </context> <context id="less-data-value"> <include> <context ref="css:function-call"/> <context ref="data-group"/> <context ref="variable-value"/> <context ref="escape-string"/> <context ref="css:string-value" original="true"/> <context ref="css:color-value"/> <context ref="css:number-value"/> <context ref="css:unicode-range"/> <context ref="arithmetic-operator"/> </include> </context> <replace id="css:name-value" ref="less-name-value"/> <replace id="css:string-value" ref="less-string-value"/> <replace id="css:data-value" ref="less-data-value"/> <!-- any assignable value --> <context id="less-any-value"> <include> <context ref="css:function-call"/> <context ref="any-group"/> <context ref="variable-value"/> <context ref="escape-string"/> <context ref="boolean"/> <context ref="detached-ruleset"/> <context ref="css:property-value-keyword"/> <context ref="css:string-value" original="true"/> <context ref="css:color-value"/> <context ref="css:number-value"/> <context ref="css:unicode-range"/> <context ref="arithmetic-operator"/> <context ref="css:name-value" original="true"/> <context ref="css:slash"/> <context ref="css:comma"/> </include> </context> <replace id="css:any-value" ref="less-any-value"/> <!-- style properties --> <context id="less-property-name"> <include> <context ref="variable-interpolation-value"/> <context ref="css:property-name" original="true"/> </include> </context> <replace id="css:property-name" ref="less-property-name"/> <!-- style block --> <context id="less-declaration-property"> <include> <context ref="variable"/> <!-- variable assignment --> <context ref="css:declaration-property" original="true"/> </include> </context> <context id="less-declaration-value"> <start extended="true"> (?(DEFINE) (?<escape_comment_start> (?: \\ /[/*] )+ ) (?<escape> (?: \\ . )+ ) (?<escape_not_interpolation_start> (?: \\ (?! @{ ) . )+ ) (?<interpolation_start_chars> (?: (?: @ (?! { ) )+ | (?: (?<! @ ) { )+ ) ) (?<comment_start_chars> (?: (?: (?<! / ) / (?! [/*] ) )+ | (?: (?<! / ) \* )+ ) ) (?<comment_end_chars> (?: (?: \* (?! / ) )+ | (?: (?<! \* ) / )+ ) ) (?<single_line_comment> // .* ) (?<interpolation> # recursive subpattern to find matching braces @{ (?: (?> (?: [^}@{]+ | # no escapes (?&interpolation_start_chars) )+ ) | (?&interpolation) )* } ) (?<parentheses> # recursive subpattern to find matching parentheses \( (?: (?> (?: [^\\)(/*"']+ | (?&escape_comment_start) | (?&escape) | (?&comment_start_chars) )+ ) | (?&parentheses) | (?&single_line_comment) | (?&multiline_comment) | (?&double_quote_string) | (?&single_quote_string) )* \) ) (?<multiline_comment> # subpattern to find matching comment delimiters /\* (?: (?> (?: [^*/]+ | # no escapes (?&comment_end_chars) )+ ) )* \*/ ) (?<double_quote_string> # subpattern to find matching double quotes " (?: (?> (?: [^\\"@{]+ | (?&escape_not_interpolation_start) | (?&interpolation_start_chars) )+ ) | (?&interpolation) )* " ) (?<single_quote_string> # subpattern to find matching single quotes ' (?: (?> (?: [^\\'@{]+ | (?&escape_not_interpolation_start) | (?&interpolation_start_chars) )+ ) | (?&interpolation) )* ' ) ) (?: \+_?: | # property merge : (?: (?! # not the start of a \%{css:keyword-code-point} | # pseudo-class [:\\] | # pseudo-element, escape @{ | # variable interpolation /\* # comment ) | # or (?= # ends like a normal declaration (?: (?> (?: [^\\;}{(/*"']+ | (?&escape_comment_start) | (?&escape) | (?&comment_start_chars) )+ ) | (?&parentheses) | (?&single_line_comment) | (?&multiline_comment) | (?&double_quote_string) | (?&single_quote_string) )* \%{css:declaration-value-end} # with a semicolon or at the end of a block ) ) ) </start> <end>\%{css:declaration-value-end}</end> <include> <context sub-pattern="0" where="start" style-ref="css:delimiter"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="css:declaration-value-content"/> </include> </context> <context id="less-style-block-content"> <include> <context ref="css:at-rule"/> <!-- because Less variables look like at-rules --> <context ref="detached-ruleset-call"/> <context ref="standalone-plugin-function-call"/> <context ref="inside-ruleset-extend"/> <context ref="css:style-block-content" original="true"/> <context ref="css:selector"/> <context ref="css:style-block"/> </include> </context> <replace id="css:declaration-property" ref="less-declaration-property"/> <replace id="css:declaration-value" ref="less-declaration-value"/> <replace id="css:style-block-content" ref="less-style-block-content"/> <!-- media queries --> <!-- include variable-value at this level because a variable can contain the whole media feature test, e.g. ~'(orientation: landscape)' allowing variable-value here means variables are also allowed for media type and media feature test name/value --> <context id="less-media-queries"> <include> <context ref="variable-value"/> <context ref="css:media-queries" original="true"/> </include> </context> <replace id="css:media-queries" ref="less-media-queries"/> <!-- Less at-rules --> <!-- @plugin <options>? <url(...)|"url">; --> <context id="at-plugin-options"> <start>(?<=@plugin)\s*(\()</start> <end>\)</end> <include> <context sub-pattern="1" where="start" style-ref="group-delimiter"/> <context sub-pattern="0" where="end" style-ref="group-delimiter"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <!-- options are passed to the plugin directly, not parsed by Less --> </include> </context> <context id="at-plugin"> <start extended="true"> @plugin \%{css:keyword-end} </start> <include> <context sub-pattern="0" where="start" style-ref="css:at-rule"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="at-plugin-options"/> <context ref="css:url"/> <!-- appears to follow the same rules as @import regarding variables --> <context ref="escape-string"/> <context ref="css:string-value" original="true"/> <context ref="css:at-rule-delimiter"/> </include> </context> <context id="standalone-plugin-function-call"> <start extended="true"> \%{css:keyword-start} (?= \%{identifier} \( ) </start> <end>\%{statement-end}</end> <include> <context sub-pattern="0" where="end" style-ref="css:delimiter"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="css:function-call"/> </include> </context> <!-- at-rules --> <context id="less-at-charset"> <start case-sensitive="true" extended="true"> @charset \%{css:keyword-end} </start> <include> <context sub-pattern="0" where="start" style-ref="css:at-rule"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <!-- though Less preserves quote type, which may be invalid --> <context ref="css:string"/> <context ref="css:at-rule-delimiter"/> </include> </context> <context id="less-font-feature-type-value"> <include> <context ref="variable-interpolation-value"/> <context ref="css:font-feature-type-value" original="true"/> </include> </context> <context id="less-font-feature-value-declaration-name"> <include> <context ref="variable-interpolation-value"/> <context ref="css:font-feature-value-declaration-name" original="true"/> </include> </context> <context id="less-font-feature-value-declaration-value-content"> <include> <context ref="variable-value"/> <context ref="css:font-feature-value-declaration-value-content" original="true"/> </include> </context> <!-- @import <option (, option)*>? <url(...)|"url"> <media-queries>?; --> <context id="less-at-import-options-keyword" style-ref="css:keyword"> <prefix>\%{css:keyword-start}</prefix> <suffix>\%{css:keyword-end}</suffix> <keyword>css</keyword> <keyword>inline</keyword> <keyword>less</keyword> <keyword>multiple</keyword> <keyword>once</keyword> <keyword>optional</keyword> <keyword>reference</keyword> </context> <context id="less-at-import-options"> <start>(?<=@import)\s*(\()</start> <end>\)</end> <include> <context sub-pattern="1" where="start" style-ref="group-delimiter"/> <context sub-pattern="0" where="end" style-ref="group-delimiter"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="less-at-import-options-keyword"/> <context ref="css:comma"/> </include> </context> <context id="less-at-import"> <start extended="true"> @import \%{css:keyword-end} </start> <include> <context sub-pattern="0" where="start" style-ref="css:at-rule"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="less-at-import-options"/> <context ref="css:url"/> <context ref="css:media-queries"/> <!-- it appears only variable interpolation (in strings) is allowed https://github.com/SomMeri/less4j/wiki/Less-Language-Import#syntax but variables are allowed in media queries :-P --> <context ref="css:string-value" original="true"/> <context ref="css:at-rule-delimiter"/> </include> </context> <context id="less-keyframe-selector-value"> <include> <context ref="variable-interpolation-value"/> <context ref="css:keyframe-selector-value" original="true"/> </include> </context> <context id="less-at-rule"> <include> <context ref="at-plugin"/> <context ref="css:at-rule" original="true"/> </include> </context> <replace id="css:at-rule-style-block-content" ref="less-style-block-content"/> <replace id="css:at-rule-css-block-content" ref="less-style-block-content"/> <replace id="css:at-charset" ref="less-at-charset"/> <replace id="css:font-feature-type-value" ref="less-font-feature-type-value"/> <replace id="css:font-feature-value-declaration-name" ref="less-font-feature-value-declaration-name"/> <replace id="css:font-feature-value-declaration-value-content" ref="less-font-feature-value-declaration-value-content"/> <replace id="css:at-import" ref="less-at-import"/> <replace id="css:keyframe-selector-value" ref="less-keyframe-selector-value"/> <replace id="css:at-rule" ref="less-at-rule"/> <!-- mixins --> <context id="variable-arguments" style-ref="operator-symbol"> <match>\.\.\.</match> </context> <context id="mixin-parameters"> <start>\(</start> <end>\)</end> <include> <context sub-pattern="0" where="start" style-ref="mixin-parameters-delimiter"/> <context sub-pattern="0" where="end" style-ref="mixin-parameters-delimiter"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="css:any-value"/> <context ref="variable-arguments"/> <context ref="css:colon"/> <!-- named parameters / default values --> <context ref="css:semicolon"/> </include> </context> <!-- guards --> <context id="guard-logical-operator" style-ref="guard-operator"> <prefix>\%{css:keyword-start}</prefix> <suffix>\%{css:keyword-end}</suffix> <keyword>and</keyword> <keyword>not</keyword> <keyword>or</keyword> </context> <context id="guard-comparison-operator" style-ref="operator-symbol"> <match>>=?|=<?|<</match> </context> <context id="guard-test"> <start>\(</start> <end>\)</end> <include> <context sub-pattern="0" where="start" style-ref="css:test-delimiter"/> <context sub-pattern="0" where="end" style-ref="css:test-delimiter"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="css:any-value"/> <context ref="guard-comparison-operator"/> </include> </context> <context id="guard"> <start extended="true"> \%{css:keyword-start} when \%{css:keyword-end} </start> <end>(?={)</end> <include> <context sub-pattern="0" where="start" style-ref="guard-operator"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="guard-test"/> <context ref="guard-logical-operator"/> <context ref="css:comma"/> </include> </context> <!-- Less selectors --> <!-- Less does not appear to allow comments between the colon(s) and pseudo-element/class name --> <context id="parent-combinator"> <match>(&)(\%{css:identifier-chars}?)</match> <include> <context sub-pattern="1" style-ref="css:combinator"/> <context sub-pattern="2" style-ref="selector-fragment"/> </include> </context> <context id="variable-interpolation-fragment" style-ref="selector-fragment"> <match>(?<=})\%{css:identifier-chars}</match> </context> <context id="extend-pseudo-class-keyword" once-only="true" style-ref="css:keyword"> <prefix>\%{css:keyword-start}</prefix> <suffix>\%{css:keyword-end}</suffix> <keyword>all</keyword> </context> <context id="extend-pseudo-class" end-parent="true"> <start extended="true"> \%{css:keyword-start} extend \( </start> <end>\)</end> <include> <context sub-pattern="0" where="start" style-ref="css:pseudo-class"/> <context sub-pattern="0" where="end" style-ref="css:pseudo-class"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="extend-pseudo-class-keyword"/> <context ref="css:selector"/> </include> </context> <context id="inside-ruleset-extend"> <start>(?=&:extend\()</start> <end>\%{statement-end}</end> <include> <context sub-pattern="0" where="end" style-ref="css:delimiter"/> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="css:selector"/> </include> </context> <!-- selectors --> <context id="less-attribute-selector-content"> <include> <context ref="variable-interpolation-value"/> <context ref="css:attribute-selector-content" original="true"/> </include> </context> <context id="less-simple-selector"> <include> <context ref="variable-interpolation-value"/> <!-- include in simple selector to be included in :not() --> <context ref="variable-interpolation-fragment"/> <context ref="css:simple-selector" original="true"/> </include> </context> <context id="less-combinator"> <include> <context ref="parent-combinator"/> <context ref="css:combinator" original="true"/> </include> </context> <context id="less-lang-pseudo-class-content"> <include> <context ref="variable-interpolation-value"/> <context ref="css:lang-pseudo-class-content" original="true"/> </include> </context> <context id="less-nth-pseudo-class-content"> <include> <context ref="variable-interpolation-value"/> <context ref="css:nth-pseudo-class-content" original="true"/> </include> </context> <context id="less-pseudo-class-content"> <include> <context ref="extend-pseudo-class"/> <context ref="css:pseudo-class-content" original="true"/> </include> </context> <context id="less-pseudo-class-not-pseudo-class-argument-content"> <include> <context ref="extend-pseudo-class" style-ref="css:error"/> <context ref="css:pseudo-class-not-pseudo-class-argument-content" original="true"/> </include> </context> <context id="less-selector"> <include> <context ref="guard"/> <context ref="css:modifier"/> <context ref="css:selector" original="true"/> <context ref="mixin-parameters"/> <!-- can interfere with pseudo-class arguments --> <context ref="css:semicolon"/> <!-- after mixin calls --> </include> </context> <replace id="css:attribute-selector-content" ref="less-attribute-selector-content"/> <replace id="css:simple-selector" ref="less-simple-selector"/> <replace id="css:combinator" ref="less-combinator"/> <replace id="css:lang-pseudo-class-content" ref="less-lang-pseudo-class-content"/> <replace id="css:nth-pseudo-class-content" ref="less-nth-pseudo-class-content"/> <replace id="css:pseudo-class-content" ref="less-pseudo-class-content"/> <replace id="css:pseudo-class-not-pseudo-class-argument-content" ref="less-pseudo-class-not-pseudo-class-argument-content"/> <replace id="css:selector" ref="less-selector"/> <!-- top level declarations --> <context id="top-level-declaration-property"> <include> <context ref="variable"/> </include> </context> <context id="top-level-declaration"> <include> <context ref="top-level-declaration-property"/> <context ref="css:declaration-value"/> <context ref="css:modifier"/> <context ref="css:semicolon"/> </include> </context> <!-- main context --> <context id="less" class="no-spell-check"> <include> <context ref="css:embedded-lang-hook"/> <context ref="css:comment"/> <context ref="css:at-rule"/> <!-- because Less variables look like at-rules --> <context ref="detached-ruleset-call"/> <context ref="standalone-plugin-function-call"/> <context ref="top-level-declaration"/> <context ref="css:selector"/> <context ref="css:style-block"/> </include> </context> </definitions> </language>
Close