kr.motd.maven.sphinx.dist.pygments.lexers.templates$py.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphinx-maven-plugin Show documentation
Show all versions of sphinx-maven-plugin Show documentation
Maven plugin that creates the site with Sphinx
???? 1
? f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; __doc__ ?
pygments.lexers.templates
~~~~~~~~~~~~~~~~~~~~~~~~~
Lexers for various template engines' markup.
:copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
org/python/core/PyString fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString;
org/python/core/PyFrame
setglobal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline (I)V
re org/python/core/imp importOne H(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject;
setlocal
pygments.lexers.html " java/lang/String $ HtmlLexer & XmlLexer (
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject; * +
, pygments.lexers.javascript . JavascriptLexer 0
LassoLexer 2 pygments.lexers.css 4 CssLexer 6 pygments.lexers.php 8 PhpLexer : pygments.lexers.python < PythonLexer > pygments.lexers.perl @ PerlLexer B pygments.lexers.jvm D JavaLexer F TeaLangLexer H pygments.lexers.data J YamlLexer L pygments.lexer N Lexer P DelegatingLexer R
RegexLexer T bygroups V include X using Z this \ default ^ combined ` pygments.token b Error d Punctuation f
Whitespace h Text j Comment l Operator n Keyword p Name r String t Number v Other x Token z
pygments.util | html_doctype_matches ~ looks_like_xml ? org/python/core/PyList ? org/python/core/PyObject ? HtmlPhpLexer ? XmlPhpLexer ? CssPhpLexer ? JavascriptPhpLexer ? ErbLexer ?
RhtmlLexer ? XmlErbLexer ? CssErbLexer ? JavascriptErbLexer ? SmartyLexer ? HtmlSmartyLexer ? XmlSmartyLexer ? CssSmartyLexer ? JavascriptSmartyLexer ? DjangoLexer ? HtmlDjangoLexer ? CssDjangoLexer ? XmlDjangoLexer ? JavascriptDjangoLexer ? GenshiLexer ? HtmlGenshiLexer ? GenshiTextLexer ? CssGenshiLexer ? JavascriptGenshiLexer ? MyghtyLexer ? MyghtyHtmlLexer ? MyghtyXmlLexer ? MyghtyCssLexer ? MyghtyJavascriptLexer ?
MasonLexer ? MakoLexer ?
MakoHtmlLexer ? MakoXmlLexer ? MakoJavascriptLexer ? MakoCssLexer ? JspLexer ? CheetahLexer ? CheetahHtmlLexer ? CheetahXmlLexer ? CheetahJavascriptLexer ? EvoqueLexer ? EvoqueHtmlLexer ? EvoqueXmlLexer ? ColdfusionLexer ? ColdfusionHtmlLexer ? ColdfusionCFCLexer ?
VelocityLexer ? VelocityHtmlLexer ? VelocityXmlLexer ? SspLexer ? TeaTemplateLexer ? LassoHtmlLexer ?
LassoXmlLexer ?
LassoCssLexer ? LassoJavascriptLexer ? HandlebarsLexer ? HandlebarsHtmlLexer ? YamlJinjaLexer ? LiquidLexer ? TwigLexer ?
TwigHtmlLexer ?
Angular2Lexer Angular2HtmlLexer ([Lorg/python/core/PyObject;)V
? __all__ getname .(Ljava/lang/String;)Lorg/python/core/PyObject;
ErbLexer$1
__module__ __name__
Generic `ERB `_ (Ruby Templating)
lexer.
Just highlights ruby code between the preprocessor directives, other data
is left untouched by the lexer.
All options are also forwarded to the `RubyLexer`.
ERB name erb aliases application/x-ruby-templating mimetypes compile! __getattr__#
?$ *(<%%|%%>|<%=|<%#|<%-|<%|-%>|%>|^%[^%].*?$)& M( __call__ m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;*+
?, _block_re. org/python/core/Py0 EmptyObjects [Lorg/python/core/PyObject;23 14 org/python/core/PyFunction6 f_globals Lorg/python/core/PyObject;89 :
__init__$2 pygments.lexers.ruby= RubyLexer? (ILorg/python/core/PyObject;)V A
B getlocal (I)Lorg/python/core/PyObject;DE
F
_callextra ~([Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;HI
?J
ruby_lexerL __setattr__N
?O getglobalQ
R __init__T f_lasti IVW X NoneZ9 1[ pygments/lexers/templates$py] Lorg/python/core/PyCode;<_ ^` j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)Vb
7c get_tokens_unprocessed$3 ?
Since ERB doesn't allow "<%" and other tags inside of ruby
blocks we have to use a split approach here that fails for
that too.
f splith S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;*j
?k reversem 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;*o
?p
newInteger (I)Lorg/python/core/PyInteger;rs
1t _eq 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject;vw
?x __nonzero__ ()Zz{
?| pop~ org/python/core/PyTuple?
? java/util/Arrays? fill (([Ljava/lang/Object;Ljava/lang/Object;)V??
?? java/lang/Object?
f_savedlocals [Ljava/lang/Object;?? ? getGeneratorInput ()Ljava/lang/Object;??
? org/python/core/PyException? java/lang/Throwable? len? _iadd?w
?? <%%? %%>? _in?w
?? <%#? Preproc? _add?w
?? <%? <%=? <%-? get_tokens_unprocessed? __iter__ ()Lorg/python/core/PyObject;??
?? unpackSequence 8(Lorg/python/core/PyObject;I)[Lorg/python/core/PyObject;??
1? __iternext__??
?? %>? -%>? __getitem__?w
?? __getslice__ j(Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;??
?? _notin?w
?? True? setException M(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException;??
1?
IndexError? match (Lorg/python/core/PyObject;)Z??
??e_ ^? analyse_text$4?ٙ????? newFloat (D)Lorg/python/core/PyFloat;??
1??_ ^? analyse_text? getf_locals??
?_ ^? makeClass a(Ljava/lang/String;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)Lorg/python/core/PyObject;??
1?
SmartyLexer$5 ?
Generic `Smarty `_ template lexer.
Just highlights smarty code between the preprocessor directives, other
data is left untouched by the lexer.
? Smarty? smarty? *.tpl? filenames? application/x-smarty? MULTILINE? DOTALL? _or?w
?? flags org/python/core/PyDictionary root [^{]+ (\{)(\*.*?\*)(\}) ?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;*
? (\{php\})(.*?)(\{/php\}) startinline g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject;*
? (\{)(/?[a-zA-Z_]\w*)(\s*) Function \{ \s+ #push \} #pop! #[a-zA-Z_]\w*## Variable% \$[a-zA-Z_]\w*(\.\w+)*' [~!%^&*()+=|\[\]:;,.<>/?@-]) (true|false|null)\b+ Constant- >[0-9](\.[0-9]*)?(eE[+-][0-9])?[flFLdD]?|0[xX][0-9a-fA-F]+[Ll]?/ "(\\\\|\\"|[^"])*"1 Double3 '(\\\\|\\'|[^'])*'5 Single7 [a-zA-Z_]\w*9 Attribute;
tokens> analyse_text$6 searchC \{if\s+.*?\}.*?\{/if\}E??333333 \{include\s+file=.*?\}I \{foreach\s+.*?\}.*?\{/foreach\}K \{\$.*?\}M??z?G?{@_ ^Q?_ ^S VelocityLexer$7 ?
Generic `Velocity `_ template lexer.
Just highlights velocity directives and variable references, other
data is left untouched by the lexer.
V VelocityX velocityZ *.vm\ *.fhtml^
identifier` [^{#$]+b (#)(\*.*?\*)(#)d
(##)(.*?$)f (#\{?)(h
)(\}?)(\s?\()j ?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;*l
?m directiveparamso )(\}|\b)q \$\{?s variableu \(w
funcparamsy (\.)({ )} =(&&|\|\||==?|!=?|[-<>+*%&|^/])|\b(eq|ne|gt|lt|ge|le|not|in)\b \[?
rangeoperator? \b? \.\.? \]? [,:]? 0[xX][0-9a-fA-F]+[Ll]??
\b[0-9]+\b? \)? analyse_text$8 #\{?macro\}?\(.*?\).*?#\{?end\}???? #\{?if\}?\(.+?\).*?#\{?end\}?? "#\{?foreach\}?\(.+?\).*?#\{?end\}?? 4\$\{?[a-zA-Z_]\w*(\([^)]*\))?(\.\w+(\([^)]*\))?)*\}???_ ^?U_ ^? VelocityHtmlLexer$9 a
Subclass of the `VelocityLexer` that highlights unlexed data
with the `HtmlLexer`.
?
HTML+Velocity?
html+velocity? *.html? alias_filenames? text/html+velocity? __init__$10 super??_ ^??_ ^? VelocityXmlLexer$11 `
Subclass of the `VelocityLexer` that highlights unlexed data
with the `XmlLexer`.
? XML+Velocity? xml+velocity? *.xml? application/xml+velocity? __init__$12?_ ^? analyse_text$13 _sub?w
???_ ^??_ ^? DjangoLexer$14
Generic `django `_
and `jinja `_ template lexer.
It just highlights django/jinja code between the preprocessor directives,
other data is left untouched by the lexer.
? Django/Jinja? django? jinja? application/x-django-templating? application/x-jinja? S? \{\{? var? \{[*#].*?[*#]\}? J(\{%)(-?\s*)(comment)(\s*-?)(%\})(.*?)(\{%)(-?\s*)(endcomment)(\s*-?)(%\})? T(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;)Lorg/python/core/PyObject;*?
?? B(\{%)(-?\s*)(raw)(\s*-?)(%\})(.*?)(\{%)(-?\s*)(endraw)(\s*-?)(%\})? '(\{%)(-?\s*)(filter)(\s+)([a-zA-Z_]\w*)? block? (\{%)(-?\s*)([a-zA-Z_]\w*)? varnames? (\|)(\s*)([a-zA-Z_]\w*)? #(is)(\s+)(not)?(\s+)?([a-zA-Z_]\w*)? %(_|true|false|none|True|False|None)\b? Pseudo? m(in|as|reversed|recursive|not|and|or|is|if|else|import|with(?:(?:out)?\s*context)?|scoped|ignore\s+missing)\b? (loop|block|super|forloop)\b? Builtin? [a-zA-Z_][\w-]*? \.\w+ :?"(\\\\|\\"|[^"])*" :?'(\\\\|\\'|[^'])*' ([{}()\[\]+\-*/,:~]|[><=]=?)
(-?)(\}\}) (-?)(%\})
. analyse_text$15 \{%\s*(block|extends)Z _isnotw
? \{%\s*if\s*.*?%\}???????? \{\{.*?\}\}_ ^?_ ^ MyghtyLexer$16 ?
Generic `myghty templates`_ lexer. Code that isn't Myghty
markup is yielded as `Token.Other`.
.. versionadded:: 0.6
.. _myghty templates: http://www.myghty.org/
Myghty" myghty$ *.myt& autodelegate( application/x-myghty* 3(<%(?:def|method))(\s*)(.*?)(>)(.*?)(%\2\s*>)(?s), Tag. #(<%\w+)(.*?)(>)(.*?)(%\2\s*>)(?s)0 (<&[^|])(.*?)(,.*?)?(&>)2 (<&\|)(.*?)(,.*?)?(&>)(?s)4 &>6 (<%!?)(.*?)(%>)(?s)8 (?<=^)#[^\n]*(\n|\Z): (?<=^)(%)([^\n]*)(\n|\Z)<?(?sx)
(.+?) # anything, followed by:
(?:
(?<=\n)(?=[%#]) | # an eval or comment line
(?=?[%&]) | # a substitution or block or
# call start or end
# - don't consume
(\\\n) | # an escaped newline
\Z # end of string
)>_ ^@ MyghtyHtmlLexer$17 y
Subclass of the `MyghtyLexer` that highlights unlexed data
with the `HtmlLexer`.
.. versionadded:: 0.6
C HTML+MyghtyE html+myghtyG text/html+myghtyI __init__$18K_ ^LB_ ^N MyghtyXmlLexer$19 x
Subclass of the `MyghtyLexer` that highlights unlexed data
with the `XmlLexer`.
.. versionadded:: 0.6
Q
XML+MyghtyS
xml+myghtyU application/xml+myghtyW __init__$20Y_ ^ZP_ ^\ MyghtyJavascriptLexer$21
Subclass of the `MyghtyLexer` that highlights unlexed data
with the `JavascriptLexer`.
.. versionadded:: 0.6
_ JavaScript+Myghtya js+myghtyc javascript+myghtye application/x-javascript+myghtyg text/x-javascript+myghtyi text/javascript+mygthyk __init__$22m_ ^n^_ ^p MyghtyCssLexer$23 x
Subclass of the `MyghtyLexer` that highlights unlexed data
with the `CssLexer`.
.. versionadded:: 0.6
s
CSS+Myghtyu
css+myghtyw text/css+myghtyy __init__$24{_ ^|r_ ^~
MasonLexer$25 ?
Generic `mason templates`_ lexer. Stolen from Myghty lexer. Code that isn't
Mason markup is HTML.
.. _mason templates: http://www.masonhq.com/
.. versionadded:: 1.4
? Mason? mason? *.m? *.mhtml? *.mc? *.mi? autohandler? dhandler? application/x-mason? (<%doc>)(.*?)(%doc>)(?s)? Multiline? (<&[^|])(.*?)(,.*?)?(&>)(?s)? analyse_text$26 %(class|doc|init)%>??? <&.+&>???(?\)?_ ^??_ ^? MakoLexer$27 ?
Generic `mako templates`_ lexer. Code that isn't Mako
markup is yielded as `Token.Other`.
.. versionadded:: 0.7
.. _mako templates: http://www.makotemplates.org/
? Mako? mako? *.mao? application/x-mako? (\s*)(%)(\s*end(?:\w+))(\n|\Z)? (\s*)(%)([^\n]*)(\n|\Z)? (\s*)(##[^\n]*)(\n|\Z)? (?s)<%doc>.*?%doc>?
(<%)([\w.:]+)? tag? (%)([\w.:]+)(>)? <%(?=([\w.:]+))? ondeftags? (<%(?:!?))(.*?)(%>)(?s)? (\$\{)(.*?)(\})?\(?sx)
(.+?) # anything, followed by:
(?:
(?<=\n)(?=%|\#\#) | # an eval or comment line
(?=\#\*) | # multiline comment
(?=?%) | # a python block
# call start or end
(?=\$\{) | # a substitution
(?<=\n)(?=\s*%) |
# - don't consume
(\\\n) | # an escaped newline
\Z # end of string
)
? '(?<=<%)(include|inherit|namespace|page)? ((?:\w+)\s*=)(\s*)(".*?")? /?\s*>? attr? ".*?"? '.*?'? [^\s>]+??_ ^? MakoHtmlLexer$28 w
Subclass of the `MakoLexer` that highlights unlexed data
with the `HtmlLexer`.
.. versionadded:: 0.7
? HTML+Mako? html+mako? text/html+mako? __init__$29?_ ^??_ ^? MakoXmlLexer$30 v
Subclass of the `MakoLexer` that highlights unlexed data
with the `XmlLexer`.
.. versionadded:: 0.7
? XML+Mako? xml+mako? application/xml+mako? __init__$31?_ ^??_ ^? MakoJavascriptLexer$32 }
Subclass of the `MakoLexer` that highlights unlexed data
with the `JavascriptLexer`.
.. versionadded:: 0.7
? JavaScript+Mako? js+mako? javascript+mako? application/x-javascript+mako text/x-javascript+mako text/javascript+mako __init__$33_ ^?_ ^ MakoCssLexer$34 v
Subclass of the `MakoLexer` that highlights unlexed data
with the `CssLexer`.
.. versionadded:: 0.7
CSS+Mako css+mako
text/css+mako __init__$35_ ^_ ^ CheetahPythonLexer CheetahPythonLexer$36 I
Lexer for handling Cheetah's special $ tokens in Python syntax.
get_tokens_unprocessed$37 options $!_ ^#_ ^% CheetahLexer$382
Generic `cheetah templates`_ lexer. Code that isn't Cheetah
markup is yielded as `Token.Other`. This also works for
`spitfire templates`_ which use the same syntax.
.. _cheetah templates: http://www.cheetahtemplate.org/
.. _spitfire templates: http://code.google.com/p/spitfire/
( Cheetah* cheetah, spitfire. *.tmpl0 *.spt2 application/x-cheetah4 application/x-spitfire6 (##[^\n]*)$8 #[*](.|\n)*?[*]#: #end[^#\n]*(?:#|$)< #slurp$> (#[a-zA-Z]+)([^#\n]*)(#|$)@ (\$)([a-zA-Z_][\w.]*\w)B (\$\{!?)(.*?)(\})(?s)D(?sx)
(.+?) # anything, followed by:
(?:
(?=\#[#a-zA-Z]*) | # an eval comment
(?=\$[a-zA-Z_{]) | # a substitution
\Z # end of string
)
F'_ ^H CheetahHtmlLexer$39 _
Subclass of the `CheetahLexer` that highlights unlexed data
with the `HtmlLexer`.
K HTML+CheetahM html+cheetahO
html+spitfireQ htmlcheetahS text/html+cheetahU text/html+spitfireW __init__$40Y_ ^ZJ_ ^\ CheetahXmlLexer$41 ^
Subclass of the `CheetahLexer` that highlights unlexed data
with the `XmlLexer`.
_ XML+Cheetaha xml+cheetahc xml+spitfiree application/xml+cheetahg application/xml+spitfirei __init__$42k_ ^l^_ ^n CheetahJavascriptLexer$43 e
Subclass of the `CheetahLexer` that highlights unlexed data
with the `JavascriptLexer`.
q JavaScript+Cheetahs
js+cheetahu javascript+cheetahw js+spitfirey javascript+spitfire{ application/x-javascript+cheetah} text/x-javascript+cheetah text/javascript+cheetah? !application/x-javascript+spitfire? text/x-javascript+spitfire? text/javascript+spitfire? __init__$44?_ ^?p_ ^? GenshiTextLexer$45 ]
A lexer that highlights `genshi `_ text
templates.
? Genshi Text?
genshitext? application/x-genshi-text?
text/x-genshi? [^#$\s]+?
^(\s*)(##.*)$? ^(\s*)(#)? directive? [#$\s]? \n? (?:def|for|if)\s+.*? (choose|when|with)([^\S\n]+)(.*)? (choose|otherwise)\b? (end\w*)([^\S\n]*)(.*)? (?