All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kr.motd.maven.sphinx.dist.docutils.parsers.rst.roles$py.class Maven / Gradle / Ivy

There is a newer version: 2.10.0
Show newest version
????1?f$0R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;__doc__

This module defines standard interpreted text role functions, a registry for
interpreted text roles, and an API for adding to and retrieving from the
registry.

The interface for interpreted role functions is as follows::

    def role_fn(name, rawtext, text, lineno, inliner,
                options={}, content=[]):
        code...

    # Set function attributes for customization:
    role_fn.options = ...
    role_fn.content = ...

Parameters:

- ``name`` is the local name of the interpreted text role, the role name
  actually used in the document.

- ``rawtext`` is a string containing the entire interpreted text construct.
  Return it as a ``problematic`` node linked to a system message if there is a
  problem.

- ``text`` is the interpreted text content, with backslash escapes converted
  to nulls (``??``).

- ``lineno`` is the line number where the interpreted text beings.

- ``inliner`` is the Inliner object that called the role function.
  It defines the following useful attributes: ``reporter``,
  ``problematic``, ``memo``, ``parent``, ``document``.

- ``options``: A dictionary of directive options for customization, to be
  interpreted by the role function.  Used for additional attributes for the
  generated elements and other functionality.

- ``content``: A list of strings, the directive content for customization
  ("role" directive).  To be interpreted by the role function.

Function attributes for customization, interpreted by the "role" directive:

- ``options``: A dictionary, mapping known option names to conversion
  functions such as `int` or `float`.  ``None`` or an empty dict implies no
  options to parse.  Several directive option conversion functions are defined
  in the `directives` module.

  All role functions implicitly support the "class" option, unless disabled
  with an explicit ``{'class': None}``.

- ``content``: A boolean; true if content is allowed.  Client code must handle
  the case where content is required but not supplied (an empty content list
  will be supplied).

Note that unlike directives, the "arguments" function attribute is not
supported for role customization.  Directive arguments are handled by the
"role" directive itself.

Interpreted role functions return a tuple of two values:

- A list of nodes which will be inserted into the document tree at the
  point where the interpreted role was encountered (can be an empty
  list).

- A list of system messages, which will be inserted into the document tree
  immediately after the end of the current inline block (can also be empty).
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
reStructuredText
__docformat__setlocal
docutilsjava/lang/String nodes"utils$org/python/core/imp&
importFrom\(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;()
'*docutils.parsers.rst,
directives.docutils.parsers.rst.languages0en2_fallback_language_module4docutils.utils.code_analyzer6Lexer8
LexerError:title-reference<DEFAULT_INTERPRETED_ROLE>?
The canonical name of the default interpreted role.  This role is used
when no role is specified for a piece of interpreted text.
@org/python/core/PyDictionaryBorg/python/core/PyDEmptyObjectsorg/python/core/PyObject;FG	EH([Lorg/python/core/PyObject;)VJK
CL_role_registryN}Mapping of canonical role names to role functions.  Language-dependent role
names are defined in the ``language`` subpackage.P_rolesRUMapping of local or language-dependent interpreted text role names to role
functions.Torg/python/core/PyFunctionV	f_globalsLorg/python/core/PyObject;XY	Zrole$1.
    Locate and return a role function from its language-dependent name, along
    with a list of system messages.  If the role is not found in the current
    language, check English.  Return a 2-tuple: role function (``None`` if the
    named role cannot be found) and a list of system messages.
    ]getlocal(I)Lorg/python/core/PyObject;_`
alowercorg/python/core/PyObjecte__getattr__.(Ljava/lang/String;)Lorg/python/core/PyObject;gh
fi__call__9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;kl
fm(ILorg/python/core/PyObject;)Vo
porg/python/core/PyListr
sL	getglobaluh
v_in6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject;xy
fz__nonzero__()Z|}
f~org/python/core/PyTuple?__getitem__?y
f?
?Lf_lastiI??	?None?roles?setExceptionM(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException;??
E?AttributeError?org/python/core/PyException?match(Lorg/python/core/PyObject;)Z??
??value?Y	??append?:Problem retrieving role entry from language module %r: %s.?_mod?y
f?S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;k?
f?KeyError?&No role entry for "%s" in module "%s".?__name__?java/lang/Throwable?__not__()Lorg/python/core/PyObject;??
f?%Using English fallback for role "%s".?#Trying "%s" as canonical role name.?info?
?join?line?g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject;k?
f?register_local_role?m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;k?
f?docutils/parsers/rst/roles$py?Lorg/python/core/PyCode;\?	??j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)VJ?
W?role?register_canonical_role$2?
    Register an interpreted text role by its canonical name.

    :Parameters:
      - `name`: The canonical name of the interpreted role.
      - `role_fn`: The role function.  See the module docstring.
    ?set_implicit_options?__setitem__7(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)V??
f??Y	E???	??register_canonical_role?register_local_role$3?
    Register an interpreted text role by its local or language-dependent name.

    :Parameters:
      - `name`: The local or language-dependent name of the interpreted role.
      - `role_fn`: The role function.  See the module docstring.
    ???	??set_implicit_options$4]
    Add customization options to role functions, unless explicitly set or
    disabled.
    ?hasattr?options?_is?y
f?class?class_option?__setattr__?
f?_notin?y
f???	??register_generic_role$5AFor roles which simply wrap a given `node_class` around the text.?GenericRole???	?register_generic_role
GenericRole$6
__module__getnameh
w
    Generic interpreted text role, where the interpreted text is simply
    wrapped with the provided node class.
    

__init__$7name

node_class?	?__init__
__call__$8set_classesunescape
_callextra~([Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;
f?	?kgetf_locals!?
"?	?$	makeClassa(Ljava/lang/String;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)Lorg/python/core/PyObject;&'
E(java/util/Arrays*fill(([Ljava/lang/Object;Ljava/lang/Object;)V,-
+.
CustomRole0CustomRole$94
    Wrapper for custom interpreted text roles.
    3__init__$10	base_role6content8supplied_options:supplied_content<5?	?>__call__$11copyAupdateClistE_iaddGy
fHextendJ@?	?L2?	?Ngeneric_custom_role$12QinlineSP?	?Ugeneric_custom_roleWabbreviationYacronym[emphasis]literal_stronga	subscriptcsuperscriptetitle_referencegpep_reference_role$13intj
newInteger(I)Lorg/python/core/PyInteger;lm
En_ltpy
fq_gtsy
ft
ValueErrorv
makeException9(Lorg/python/core/PyObject;)Lorg/python/core/PyException;xy
Ezreporter|error~"newCode?(I[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZLorg/python/core/PyFunctionTable;I[Ljava/lang/String;[Ljava/lang/String;II)Lorg/python/core/PyCode;$%
E&?	?(	role_name*language_module,lineno.normname0messages2msg_text4
canonicalname6message8role_fn:canonical_name<rawtext?textAinlinerCoptsEcontGpepnumImsgKprbMrefOrfcnumQnodeStokensU?iX
attributesZgetMain()Lorg/python/core/PyCode;main([Ljava/lang/String;)V?J
?a\]
?corg/python/core/CodeLoaderecreateSimpleBootstrap9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap;gh
firunMain5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)Vkl
EmgetCodeBootstrap!()Lorg/python/core/CodeBootstrap;#org/python/core/PyRunnableBootstrapq)getFilenameConstructorReflectionBootstrap2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap;st
ru
call_functionS(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;
?y\
?{?
?}?
??
???
??
??
??
??2
??5
??@
??P
??i
???
???
???
???
???
??
??org/python/core/PyRunnable? Lorg/python/compiler/APIVersion;%Lorg/python/compiler/MTime;`9p?Lorg/python/compiler/Filename;d/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/docutils/parsers/rst/roles.pyorg/python/core/ThreadState?java/lang/Object?GCodeLineNumberTableStackMap
SourceFileRuntimeVisibleAnnotations!???\????????????2?5?@?P?i?????????????	*+??+G??W+I??N+-?N+K??!N-#S-%S-+?+N-2:+#?:-2:+%?:+L?-?!N-/S-+?+N-2:+/?:+M?1?!N-3S-+?+N-2:+5?:+N?7?!N-9S-;S-+?+N-2:+9?:-2:+;?:+P?=?N+?-?N+T?A?W+V??CY?I?MN+O-?N+X?Q?W+Z??CY?I?MN+S-?N+\?U?W+^??IN?WY+?[-??^???N+?-?N+???IN?WY+?[-??Ӹ??N+?-?N+???IN?WY+?[-?????N+?-?N+???IN?WY+?[-?????N+?-?N+???IN?WY+?[-?????N+-?N+???IN?-?%?):+??:-?/+ɶ?IN1-?O?):+1?:-?/+??fN?CY?I?M-__S?sY?I?t-__S?WY+?[-?VR???N+X-?N+??CY?fY?SY+/?	?jS?MN+X?	?-??N+??+?	,Z?+#?	Z?j??W+??+?	,\?+#?	\?j??W+??+?	,^?+#?	^?j??W+??+?	,`?+#?	`?j??W+??+?	,b?+#?	b?j??W+??+?	,d?+#?	d?j??W+??+?	,f?+#?	f?j??W+??+?	,=?+#?	h?j??W+???fN?CY?I?M-__S?sY?I?t-__S?WY+?[-????N+?-?N+?+߶	,??+??	??W+??fN?CY?I?M-__S?sY?I?t-__S?WY+?[-????N+?-?N+'?+߶	,??+??	??W+)??fN?CY?I?M-__S?sY?I?t-__S?WY+?[-????N+?-?N+;??CY?fY??SY+/?	ʶjS?MN+ȶ	?-??N+=?+߶	,??+ȶ	??W+???fN?CY?I?M-__S?sY?I?t-__S?WY+?[-????N+?-?N+\??CY?fY?SY+/?	?jSYϸSY+/?	ʶjS?MN+?	?-??N+_?+߶	,Ѹ+?	??W+a??fN?CY?I?M-__S?sY?I?t-__S?WY+?[-????N+?-?N+h?+߶	,?+?	??W+n??fN?CY?I?M-__S?WY+?[-????N+?-?N+t?+߶	,??+??	??W+u?+߶	,??+??	??W+v?+߶	,??+??	??W+w?+߶	,??+??	??W+x?+߶	,??+??	??W+y?+߶	,?+??	??W+z?+߶	,?+??	??W+{?+߶	,?+??	??W+~?+߶	,?+??	??W+???IN?WY+?[-?
???N+-?N+???۰??4GIKLMNPTVXZ\^?????????????????');=?\_ahntuvwxyz{~?\?Z
?+d?^?W+e?+?bd?j,?nN+-?qN+f??sY?I?tN+-?qN+g??sY?I?tN+-?qN+i?+?bN+S?w-_?{N??5+j???Y?fY+S?w+?b??SY+?bS??N+??-?+l?+?b???+m?+??w:+?q:+o?+?b??j+?b??:+?q:??+??:+??w???R??:+?q:+q?+?b??j,????Y?fY+?bSY+?bS??????W?U+??w???D+t?+?b??j,????Y?fY+?bSY+?b??jS??????W???+w?+??w:+?q:+z?+?b?????+|?+5?w??j+?b??:+?q:+}?+?b??j,??+?b????W?Z+??:+??w???C+??+?b??j,??+?b????W+??+?b:+?q:???+??+?b???+??+?b??j,?f:????j,+?b??__S+?b__S?!:?S??::+	?q:+??+?b??j,+	?b??W?+??+?b:+O?w_?{:??n+??+O?w+?b??:+
?q:+??+öw,+?b+
?b??W+????Y?fY+
?bSY+?bS??N+??-?+????Y?fY+??wSY+?bS??N+??-??????.1??fdefgijlmoqtwz|}????????????
???????b??????????????????1????????????????????????kK+??ӸW+??+նw,+?b??W+??+?bN+O?w+?b-??N+???۰??????kK+???W+??+նw,+?b??W+??+?bN+S?w+?b-??N+???۰??????C?+???W+??+?w,+?b??ƶ?Y??W+?b?jN+??w-_??N??<+???CY?fY?SY+/?w?jS?MN+?b?-??N?R+???N+?b?j-_??N??.+??+/?w?jN+?b?j?-??N?+???۰???????3K??f????????vV+????W+??+??w,+?b+?b??N+-?qN+??+߶w,+?b+?b??W+???۰???????++??	?+??+???W+???IN?WY+?[-???N+-?N+ö?fN?CY?I?M-__S?sY?I?t-__S?WY+?[-???N+ -?N+?#??????[?+??+?bN+?b-??N+??+?bN+?b-??N+???۰?
?????+Ŷ+?w,+?b??W+ƶ??Y?fY?sY?fY+?b?j?fN+?b-__S+%?w?j,+?b??-__S?!:+?b-^X?NS?tSY?sY?I?tS??N+??-??
??2???++??	?+4??+Ͷ4?W+϶?fN?CY?I?M-__S?sY?I?t-__S?WY+?[-????N+-?N+۶?fN?CY?I?M-__S?sY?I?t-__S?WY+?[-?M??N+ -?N+?#?????5??5+ж+?bN+?b-??N+Ѷ+?bN+?b7-??N+Ҷ+??wN+?b?-??N+Ӷ+?w,+?b??ƶ?%+Զ+?b?jN+?b?-??N?+ն+??wN+?b9-??N+ֶ+?w,+?b9??ƶ?'+׶+?b9?jN+?b9-??N?+ض+?bN+?b;-??N+ٶ+?bN+?b=-??N+???۰?*
???????????"??????@??R+ݶ+?b;?jB?j,?nN+-?qN+޶+?bD?j,+?b??W+߶+F?w,+?b=?j??N+	-?qN+?+	?bY??
W+?b??&+?+	?bN??-_?IN+	-?q?+?+	?bK?j,+?b??W+?+?b7?j,?fN+?b-__S+?b-__S+?b-__S+?b-__S+?b-__S+?b-__S+	?b-__S?!:?S9S-??NN+??-??????????'???f???fP???+?R?W+?+?w,+?b??W+????Y?fY?sY?fY+#?wT?j?fN+?b-__S+%?w?j,+?b??-__S?!:+?b-^X?NS?tSY?sY?I?tS??N+??-?????i?j+?+k?w,+?b??N+-?qN+?+?bN?o-_?rNY??W+?bN'?o-_?uN??+?+w?w?{???+??N-+w?w????+?+?b}?j?j,?f:??+?b??__S+?b__S?!:?S??::+?q:+	?+?b??j,+?b+?b+?b??:+	?q:+
???Y?fY?sY?fY+	?bS?tSY?sY?fY+?bS?tS??:+????-?+?+?b??j??j??j+?b??j??j??j+?b????N+
-?qN+?+?w,+?b??W+???Y?fY?sY?fY+#?w??j?fN+?b-__S??+%?w?j,+?b????-__S+
?b-__S?!:?S+?b-^X?NS?tSY?sY?I?tS??:+???nq??&		
?bV??fn??q???b?e???g?????Y+?+k?w,+?b??N+-?qN+?+?bN?o-_??N??+?+w?w?{???+??N-+w?w????+?+?b}?j?j,?f:??+?b??__S+?b__S?!:?S??::+?q:+?+?b??j,+?b+?b+?b??:+	?q:+???Y?fY?sY?fY+	?bS?tSY?sY?fY+?bS?tS??:+????-?+!?+?b??j??j??j+?b??j+?b????N+
-?qN+"?+?w,+?b??W+#?+#?w??j?fN+?b-__S??+%?w?j,+?b????-__S+
?b-__S?!:?S+?b-^X?NN+-?qN+%???Y?fY?sY?fY+?bS?tSY?sY?I?tS??:+???RU??*
!"#%?OR??U???F?I???K????O?+*?+?b??j??j??j?????++?+?b}?j??j,????N+-?qN+,?+?b??j,+?b+?b+?b??N+-?qN+-???Y?fY?sY?fY+?bS?tSY?sY?fY+?bS?tS??N+??-?+.???:+?b_??:???+/?+?b}?j?j,?f:??+?b??__S+?b__S?!:?S??::+?q:+4?+?b??j,+?b+?b+?b??:+?q:+5???Y?fY?sY?fY+?bS?tSY?sY?fY+?bS?tS??N+??-?+6?+?w,+?b??W+7?+#?w??j?f:+?b__S+%?w?j,+?b?o??__S?!:+?b^X?::+	?q:+8?+?b}?j??j,+?b??:??:2:+	?b???:2:+	?b???::+9???Y?fY?sY?fY+	?bS?tSY?sY?I?tS??N+??-??2*+,-./456789?"?????????	?+@?+?w,+?b??W+A?+?bͶj,ϸR???N+-?qN+B??sY?fYѸS?tN+-?qN+C?ӸN+?b-_?{N??,+D?+?bK?j,+?bӸ????W?+E?+?bY??W+?bN+?b-_??N??#+F?+?b??j,+?b??W?+H?+9?w,+%?w?j,+?b?o??+?b+?b??j??jնj??N+	-?qN??+??N-+;?w????-??:+
?q:+K?+?b}?j??j,+
?b??:+?q:+L?+?b??j,+?b+?b+?b??:+?q:+M???Y?fY?sY?fY+?bS?tSY?sY?fY+?bS?tS??:+????-?+O?+#?w`?j,?fN+?b-__SR?-__S+?b-__S?!:?S-??NN+
-?qN+R?+	?b??N????:2:+?q:2:+?q:+T?+?b??s+U?+
?b:+#?wT?j,?f:+?b__S+?b__S+?b__S?!:?S??:_?I:+
?q?>+X?+
?b:+#?wڶj,+?b+?b??_?I:+
?q+R?-??:??	+Z???Y?fY?sY?fY+
?bS?tSY?sY?I?tS??:+???RU??J@ABCDEFHKLMORTUXRZ??
??????f??U???$?'???)?????ffB??ff?}??f????+b?+?w,+?b??W+c?+?b?j,???N+-?qN+d?+?b?j,????o??N+-?qN+e?+#?w?j?fN+?b-__S+?b-__S?!:+?b-^X?NN+-?qN+f???Y?fY?sY?fY+?bS?tSY?sY?I?tS??N+??-??bcdef????+o?+?b}?j?j,?fN?+?b??-__S+?b-__S?!:?S-??NN+-?qN+q?+?b??j,+?b+?b+?b??N+-?qN+r???Y?fY?sY?fY+?bS?tSY?sY?fY+?bS?tS??N+??-??oqr???+??
?W+???N+?b-_?{N??|+??+?w??+ӸN+?b-_??N????+?w_??+??+?b???N+?bӸ-??N+??+?b???+???۰???????"i?????J??
{*?*?!?!M,+#?!?'?)?!M,+S,-S,/S,}S,1S,3S,5S,7S,S,	9S,
;S,+?^?!?'???!M,S,;S,+???!?'???!M,S,;S,+???!?'???!M,;S,+???!?'???!M,=S,S,?S,+??!?'??!M,+???!?'?%?!M,>S,+S,S,+??!?'??!M,>S,?S,@S,BS,/S,DS,?S,9S,+ ??!?'??!M,+1??!	?'?O?!M,>S,+S,7S,?S,9S,+??!
?'??
?!M,>S,?S,@S,BS,/S,DS,?S,9S,FS,	HS,+ ??!?'?M?!M,?S,@S,BS,/S,DS,?S,9S,+X??!?'?V?!M,?S,@S,BS,/S,DS,?S,9S,JS,LS,	NS,
PS,+???!
?'???!M,?S,@S,BS,/S,DS,?S,9S,RS,LS,	NS,
PS,TS,+??!?'??
?!M,?S,@S,BS,/S,DS,?S,9S,LS,NS,	TS,+?)?!?'???!M,?S,@S,BS,/S,DS,?S,9S,?S,?S,	VS,
S,LS,NS,
TS,WS,+???!?'??	?!M,?S,@S,BS,/S,DS,?S,9S,YS,TS,+?a?!?'???!M,?S,@S,BS,/S,DS,[S,LS,NS,+?n?!?'???!M,?S,+??!?'??\]??)?	^_?!??Y`?b?d?j*?n?	op?ȸv?wx???*,-??`dhlptx|?????????????z??|??~??????????????????????????????????????????????????????d????h????l????p????t????x????|???????????????????????????????????????????????????????????????????????????????I???J???s?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy