Your IP : 216.73.217.64


Current Path : /home3/gp97/php/CLITools/doc/source/
Upload File :
Current File : //home3/gp97/php/CLITools/doc/source/phpdomain.pyc

��
�@�Lc@s9ddklZlZddklZddklZddklZl	Z	l
Z
ddklZddk
lZddklZddklZd	efd
��YZdefd��YZd
efd��YZdefd��YZdefd��YZdefd��YZdefd��YZd�ZdS(i����(tDomaintObjType(tl_(tObjectDescription(tGroupedFieldtFieldt
TypedField(tXRefRole(tmake_refnode(taddnodes(t_pseudo_parse_arglistt	PHPObjectcBs eZdZd�Zd�ZRS(icCsti|�}|S(N(Rtget_signatures(tselfttmp((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyRscCs
||iiijo�|di|�|di|�|i|d<|iii|�|iidd}||joC|ii|ii	d|d|ii
||d�|i�n|ii	|if||<|i
|�}|id	id
|||f�ndS(Ntnamestidstfirsttphptobjectss$duplicate object description of %s, sother instance in itentriestsingle(tstatetdocumentRtappendRtnote_explicit_targettenvt
domaindatatwarntdocnametdoc2pathtlinenotobjtypetget_index_display_stringt	indexnode(R
tnametsigtsignodeRttext((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pytadd_target_and_indexs 
		(t__name__t
__module__trequired_argumentsRR'(((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyRs	tPHPNamespacelikecBs2eZgZd�Zd�Zd�Zd�ZRS(cCs�|i�\}}d|jo
t�n|id�}|d}ddi|d �}||d<|ti||�7}|ti||�7}di|�S(Nt	namespaces\i����s
namespace tfullname(tsplitt
ValueErrortjoinR	tdesc_annotationt	desc_name(R
R$R%tkwR#R,tnamespace_namet
annotation((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pythandle_signature(s



cCs�|id�d}d|if}|iidoL|iidid�d }di|�}|o|d|f7}q�n|d7}d||fS(Ns\i����s (%ss
php:namespaces, in namespace %st)s%s%s(R.R Rt	temp_dataR0(R
R#tnsnamet
complementt	parent_ns((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyR!4s
cCs2|io$|id|iid<t|_ndS(Nis
php:namespace(RRR8tTruet
nsname_set(R
((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pytbefore_content?s
cCs"|iod|iid<ndS(Ns
php:namespace(tclsname_settNoneRR8(R
((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyt
after_contentEs
(R(R)tdoc_field_typesR6R!R>RA(((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyR+%s
			tPHPClasslikecBs�eZedded�dddedd�ed	ded
�dddedd�gZd
�Zd�Zd�Zd�Z	RS(t
implementstlabelt
ImplementsRtimplt	implementthas_argtrolenamesphp:ifctextendstExtendstextendtclasscCsd|jo%d}|iddd�i�}nXg}|id�D]}||i�qF~}d|jo
d}nd}|d}d	|iijo-|iid	o|d
|iid	7}n||d<|ti||�7}|ti||�7}|S(Nt	interfaces
interface tiRNtabstractsabstract class sclass s
php:namespaces%s\R-(treplacetstripR.RR8R	R1R2(R
R$R%R5t
class_namet_[1]telttokens((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyR6Us
0



cCsed|i}d|iijo-|iido|d|iid7}n|d7}d||fS(Ns (%ss
php:namespaces, in namespace %sR7s%s%s(R RR8(R
R#R:((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyR!is

cCs2|io$|id|iid<t|_ndS(Nis	php:class(RRR8R<R?(R
((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyR>�s
cCs"|iod|iid<ndS(Ns	php:class(R?R@RR8(R
((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyRA�s
(RGRHRD(sextendssextend(
R(R)RRtFalseRBR6R!R>RA(((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyRCKs			tPHPFunctionlikecBs+eZedded�dddd.de�edded�dddd/d	e�ed
ded�dd0dddd1�edded�dddd2dddd3�edded�dddd4d	e�ed%ded&�dedd5�ed)ded*�dedd6�gZd,�Z	d-�Z
RS(7t
deprecatedREt
DeprecatedRJtobjRRItsincetChangestcan_collapset	parametert
Parameterstparamtargtargumenttkeywordtkwargtkwparamttyperolenamet	typenamest	paramtypettypetvariablet	Variablestvartivartcvartvartypet
exceptionstRaisestexctraisestraiset	exceptiontexcepttthrowtthrowstreturnvaluetReturnstreturnstreturnt
returntypesReturn typetrtypecCs�|id�\}}|i�}d}d|jo|d7}nd|jo|d7}nd|jo|d7}nd	|jo|d
7}nd|jo|d7}n||id
7}|i�id�\}}d|joI|id�d}|id�d|d<||id�dd7}nM|iid}	|	o/|}|	|d<||	id�dd7}n|}||d<|ti||�7}|ti||�7}|id�i�}
|
p|ti�7}|St	||
id��|S(NtfunctionRPtfinalsfinal tpublicspublic t	protecteds
protected tprivatesprivate tstaticsstatic t t(s::iiRNs	php:classR-R7(
R.R RSRR8R	R1R2tdesc_parameterlistR
(R
R$R%t
qualifierst	signatureR5t	func_nametargsR-tcls_nametarglist((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyR6�sD







cCsed|i}d|iijo-|iido|d|iid7}n|d7}d||fS(Ns (%ss	php:classs
, in class %sR7s%s%s(R RR8(R
R#R:((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyR!�s

(s
deprecated(R](sparams	parametersargsargumentskeywordskwargskwparam(s	paramtypestype(svarsivarscvar(svartype(sraisessraises	exceptionsexceptsthrowsthrows(sreturnssreturn(srtype(R(R)RRRXRR<RRBR6R!(((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyRY�s(	.t
PHPVarlikecBs eZgZd�Zd�ZRS(cCs�|i�}|id�i�}d}d|jo|d7}nd|jo|d7}nd|jo|d7}nd	|jo|d
7}nd|jo|d7}n||id
7}|id�o|d}nd|jo!|}|id�d|d<n]|iiidd�}|o|d|}||d<n"|idjod|n|}||d<|t	i
||�7}|t	i||�7}|S(Ni����RPR�sfinal R�spublic R�s
protected R�sprivate R�sstatic R�t$is::iRNs	php:classRnR-(R.tpopRSR t
startswithRR8tgetR@R	R1R2(R
R$R%R�R#R5R-R�((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyR6�s8





!
cCsed|i}d|iijo-|iido|d|iid7}n|d7}d||fS(Ns (%ss	php:classs
, in class %sR7s%s%s(R RR8(R
R#R:((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyR! s

(R(R)RBR6R!(((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyR��s	*tPHPXRefRolecBseZRS((R(R)(((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyR�Bst	PHPDomaincBs�eZdZdZdZheed�dd�d6eed�dd�d6eed�d	d�d6eed
�d
d�d
6eed�dd�d6eed�d
d�d6eed�dd�d6eed�dd�d6Zhed6e	d6ed6e
d
6e	d6e
d6e
d6e	d6Zhede
�d6e�d6ede
�d	6e�d
6e�d6e�d
6e�d6e�d6Zhhd6ZgZd�Zd�Zd�ZRS(sPHP language domain.RtPHPR�tfuncR\sglobal variableRntmethodtmethRNtconstROtifcRwRtt	attributetattrt
fix_parensRcCsMxF|idi�D]1\}\}}||jo|id|=qqWdS(NR(tdatatitems(R
RR-tfnt_((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyt	clear_docss
cCsE||idjo)t|||id|d|||�SdSdS(NRi(R�RR@(R
Rtfromdocnametbuilderttypttargettnodetcontnode((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pytresolve_xref{sccsEx>|idi�D])\}\}}|||||dfVqWdS(NRi(R�t	iteritems(R
trefnameRRk((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pytget_objects�s(R(R)t__doc__R#RERRtobject_typesRYR�RCt
directivesR�RXtrolestinitial_datatindicesR�R�R�(((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyR�FsH







		cCs|it�dS(N(t
add_domainR�(tapp((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pytsetup�sN(tsphinx.domainsRRt
sphinx.localeRtsphinx.directivesRtsphinx.util.docfieldsRRRtsphinx.rolesRtsphinx.util.nodesRtsphinxR	tsphinx.domains.pythonR
RR+RCRYR�R�R�R�(((sD/home/bca/Progs/maarch/maarch_utils/CLITools/doc/source/phpdomain.pyt<module>s&DdOC