kr.motd.maven.sphinx.dist.babel.messages.pofile$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
???? 1e f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; __doc__ ?
babel.messages.pofile
~~~~~~~~~~~~~~~~~~~~~
Reading and writing of files in the ``gettext`` PO (portable object)
format.
:copyright: (c) 2013 by the Babel Team.
:license: BSD, see LICENSE for more 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
__future__ java/lang/String print_function org/python/core/imp
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;
! setlocal #
$ os & importOne H(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject; ( )
* re , babel.messages.catalog . Catalog 0 Message 2
babel.util 4 wraptext 6
babel._compat 8 text_type : org/python/core/Py < EmptyObjects [Lorg/python/core/PyObject; > ? = @ org/python/core/PyFunction B f_globals Lorg/python/core/PyObject; D E F
unescape$1 ?Reverse `escape` the given string.
>>> print(unescape('"Say:\\n \\"hello, world!\\"\\n"'))
Say:
"hello, world!"
:param string: the string to unescape
I replace_escapes$2 getlocal (I)Lorg/python/core/PyObject; L M
N group P org/python/core/PyObject R __getattr__ .(Ljava/lang/String;)Lorg/python/core/PyObject; T U
S V
newInteger (I)Lorg/python/core/PyInteger; X Y
= Z __call__ S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; \ ]
S ^ (ILorg/python/core/PyObject;)V # `
a n c _eq 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; e f
S g __nonzero__ ()Z i j
S k
m f_lasti I o p q t s u r w
y babel/messages/pofile$py { Lorg/python/core/PyCode; K } | ~ j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V ? ?
C ? getglobal ? U
? compile ? \\([\\trn"]) ? sub ? __getslice__ j(Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
S ? m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; \ ?
S ? H } | ? unescape ?
denormalize$3?Reverse the normalization done by the `normalize` function.
>>> print(denormalize(r'''""
... "Say:\n"
... " \"hello, world!\"\n"'''))
Say:
"hello, world!"
>>> print(denormalize(r'''""
... "Say:\n"
... " \"Lorem ipsum dolor sit "
... "amet, consectetur adipisicing"
... " elit, \"\n"'''))
Say:
"Lorem ipsum dolor sit amet, consectetur adipisicing elit, "
:param string: the string to denormalize
? _in ? f
S ?
splitlines ? 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; \ ?
S ?
startswith ? "" ? map ? ? join ? ? } | ? denormalize ? object ? getname ? U
? _NormalizedString ? _NormalizedString$4
__module__ ? __name__ ?
__init__$5 org/python/core/PyList ? ([Lorg/python/core/PyObject;)V ? ?
? ? _strs ? __setattr__ ?
S ? __iter__ ()Lorg/python/core/PyObject; ? ?
S ? append ? __iternext__ ? ?
S ? None ? E = ? ? } | ? __init__ ? append$6 strip ? ? } | ?
denormalize$7 ? } | ?
__nonzero__$8 bool ? ? } | ? i getf_locals ? ?
? ? } | ? makeClass a(Ljava/lang/String;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)Lorg/python/core/PyObject; ? ?
= ? java/util/Arrays ? fill (([Ljava/lang/Object;Ljava/lang/Object;)V ? ?
? ? PoFileParser ? PoFileParser$9 ?Support class to read messages from a ``gettext`` PO (portable object) file
and add them to a `Catalog`
See `read_po` for simple cases.
? msgid ? msgstr ? msgctxt ? msgid_plural _keywords False __init__$10 catalog ignore_obsolete counter offset
_reset_message_state } | _reset_message_state$11 messages translations locations flags
user_comments
auto_comments ? context! obsolete# in_msgid% in_msgstr'
in_msgctxt) } |+ _add_message$12 ?
Add a message to the catalog based on the current parser state and
clear the state ready to process the next message.
. sort0 len2 _gt4 f
S5 tuple7 ()V ?9
?: dellocal<