403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/site-packages/giscanner/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/giscanner/annotationparser.pyo
Jc@sddkZddkZddklZlZlZlZlZlZl	Z	l
Z
lZlZl
Z
lZlZlZlZlZlZlZlZlZlZlZlZlZlZlZddklZddklZdZ dZ!dZ"d	Z#d
Z$dZ%dZ&d
Z'dZ(dZ)dZ*dZ+dZ,dZ-dZ.dZ/dZ0dZ1dZ2dZ3dZ4dZ5dZ6dZ7dZ8de9fd YZ:d!e;fd"YZ<d#e;fd$YZ=d%e;fd&YZ>d'e;fd(YZ?d)e;fd*YZ@dS(+iNi(tArraytBitfieldtCallbacktClasstEnumtFieldtFunctiont	InterfacetListtMapt	ParametertRecordtReturntTypetUniontVarargstdefault_array_typestBASIC_GIR_TYPEStPARAM_DIRECTION_INOUTtPARAM_DIRECTION_INtPARAM_DIRECTION_OUTtPARAM_TRANSFER_NONEtPARAM_TRANSFER_CONTAINERtPARAM_TRANSFER_FULLtTYPE_ANYt	TYPE_NONE(todict(t	GLibBoxeds*
 tvirtualtsincet
deprecatedtreturnssreturn valuet
attributess	rename tos
allow-nonetarrayselement-typetintinoutsin-outtouttscopettransferttypetclosuretdestroytskiptbitfields
fixed-sizetlengthszero-terminatedtInvalidAnnotationErrorcBseZRS((t__name__t
__module__(((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR-MstDocBlockcBs#eZdZdZdZRS(cCs4||_||_d|_t|_d|_dS(N(tnametoptionstNonetvalueRttagstcomment(tselfR1R2((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyt__init__Ss
			cCsd|i|ifS(Ns<DocBlock %r %r>(R1R2(R7((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyt__repr__ZscCsY|tjo8|ii|}|djo|iitS|Sn|ii|SdS(N(tTAG_RETURNSR5tgetR3tTAG_RETURNS_ALT(R7R1R4((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR;]s

(R.R/R8R9R;(((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR0Qs		tDocTagcBseZdZdZRS(cCs||_h|_d|_dS(N(R1R2R3R6(R7R1((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR8js		cCsd|i|ifS(Ns<DocTag %r %r>(R1R2(R7((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR9os(R.R/R8R9(((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR=hs	tOptioncBs5eZdZdZdZdZdZRS(cCsg|_h|_x|idD]}d|jo|idd\}}n
|}d}||i|<|djo|ii|q"|ii||fq"WdS(Nt t=i(t_arrayt_dicttsplitR3tappend(R7toptiontpR1R4((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR8ts		


cCsd|ifS(Ns<Option %r>(RA(R7((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR9scCs|idS(Ni(RA(R7((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pytonescCs|iS(N(RA(R7((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pytflatscCs|iS(N(RB(R7((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pytalls(R.R/R8R9RGRHRI(((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR>rs
				tAnnotationParsercBs>eZdZdZdZdZdZdZRS(cCsCh|_||_||_x!|iD]}|i|q(WdS(N(t_blockst
_namespacet_transformertget_commentst_parse_comment(R7t	namespacetsource_scannerttransformerR6((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR8s			
cCs)t|i|i}|i|idS(N(tAnnotationApplierRKRMtparseRL(R7taa((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRTsc
Cs|i}|itpdS|tt}|i}|idpdS|d}|id}|djodS|| }|i}|id}|o7|| }|i||d\}}|odSn|h}}t||}g}	x||didD]}
|
i}
|
di}
|
pqn|
ido|
d}
n"d|
jo|	i	|
qn|i
|
\}}|i}
|
|ijot
id	|
fIJn|i|
||i|
<qWdi|	|_||i|i<dS(
Ns* is
 is: is
t@sMultiple definition of tag %r(tlstript
startswitht_COMMENT_HEADERtlentstriptfindt_parse_optionsR0RCRDt_split_tag_namevaluetlowerR5tsyststderrt_create_tagtjoinR6RKR1(R7R6tpostblock_headertcpost
block_namet
block_optionstresttblockt
comment_linestlinettag_nameR4t
canon_name((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyROsR



	



cCsO|idd}t|djo|d}d}n
|\}}||fS(s$Split a line into tag name and values: iit(RCRZ(R7trawtpartsRmR4((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR^s

cCsCt|}||_|i|i\}}||_||_|S(N(R=R4R]R2R6(R7RmR4ttagR2Ri((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRbs			cCsLd}h}d}xt|D]\}}|djo|djo|d}n|djo|djo|||!}|idd}t|djo|\}	}
n.t|djo|d}	d}
nt|
dj	ot|
}
n|
||	<|d}d}qqW|dj	o||i}nd}||fS(Nit(it)R?ii(R3t	enumerateRCRZtAssertionErrorR>R[(R7R4topenedR2tlasttitctsegmentRqR1RERi((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR]s2







(R.R/R8RTROR^RbR](((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRJs			9	
	
RScBseZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
d.dZd
ZdZdZdZdZdZdZdZdZdZdZd.dZdZdZdZdZdZ dZ!dZ"d Z#d!Z$d"Z%d.d#Z&d$Z'd%Z(d&Z)d'Z*d(Z+d)Z,d*Z-d+Z.d,Z/d-Z0RS(/cCs||_||_dS(N(RKRM(R7tblocksRR((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR8
s	cCs|djodS|i|S(N(R3R;(R7RjRm((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyt_get_tags
cCs5||_x|iD]}|i|qW|`dS(N(RLtnodest_parse_node(R7RPtnode((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRTs
	cCs-t|to|i|n	t|to|i|nt|to|i|nt|to|i|nt|t	o|i
|nt|to|i|ndt|t
o|i|nCt|to|i|n"t|to|i|ndS(N(t
isinstanceRt_parse_functionRt_parse_enumRt_parse_bitfieldRt_parse_classRt_parse_interfaceRt_parse_callbackRt
_parse_recordRt_parse_unionRt_parse_boxed(R7R((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs$cCs|ii|i}|i|||i|i|i||i|i||i	|i||i
|i||i|i
||i|i||i|o|i|_ndS(N(RKR;t	type_namet_parse_node_commont_parse_constructorstconstructorst_parse_methodstmethodst
_parse_vfuncstvirtual_methodststatic_methodst_parse_propertiest
propertiest_parse_signalstsignalst
_parse_fieldstfieldsR6tdoc(R7tclass_Rj((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR3scCs|ii|i}|i|||i||i|i||i|i||i	|i
||i|i||i
|o|i|_ndS(N(RKR;RRRRRRRRRRRRR6R(R7t	interfaceRj((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR@scCsy|ii|i}|i|||i|i|i||i|i||i	||o|i
|_ndS(N(RKR;tsymbolRRRRRRRR6R(R7trecordRj((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRKscCsc|ii|i}|i|||i|i|i||i|o|i|_	ndS(N(
RKR;R1RRRRRR6R(R7tboxedRj((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRTscCsy|ii|i}|i|||i||i||i|i|i||i	|o|i
|_ndS(N(RKR;R1RRRRRRRR6R(R7tunionRj((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR\scCsy|ii|i}|i|||oI|i|_|iit}|o |it	jo
t
|_qundS(N(RKR;RRR6RR2tOPT_TYPERGtOPT_VAL_BITFIELDRt	__class__(R7tenumRjttype_opt((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRescCs@|ii|i}|i|||o|i|_ndS(N(RKR;RRR6R(R7R+Rj((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRoscCs"x|D]}|i|qWdS(N(R(R7Rtctor((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRuscCs(x!|D]}|i|||qWdS(N(t_parse_field(R7tparentRRjtfield((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRyscCs%x|D]}|i||qWdS(N(t_parse_property(R7RRtprop((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR}scCs%x|D]}|i||qWdS(N(t
_parse_method(R7RRtmethod((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRscCs%x|D]}|i||qWdS(N(t_parse_vfunc(R7Rtvfuncstvfunc((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRscCs%x|D]}|i||qWdS(N(t
_parse_signal(R7RRtsignal((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRscCsM|iid|i|if}|i|||o|i|_ndS(Ns%s:%s(RKR;RR1RR6R(R7RRRj((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs"cCsl|ii|i}|i|||i||i||i||i||o|i|_	ndS(N(
RKR;tctypeRt
_parse_paramst
parameterst
_parse_returntretvalR6R(R7tcallbackRj((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRscCsW|i|||i||i||i||i||o|i|_ndS(N(RRRRRR6R(R7tcallableRj((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyt_parse_callables
cCs9|ii|i}|i|||i||dS(N(RKR;RRt_parse_rename_to_func(R7tfuncRj((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRscCsM|iid|i|if}|i|||o2t|it|ijo|ii}ng}xt	|iD]\}}|ok||d\}}||_t
|dh}	|	it}
|
o"|i|
i
|i|_qnd}|i|||qW|i||i||o|i|_ndS(Ns%s::%siR2(RKR;RR1RRZR5RtitemsRutgetattrRt_resolveRGR'R3t_parse_paramRRR6R(R7RRRjtnamesRytparamR1RrR2t
param_type((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs&"&	&cCs|ii|i}|i||i|t}|ok|i}t}x8|iD]-}|i	|jot
}|i	|_PqTqTW|pd||ifGHqndS(Ns3warning: unmatched virtual invoker %r for method %r(RKR;RRR}t	TAG_VFUNCR4tFalseRR1tTruetinvoker(R7RtmethRjRtinvoker_nametmatchedR((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs
	
	cCs6d|i|if}|i||ii|dS(Ns%s::%s(RR1RRKR;(R7RRtkey((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRscCst|to|i|ng|pdS|i|i}|pdS|iid}|pdS|ii|i|i	_dS(NR'(
RRRR;R1R2RMtresolve_type_nameRGR'(R7RRRjRrtt((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRscCs=x6|D].}|i||i}|i|||qWdS(N(R}R1R(R7RtparamsRjRRr((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRscCs)|i|t}|i|||dS(N(R}R:t_parse_param_ret_common(R7Rtreturn_RjRr((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRscCs=t|dh}t|to|it}|o|i|_t|_n|it	}|o,|i
|i|_|i||n|it
}|o,|i
|i|_|i||qnt|to:t
|jo)|i
|i|_|i||q&n|i|||dS(NR2(RRRR;t	OPT_SCOPERGR%RR&tOPT_DESTROYtget_parameter_indext
destroy_indext_fixup_param_destroytOPT_CLOSUREt
closure_indext_fixup_param_closureRR1R(R7RRRrR2R%R)R(((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs&

cCsEx>|iD]3}||j	o |i|ijo
d|_q
q
WdS(N(RRR3(R7RRRF((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs
 cCsEx>|iD]3}||j	o |i|ijo
d|_q
q
WdS(N(RRR3(R7RRRF((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs
 cCst|dh}|i|||_|i|||}|dj	o
||_n|idjo|i||_n|i||||_t	|jo
t
|_n|it
}|o"|i|i|i|_n|dj	o |idj	o|i|_ndS(NR2(Rt_extract_directiont	directiont_extract_container_typeR3R't_guess_directiont_extract_transferR&tOPT_ALLOW_NONERt
allow_noneR;RRRGR6R(R7RRRrR2tcontainer_typeR((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs 



"cCs_t|jp
t|jo
t}n8t|jo
t}n!t|jo
t}n
|i}|S(N(t	OPT_INOUTt
OPT_INOUT_ALTRtOPT_OUTRtOPT_INRR(R7RR2R((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs






	cCsO|ii}|djotS|idptS|iitjotStS(Nt*(R'RR3Rtendswitht	canonicalRR(R7RR((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyt_guess_array+s
cCst|j}t|j}t|toV|oN|idjp t|tp|itjo|i|o
t	}qn|o|i
|||}n'|o|i|||}nd}|S(N(tOPT_ELEMENT_TYPEt	OPT_ARRAYRRRR3RRRRt_parse_arrayt_parse_element_type(R7RRR2thas_element_typet	has_arrayR((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR5scCsg|it}|o|i}nh}|it}|dj	o|i|i}nt|ii	}t
|ii|}|ii|_t
|jo|it
dj|_n|it}	|	dj	ou|i|	}
|
|_t|toI|ii	djo6|i|tjo |djotd|_qQn|it|_|S(Nt1tutf8tint8(R;RRIRR3RRGR
R'R1RRtis_consttOPT_ARRAY_ZERO_TERMINATEDtzeroterminatedtOPT_ARRAY_LENGTHRtlength_param_indexRR
RRtelement_typetOPT_ARRAY_FIXED_SIZEtsize(R7RRR2t	array_opttarray_valuesRtelement_type_nodeRR,tparam_index((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRKs2
	

	
c	srfdfd}fdfd}||\}}|o
dGGHn|S(Nc
stid|d}t|djo|dddgn|\}}}||g}|djoVx]|djoA||||\}	}|i|	|d|d}}qjWn||}|||fS(sReturn a complete type, and the trailing string part after it.
            Use resolver() on each identifier, and combiner() on the parts of
            each complete type. (top_combiner is used on the top-most type.)s([,<>])iiRot<t>(treRCRZRD(
ttype_strtresolverttop_combinertcombinertbitstfirsttsepRitargstnext(tgrab_one(s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR
os6



csiit|S(N(RMtresolve_param_typeR
(tident(R7(s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR~scs|p|S|idjo*t|djot|i|i|S|idjo*t|djot|i|i|SdGGH|S(	Ns	GLib.Lists
GLib.SListisGLib.HashTableis'WARNING: throwing away type parameters:(s	GLib.Lists
GLib.SList(sGLib.HashTable(R1RZRRR	(tbaseRi(R(s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs##	cs0dj	o|i_}n||S(s5For the top most type, recycle orig_node if possible.N(R3R1(R
Ri(Rt	orig_node(s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs

s-WARNING: throwing away trailing part of type:((R7RRRRtresultRi((RR
R7RRs>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRns	
cCs|it}|i}|iidjo/t|ii|ii|i|d}n\|iidjo?t|ii|ii|i|d|i|d}n
dG|GH|S(	Ns	GLib.Lists
GLib.SListisGLib.HashTableis(FIXME: unhandled element-type container:(s	GLib.Lists
GLib.SList(sGLib.HashTable(	R;RRHR'R1RRRR	(R7RRR2telement_type_optRR((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs					cCs|it}|djo|i||}nZ|i}|djo
t}n|tttgjo td||i	|fn|S(NsLtransfer for %s of %r is invalid (%r), must be one of none, container, full.(
R;tOPT_TRANSFERR3t_guess_transferRGRRRR-R1(R7RRR2ttransfer_optR&((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs



cCsD|i|||i|||i|||i||dS(N(t_parse_versiont_parse_deprecatedt_parse_attributest_parse_skip(R7RRj((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRscCs4|i|t}|djodS|i|_dS(N(R}t	TAG_SINCER3R4tversion(R7RRjt	since_tag((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs
cCs|i|t}|djodS|i}d|jo|id\}}n
|}d}||_|dj	o
||_ndS(Ns: (R}tTAG_DEPRECATEDR3R4RCRtdeprecated_version(R7RRjtdeprecated_tagR4Rtdesc((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs
	
	
cCsd|i|t}|djodSx9|iiD](\}}|ii||ifq4WdS(N(R}tTAG_ATTRIBUTESR3R2t	iteritemsR RDRG(R7RRjt	annos_tagRR4((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs
cCs2|dj	o!t|ijo
t|_q.ndS(N(R3tOPT_SKIPR2RR*(R7RRj((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs
cs|i|t}|djodS|igfd}|ii|tdjodi|_n!tdjo
|_ndS(Ncs6t|to"|ijoi|tStS(N(RRRRDRR(tn(tnew_nametshadowed(s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pytshadowed_filters 
ii(R}t
TAG_RENAME_TOR3R4RLtremove_matchingRZR1(R7RRjt
rename_to_tagR&((R$R%s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs
	
cCs^|io|iSt}|iiod|iij}n|o|iitjotStS(NR(RRR'RR1RRR(R7Rt
is_pointer((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRs

cCs&|idj	o|iS|iiotS|iittgjotSt|it	otSt|t
o;|itt
gjotS|iidjotStSnxt|toF|iitjp&|iittgjo|iiotStSn"t|totSt|dS(NR(R&R3R'RRR1RRRRR
RRRRRRRRRv(R7RR2((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyR
s0
	

N(1R.R/R8R}RTRRRRRRRRRR3RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR(((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyRSs\					
							
																					
		#'									(ARR`tastRRRRRRRRRR	R
RRR
RRRRRRRRRRRRRtglibastRRYRRRR:R<RR'RRRRRRRRRRRRR"RRRRt	ExceptionR-tobjectR0R=R>RJRS(((s>/usr/lib/python2.6/site-packages/giscanner/annotationparser.pyt<module>sF
z

Youez - 2016 - github.com/yon3zu
LinuXploit