KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21571/root/usr/lib64/xulrunner-devel-17.0.10/sdk/bin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21571/root/usr/lib64/xulrunner-devel-17.0.10/sdk/bin/xpidl.pyc
m

,gRc@sdZdkZdkZdkZdklZlZdZhdddddd	f<d
dddf<Z	dZ
d
ZdZde
fdYZde
fdYZeddeddeddeddeeeddeeeddeeeddeeed d!eeed"d#eeed$d$eeed%d%eeed&d&eeed'd(eeed)d*eeed+d,eegZhZxeD]Zeeei<qWd-e
fd.YZd/e
fd0YZd1efd2YZd3e
fd4YZd5e
fd6YZd7e
fd8YZd9e
fd:YZd;e
fd<YZd=e
fd>YZd?e
fd@YZ dAe fdBYZ!dCe fdDYZ"dEe
fdFYZ#dGe
fdHYZ$dIe
fdJYZ%dKe
fdLYZ&dMe
fdNYZ'dOe
fdPYZ(dQe
fdRYZ)e*dSjoMe)Z+x=ei,dTD].Z-dUe-GHe+i.e/e-i0dVe-qWndS(Ws.A parser for cross-platform IDL (XPIDL) files.N(slexsyaccc	Cst|djodSnt|}|iddddig}|D]8\}}}|d||dj	od|pdfqN~S(	NittcmpcCst|d|dS(Ni(Rtatb(RR((t3/usr/lib64/xulrunner-devel-17.0.10/sdk/bin/xpidl.pyt<lambda>#ss[%s] t,s%s%ss(%s)(
tlentattlisttlisttsorttjoint_[1]tnametvaluetaloctNone(RRR
RR((RtattlistToIDLs
itarraytsharedtiid_istsize_istretvalitconstc	Cs"t|djodSnt|}g}t|tjo~x{tt|D]e}d}xV|t|joB||d|jo|i||||=q`n|d7}q`WqQWn|i|ddi	g}|D]8\}}}|d||dj	od|pdfq~S(NiRis[%s] s, s%s%ss (%s)(RRR	tsortedt_paramsHardcodetptitappendtextendRRR
RRR(RRR
RRRRR((RtparamAttlistToIDL-s"
cCs9x|idjo
|i}qW|dj	pt|S(Nttypedef(tttkindtrealtypeRtAssertionError(R ((RtunaliasTypeEs
cCset|}|idjo|iSn;|idjo&|idj	ptd|iSndSdS(Ntbuiltintnatives[%s](R$R R!R
tspecialtypeRR#(R ((RtgetBuiltinOrNativeTypeNameKstBuiltinLocationcBstZdZdZRS(NcCsdS(Ns<builtin type>((tself((RtgetVscCs
|iS(N(R*R+(R*((Rt__str__Ys(t__name__t
__module__R+R,(((RR)Us	tBuiltincBs;tZdZeZeedZdZeedZRS(NR%cCs(||_||_||_||_dS(N(R
R*t
nativenametsignedt
maybeConst(R*R
R0R1R2((Rt__init__`s			cCstS(N(tTrue(R*((RtisScriptablefscCs|o)titd|idtIJd}nk|djo|ii	do
d}nA|o3|ii	dptd|ind}nd}d||i|djodpdfS(	Ns,[const] doesn't make sense on builtin types.twarningsconst tint*s-[shared] not applicable to non-pointer types.Rs%s%s %s(RtsyststderrtIDLErrorR*tlocationR4tcalltypeR0tendswithR(R*R=RR((Rt
nativeTypeis
 

(	R-R.R!R)R<tFalseR3R5R?(((RR/\s
	tbooleantbooltvoidtoctettuint8_ttshorttint16_ttlongtint32_ts	long longtint64_tsunsigned shorttuint16_ts
unsigned longtuint32_tsunsigned long longtuint64_ttfloattdoubletchartstringschar *twchart	PRUnichartwstringsPRUnichar *tLocationcBsDtZdZdZdZdZdZdZdZ	RS(NcCs7||_||_|i|_t|dd|_	dS(Ntfilenames	<unknown>(
tlinenoR*t_linenotlexpost_lexpostlexertlexdatat_lexdatatgetattrt_file(R*R[RWRY((RR3s		cCs#|i|ijo|i|ijS(N(R*RZtotherR_(R*R`((Rt__eq__scCsz|iodSn|iidd|id}|iid|i|id}|i||!|_|i||_dS(Ns
iiiP(	R*t_lineR]trfindRZtstartoflinetfindt	endoflinet_colno(R*RdRf((Rtresolves
"csd}di|S(Nc#s)xtdiD]
}dVqWdVdS(Nit t^(txrangeR*RgR(R(R*(RRsR(RR(R*R((R*RtpointerlinescCs$|id|i|i|ifS(Ns
%s line %s:%s(R*RhR_RXRg(R*((RR+s
cCs3|id|i|i|i|i|ifS(Ns%s line %s:%s
%s
%s(R*RhR_RXRgRbRl(R*((RR,s
(
R-R.RRbR3RaRhRlR+R,(((RRUs						tNameMapcBsDtZdZdZdZdZdZdZdZRS(s}Map of name -> object. Each object must have a .name and .location property.
    Setting the same name twice throws an error.cCs
h|_dS(N(R*t_d(R*((RR3scCs$|tjot|Sn|i|S(N(tkeyt
builtinMapR*Rn(R*Ro((Rt__getitem__s
cCs
|iiS(N(R*Rnt
itervalues(R*((Rt__iter__scCs|tjp
||ijS(N(RoRpR*Rn(R*Ro((Rt__contains__scCs(|itjotd|i|in|iido|id|_n|i|ijo|i|i}||jodSnt	|t
o$t	|to||i|i<q$t	|tot	|t
oq$td|i|i|iif|in||i|i<dS(Ns/name '%s' is a builtin and cannot be redeclaredt_is0name '%s' specified twice. Previous location: %s(tobjectR
RpR;R<t
startswithR*Rntoldt
isinstancetForwardt	Interface(R*RvRx((Rtsets
  0cCs5y||SWn"tj
otd|nXdS(NsName '%s' not found(R*tidtKeyErrorR;R<(R*R}R<((RR+s(	R-R.t__doc__R3RqRsRtR|R+(((RRms					R;cBstZedZdZRS(NcCs||_||_||_dS(N(tmessageR*R<R6(R*RR<R6((RR3s		cCs(d|iodpd|i|ifS(Ns
%s: %s, %sR6terror(R*R6RR<(R*((RR,s(R-R.R@R3R,(((RR;stIncludecBs)tZdZdZdZdZRS(NtincludecCs||_||_dS(N(RVR*R<(R*RVR<((RR3s	cCsdid|igS(NRs
include '%s'
(RR*RV(R*((RR,scsd}x|D]}tii|pqniit|i	d|_iii
ix$iiD]}i|qWiiiidSqWtdiidS(Nc#s5iVx'iD]}tii|iVqWdS(N(R*RVtparenttincdirstdirtostpathR(R(R*R(Rtincfiless
RVsFile '%s' not found(RtfileRRtexistsRtparsertparsetopentreadR*tIDLRhRtgetNamesttypetsetNametdepsRR;RVR<(R*RRRR((R*RRRhs
'(R-R.R!R3R,Rh(((RRs		RcBsYtZdZdZdZdZdZdZdZdZ	d	Z
RS(
NcCs||_g|_dS(N(tproductionsR*R(R*R((RR3s	cCs|ii|dS(N(R*tnamemapR|Rv(R*Rv((RRscCs<y|i|SWn&tj
otd||nXdS(Nstype '%s' not found(R*RR}R~R;R<(R*R}R<((RtgetNamescCs
||ijS(N(R}R*R(R*R}((RthasNamescCs
t|iS(N(titerR*R(R*((RRscCs1dig}|iD]}|t|q~S(NR(RRR*RRtstr(R*RR((RR,scCsCt|_||_||_x|iD]}|i|q(WdS(N(RmR*RRRRRRh(R*RRR((RRhs		
ccs0x)|iD]}|idjo|Vq
q
WdS(NR(R*RRR!(R*R((Rtincludes!s
cCs=x6|iD]+}|idjo|iotSq
q
WtS(Nt	interface(R*RRR!tneedsJSTypesR4R@(R*R((RR&s

(R-R.R3RRRRR,RhRR(((RRs								tCDATAcBsAtZdZeidZdZdZdZdZ	RS(Ntcdatas\n+cCs%|iid||_||_dS(Ns
(R*t_retsubtdataR<(R*RR<((RR30scCsdS(N((R*R((RRh4scCsd|ii|ifS(Nscdata: %s
	%r
(R*R<R+R(R*((RR,7scCsdS(Ni((R*((Rtcount:s(
R-R.R!tretcompileRR3RhR,R(((RR,s			tTypedefcBsDtZdZdZdZdZdZdZdZRS(NRcCs(||_||_||_||_dS(N(RR*R
R<tdoccomments(R*RR
R<R((RR3@s			cCs#|i|ijo|i|ijS(N(R*R
R`R(R*R`((RRaFscCs,|i||i|i|i|_dS(N(RRR*RRR<R"(R*R((RRhIs
cCs
|iiS(N(R*R"R5(R*((RR5MscCs%d|i|djodpdfS(Ns%s %sR7R8R(R*R
R=(R*R=((RR?PscCsd|i|ifS(Nstypedef %s %s
(R*RR
(R*((RR,Ts(	R-R.R!R3RaRhR5R?R,(((RR=s					RzcBsDtZdZdZdZdZdZdZdZRS(NtforwardcCs||_||_||_dS(N(R
R*R<R(R*R
R<R((RR3Zs		cCs |idjo|i|ijS(NR(R`R!R
R*(R*R`((RRa_scCs|i|iox9tdt|iD]}|i||joPq,q,Wx^t|dt|iD]<}t|i|do|i	|i|i	dd+PqlqlWn|i
|dS(NiiR(RRR*R
RkRRRthasattrRR(R*RR((RRhbs	
cCstS(N(R4(R*((RR5oscCs%d|i|djodpdfS(Ns%s %sR7s* *R8(R*R
R=(R*R=((RR?rscCsd|iS(Nsforward-declared %s
(R*R
(R*((RR,vs(	R-R.R!R3RaRhR5R?R,(((RRzWs			
		tNativecBstZdZdZdZhdd<dd<dd<dd<dd<d	d
<ZdZdZd
Z	dZ
dZdZe
e
dZdZRS(NR&tnsidt	domstringt	nsAStringt
utf8stringt
nsACStringtcstringtastringtjsvals	JS::ValuecCs||_||_||_x|D]\}}}|dj	otd|n|djo0|i	dj	otd|n||_	q"||i
ijoX|idj	otd|n||_|i
|dj	o|i
||_qq"td|q"WdS(NsUnexpected attribute valuetptrtrefsMore than one ptr/ref modifiersMore than one special typesUnexpected attribute(RR(
R
R*R0R<RRRRR;tmodifiertspecialtypestkeysR'(R*R
R0RR<RR((RR3s$			


	cCsI|i|ijo6|i|ijo#|i|ijo|i|ijS(N(R*R
R`R0RR'(R*R`((RRascCs|i|dS(N(RRR*(R*R((RRhscCsF|idjotSn|idjo|idj	Sn|idjS(NRR(R*R'RR@R(R*((RR5s
cCs:|idjp*|idjo|idjo
|djS(NRRRtout(R*RR'R=(R*R=((RtisPtrscCs+|idjo|idjo
|djS(NRRR(R*RR'R=(R*R=((RtisRefscCs|o'|djotdnt}n|idj	o|djo
t}n|i|o
d}n]|i
|o2d|idjo|djodpd}n|djodpd}d|od	pd|i|fS(
NRs([shared] only applies to out parameters.R7s& R8RRs%s%s %ssconst (
RR=R;R4RR*R'RRtmRRR0(R*R=RRR((RR?s



2cCsd|i|ifS(Nsnative %s(%s)
(R*R
R0(R*((RR,s(R-R.R!RRR'RR3RaRhR5RRR@R?R,(((RRys<								t
BaseInterfacecBs\tZdZdZdZdZedZdZdZ	dZ
d	ZRS(
NcCs||_t|||_||_|idjo|i	ddn||_||_t
|_||_||_
x2|D]*}t|tp|ii|qqWhdhdd<dd<<dhdd<dd<<dd<|_dS(	Nt
dictionaryRocCs|iS(N(txR
(R((RRstindextgettertsetterR
tstringifier(R
R*tInterfaceAttributesRR<t
attributestbaseR!tmembersR
RmRRR0RRyRR|Rtops(R*R
RRRR<RR((RR3s						cCs#|i|ijo|i|ijS(N(R*R
R`R<(R*R`((RRascCs||_|i|io[x9|iD].}t|do|i|idd+Pq&q&W|i	|idi|_n|iio\t
}xS|iD]D}|idjo.|otd|i|iqt}qqWn|i||idj	o|i	|i|i}|i|ijo2td|i|i|i|if|in|iioA|iio3titd|i|if|idtIJn|iioA|iio4|iio&td|i|if|iqnt}xL|iD]A}|i||idjo|io|i|iq
q
WxE|iD]:}|idjo$|i|jo|i|iq\q\Wx6|D].}td	|i|i|if|iqW|i d
jo+|iiotd|i|indS(NRitmethods:interface '%s' has multiple methods, but marked 'function's&%s '%s' inherits from non-%s type '%s'sAinterface '%s' is scriptable but derives from non-scriptable '%s'R6sEinterface '%s' is not builtinclass but derives from builtinclass '%s'sSmember '%s' on interface '%s' forwards to '%s' which is not on the interface itselfis#interface '%s' has too many entries(!RR*tidlRR
RtmemberRRRRRtfunctionR@t
has_methodR!R;R<R4RRtrealbaset
scriptableR9R:tbuiltinclassR|tforwardedMembersRhRtaddtremovetcountEntries(R*RRRRR((RRhsR	
	


23(*	


 ,!
cCstS(N(R4(R*((RR5scCs6d|odpd|i|djodpdfS(Ns%s%s %ssconst RR7s* *R8(RR*R
R=(R*R=R((RR?%scCsd|ig}|idj	o|id|in|it|i|idjo|idn(x$|iD]}|it|qyWdi
|S(Ns
interface %s
s		base %s
s	incomplete type
R(R*R
tlRRRRRRRR(R*RR((RR,*s
cCs|}x=||ijo,|dj	o|ii|i|i}q	W|djot	d||in|ii||}|idjot	d|in|i
S(Nscannot find symbol '%s'Rssymbol '%s' is not a constant(R*tifaceR
RRRRRR<R;tcR+R!tgetValue(R*R
R<RR((RtgetConst6s 
cCsex^|iD]S}|idjo|idjotSn|idjo|iotSq
q
WtS(Nt	attributeRR(R*RRR!RR4RR@(R*R((RRCs
 cCs\td|iD}|idj	o/|ii|i|i}||i
7}n|S(sA Returns the number of entries in the vtable for this interface. ccsx|]}|iVqWdS(N(t[outmost-iterable]RR(RR((Rt<generator expression>MsN(tsumR*RttotalRRRRR<RR(R*RR((RRKs(R-R.R3RaRhR5R@R?R,RRR(((RRs			4			
	R{cBstZdZdZRS(NRcCsIti||||||||i	i
djotd|ndS(Nsinterface has no uuid(
RR3R*R
RRRR<RRtuuidRR;(R*R
RRRR<R((RR3Vs(R-R.R!R3(((RR{Sst
DictionarycBstZdZdZRS(NRcCs#ti|||||||dS(N(	RR3R*R
RRRR<R(R*R
RRRR<R((RR3_s(R-R.R!R3(((RR\sRcBstZdZeZeZeZeZeZ	dZ
dZdZdZ
dZdZhdee
f<deef<d	eef<d
eef<dee
f<deef<d
edf<ZdZdZRS(NcCs|i|_dS(N(RtlowerR*R(R*R((RtsetuuidjscCs
t|_dS(N(R4R*R(R*((Rt
setscriptablemscCs
t|_dS(N(R4R*R(R*((RtsetfunctionpscCs
t|_dS(N(R4R*tnoscript(R*((RtsetnoscriptsscCs
t|_dS(N(R4R*R(R*((RtsetbuiltinclassvscCs
t|_dS(N(R4R*t
deprecated(R*((Rt
setdeprecatedysRRRRRRRvcCstS(N(R4(R*((RRsc	sd}x|D]\}}|iit|f\}}|o5|djotd|n|||q|dj	otd|n||qWdS(NcstddS(Ns#Unexpected interface attribute '%s'(R;R
R<(R*(R
R<(Rtbadattributess!Expected value for attribute '%s's#Unexpected value for attribute '%s'(
RRR
tvalRR*tactionsR+R@thasvaltactionRR;(	R*RR<RR
RRRR((R<R
RR3s!





cCsg}|io|id|in|io|idn|io|idn|io|idndi|S(Ns
	uuid: %s
s	scriptable
s	builtinclass
s
	function
R(RR*RRRRRR(R*R((RR,s



(R-R.RRR@RRRRRRRRRRRR4RR3R,(((RRbs						r
	tConstMembercBs;tZdZdZdZdZdZdZRS(NRcCs1||_||_||_||_||_dS(N(RR*R
RR<R(R*RR
RR<R((RR3s
				cCs|ii|i|i|_||_|i}xt	|t
o
|i}q3Wt	|tp|iot
d|i|in||_dS(Ns.const may only be a short or long type, not %s(RRRR*RR<R"RtbasetypeRyRR/R2R;(R*RR((RRhs		cCs|i|iS(N(R*RR(R*((RRscCsd|i|i|ifS(Ns	const %s %s = %s
(R*RR
R(R*((RR,scCsdS(Ni((R*((RRs(R-R.R!R3RhRR,R(((RRs				t	AttributecBstZdZeZeZeZeZeZdZ
dZdZeZ
eZeZdZdZdZdZdZdZdZRS(NRc	CsZ||_||_||_||_||_||_||_||_x|D]\}}
}	|djo0|
djotd|	n|
|_
qOn|djog|
djotd|	n|otd|	n|
djotd|	n|
|_qO|d	jog|
djotd
|	n|otd|	n|
djotd|	n|
|_qO|
dj	otd
|	n|djo
t|_qO|djo
t|_qO|djo
t|_qO|djo
t|_qO|djo
t|_qO|djo
t|_qOtd||	qOWdS(Nt
binarynames%binaryname attribute requires a valuetNulls!'Null' attribute requires a values-'Null' attribute only makes sense for setterstEmptyt	Stringifys='Null' attribute value must be 'Empty', 'Null' or 'Stringify't	Undefineds&'Undefined' attribute requires a values2'Undefined' attribute only makes sense for setterss5'Undefined' attribute value must be 'Empty' or 'Null'sUnexpected attribute valueRtnotxpcomtimplicit_jscontextRt	nostdcallt
infalliblesUnexpected attribute '%s'(RRR(RR(RR*R
RtreadonlytnullabletdefvalueR<RRRRR;Rtnullt	undefinedR4RRRRRR(R*RR
RRRRR<RRR((RR3sf								


	
























cCs;||_|ii|i|i|_|idj	o,t	|idjot
d|in|idj	o,t	|idjot
d|in|io,t	|idjot
d|in|i
o*|iidjot
d|in|i
o$|iiot
d|indS(Ns[domstring]s.'Null' attribute can only be used on DOMStrings3'Undefined' attribute can only be used on DOMStrings3Nullable types (T?) is supported only for DOMStringR%sL[infallible] only works on builtin types (numbers, bool, and raw char types)sE[infallible] attributes are only allowed on [builtinclass] interfaces(RR*RRRR<R"RRR(R;RRRR!RR(R*R((RRhs"	&& cCs@t|i}|iodpd}d|||i|ifS(Ns	readonly Rs%s%sattribute %s %s;(RR*RtattribsRRR
(R*RR((RttoIDL$scCs*|iiiptSn|ip|iS(N(R*RRRR@RR(R*((RR5)scCs(d|iodpd|i|ifS(Ns	%sattribute %s %s
s	readonly R(R*RRR
(R*((RR,-scCs|iodpdS(Nii(R*R(R*((RR1s(R-R.R!R@RRRRRRRRRRRRRR3RhRR5R,R(((RRs&	:				tMethodcBstZdZeZeZdZeZeZ	eZ
eZeZeZ
eZdZdZdZdZdZdZdZdZRS(	NRcCs||_||_||_||_||_||_||_x)|D]!\}}	}|djo0|	djotd|n|	|_
qFn|djo0|	djotd|n|	|_qFn|	dj	otd|n|djo
t|_qF|djo
t|_qF|djo
t|_qF|d	jo
t|_qF|d
jo
t|_qF|djo
t|_qF|djo6t|id
jotd|nt|_qF|djo6t|idjotd|nt|_qF|djo6t|idjotd|nt|_qFtd||qFWt|_x|D]}
|ii|
q~WdS(NRs%binaryname attribute requires a valueRs"forward attribute requires a valuesUnexpected attribute valueRRRt
optional_argcRRRis-Methods marked as getter must take 1 argumentRis.Methods marked as setter must take 2 argumentsRis3Methods marked as stringifier must take 0 argumentssUnexpected attribute '%s'(RR*R
Rt	paramlisttparamsR<RtraisesRRRR;RRR4RRRRRRRRRRRmRRR|(R*RR
RRR<RRRRR((RR3Bsh							


	


	


















cCsQ||_|iii|i|i|_x|iD]}|i	|q4W|i
ot|ididjo
d}nDt|ididjo t
d|ii|ind}|ii|do&t
d||iif|in||ii|d<n|iot|ididjo
d}nYt|ididjo5t|idiGHt
d	|ii|ind}|ii|d
o&t
d||iif|in||ii|d
<n|ioq|iido t
d
|ii|int|idjot
d|in||iid<nx|iD]}|io1||idjot
d|i|in|iot}xZ|iD]O}|i|ijo6t}t|idjot
d|iqqqW|pt
d|i|iqIqsqsWdS(Nis
unsigned longRs[domstring]s?a getter must take a single unsigned long or DOMString argumentR
Rs1a %s getter was already defined on interface '%s's8a setter must take a unsigned long or DOMString argumentRs1a %s setter was already defined on interface '%s'Rs3a stringifier was already defined on interface '%s'sG'stringifier' attribute can only be used on methods returning DOMStringis1'retval' parameter '%s' is not the last parameters0is_size parameter must have type 'unsigned long's%could not find is_size parameter '%s'(RR*RRRR<R"RRRhRR(RR;R
RRRRR@tfound_size_paramt
size_paramR4(R*RRRRR((RRh}sZ	!


 &

 &
 


cCs*|iiiptSn|ip|iS(N(R*RRRR@RR(R*((RR5scCsAd|i|idig}|iD]}||iq#~fS(Ns	%s %s(%s)
s, (R*RR
RRRR(R*RR((RR,sc	Cst|ioddi|i}nd}dt|i|i|idig}|i	D]}||iq_~|fS(Ns raises (%s)RRs%s%s %s (%s)%s;s, (RR*RRRRRR
RRRR(R*RRR((RRscCss|iotSn|idjotSnxB|iD]7}|i}t|t	o|i
djotSq4q4WtS(NR(R*RR4RRRR"R RyRR'R@(R*RR ((RRs

	 cCsdS(Ni((R*((RRs(R-R.R!R@RRRRRRRRRRRRR3RhR5R,RRR(((RR4s&	;	.			
	tParamcBsetZdZdZeZeZeZeZ	eZ
dZdZddZ
dZdZdZRS(Nc	Cs5||_||_||_||_||_||_x|D]\}}}|djo-|djot
d|n||_q=|djo-|djot
d|n||_q=|djoM|djot
d|n|djot
d	|n||_
q=|d
joM|djot
d|n|djot
d|n||_q=|dj	ot
d
||n|djo
t|_q=|djo
t|_q=|djo
t|_q=|djo
t|_q=|djo
t|_q=t
d||q=WdS(NRs"'size_is' must specify a parameterRs!'iid_is' must specify a parameterRs'Null' must specify a parameterRRs>'Null' parameter value must be 'Empty', 'Null', or 'Stringify'Rs$'Undefined' must specify a parameters5'Undefined' parameter value must be 'Empty' or 'Null's#Unexpected value for attribute '%s'RRRRtoptionalsUnexpected attribute '%s'(sEmptysNulls	Stringify(sEmptysNull(t	paramtypeR*RR
RR<R"RRRR;RRRRR4RRRRR	(	R*R
RR
RR<R"RR((RR3sX						




























cCs|iii|i|i|_|iot	|i|_n|i
dj	o,t|idjot
d|in|idj	o,t|idjot
d|indS(Ns[domstring]s.'Null' attribute can only be used on DOMStrings3'Undefined' attribute can only be used on DOMString(RRRRR*RR<R"RtArrayRRR(R;R(R*R((RRh
s!
&&cCsh}|iot|d<n|iot|d<ny|ii|i|SWnPtj
o}t|i
|in(tj
o}td|inXdS(NRRsUnexpected parameter attribute(
tkwargsR*RR4RR"R?R
R;teRR<t	TypeError(R*R
R((RR?s

cCs&dt|i|i|i|ifS(Ns
%s%s %s %s(RR*RR
RR
(R*((RR#s(R-R.RRRR@RRRRR	RRR3RhR?R(((RRs2	
	RcBs&tZdZdZedZRS(NcCs
||_dS(N(RR*R(R*R((RR3*scCs
|iiS(N(R*RR5(R*((RR5-scCs(d|odpd|ii|fS(Ns%s%s*sconst R(RR*RR?R=(R*R=R((RR?0s(R-R.R3R5R@R?(((RR)s		t	IDLParserc
Bs\tZhdd<dd<dd<dd<d	d
<dd<d
d<dd<dd<dd<dd<Zdddddddddd g
ZeieiduZd#Zd$Zd%eZ	d&Z
d'Zd(Zd)Z
d*Zd+Zd,Zd-hd.e<e_d/Zd0Zd1Zd2Zd3Zd4Zd5Zd6Zd7ZdvdwdxdydzfZd>Zd?Zd@ZdAZdBZ dCZ!dDZ"dEZ#dFZ$dGZ%dHZ&dIZ'dJZ(dKZ)dLZ*dMZ+dNZ,dOZ-dPZ.dQZ/dRZ0dSZ1dTZ2dUZ3dVZ4dWZ5dXZ6dYZ7dZZ8d[Z9d\Z:d]Z;d^Z<d_Z=d`Z>daZ?dbZ@dcZAddZBdeZCdfZDdgZEdhZFdiZGdjZHdkZIdlZJdmZKdnZLd6doZMdpZNdqZOddrZQdsZRRS({NRtCONSTRt	INTERFACERt
DICTIONARYR7tINtinouttINOUTRtOUTRt	ATTRIBUTERtRAISESRtREADONLYR&tNATIVERtTYPEDEFt
IDENTIFIERRtINCLUDEtIIDtNUMBERtHEXNUMtLSHIFTtRSHIFTtNATIVEIDtSTRINGtnativeidt	exclusives[a-fA-F0-9]s-?\d+s0x%s+s<<s>>s"(){}[],;:=|+-*?s 	cCsL|ii|iid7_|iido|ii|indS(s
/\*(?s).*?\*/s
s/**N(	R R[RWRRRwR*t_doccommentsR(R*R ((Rtt_multilinecommentascCsdS(s
(?m)//.*?$N((R*R ((Rtt_singlelinecommentgscCs|S(N(R (R*R ((Rtt_IIDjss-%(c)s{8}-%(c)s{4}-%(c)s{4}-%(c)s{4}-%(c)s{12}RcCs|ii|id|_|S(sr(unsigned\ long\ long|unsigned\ short|unsigned\ long|long\ long)(?!_?[A-Za-z][A-Za-z_0-9])|_?[A-Za-z][A-Za-z_0-9]*RN(R*tkeywordsR+R RR(R*R ((Rtt_IDENTIFIERnscCsCd|_|iiid|_|ii|iid7_|S(s6(?s)%\{[ ]*C\+\+[ ]*\n(?P<cdata>.*?\n?)%\}[ ]*(C\+\+)?RRs
N(R RR[tlexmatchtgroupRRWR(R*R ((Rtt_LCDATAss
	cCs(|iid\}}}||_|S(s\#include[ \t]+"[^"\n]+"t"N(R Rtsplittinctend(R*R R3RR2((Rt	t_INCLUDEzs	cCs(|iid\}}}||_|S(s	"[^"\n]+"R0N(R RR1tbeginR3(R*R R5R3R((Rtt_STRINGs	c	CsJtd|iiidtd|id|iid|iidS(s \#(?P<directive>[a-zA-Z]+)[^\n]+sUnrecognized directive %st	directiveR[RWRYN(	R;R R[R-R.RUR*RWRY(R*R ((Rtt_directivescCs|iit|i7_dS(s\n+N(R R[RWRR(R*R ((Rt	t_newlinescCs|iid|S(s[^()\n]+(?=\))tINITIALN(R R[R5(R*R ((Rtt_nativeid_NATIVEIDsRc	Cs7tdtd|id|iid|iidS(Nsunrecognized inputR[RWRY(R;RUR*R[RWRY(R*R ((Rtt_ANY_errorstleftt|t+t-R8tUMINUScCst|d|d<dS(sidlfile : productionsiiN(RR(R*R((Rt	p_idlfilescCsg|d<dS(sproductions : iN(R(R*R((Rtp_productions_startscCsEt|d|d<|didt|d|i|ddS(sproductions : CDATA productionsiiiN(R	RtinsertRR*tgetLocation(R*R((Rtp_productions_cdatascCsEt|d|d<|didt|d|i|ddS(s!productions : INCLUDE productionsiiiN(R	RRDRR*RE(R*R((Rtp_productions_includescCs0t|d|d<|did|ddS(sproductions : interface productions
                       | dictionary productions
                       | typedef productions
                       | native productionsiiiN(R	RRD(R*R((Rtp_productions_interfacesc
CsGtd|dd|dd|i|dd|idi|d<d	S(
s+typedef : TYPEDEF IDENTIFIER IDENTIFIER ';'RiR
iR<iRiN(RRR*REtsliceR(R*R((Rt	p_typedefs


cCsEtd|dd|dd|ddd|i|d|d	<d
S(sHnative : attributes NATIVE IDENTIFIER afternativeid '(' NATIVEID ')' ';'R
iR0iRiR<iiN(RRR*RE(R*R((Rtp_natives


cCs|iiddS(safternativeid : R%N(R*R[R5(R*R((Rtp_afternativeidscCs0hd|d<d|i|d<|d<dS(s1anyident : IDENTIFIER
                    | CONSTRiR<iN(RR*RE(R*R((Rt
p_anyidentscCsXt|djohdg<|d<n+hd|d<d|idi<|d<dS(s5attributes : '[' attlist ']'
                      | iRiiRN(RRRIR(R*R((Rtp_attributesscCs|dg|d<dS(sattlist : attributeiiN(R(R*R((Rtp_attlist_startscCs0t|d|d<|did|ddS(sattlist : attribute ',' attlistiiiN(R	RRD(R*R((Rtp_attlist_continuescCs+|dd|d|ddf|d<dS(s!attribute : anyident attributevaliRiR<iN(R(R*R((Rtp_attributescCs)t|djo|d|d<ndS(sbattributeval : '(' IDENTIFIER ')'
                        | '(' IID ')'
                        | iiiN(RR(R*R((Rtp_attributevalsc
s0d\}}}}}}|d}
g}	d|jo|	i	|dn|	i	i
did}|djowt
|
djotdtddn|dj	otd	|ntd
|d|d|	d<n5td
|d|
d|d
|d|d|	d<dS(sCinterface : attributes INTERFACE IDENTIFIER ifacebase ifacebody ';'iRRicsidS(Ni(R*RER((RR*(RRsis3Forward-declared interface must not have attributesis/Forward-declared interface must not have a baseR
R<RRN(RtattsRR
RtbodytSEMIRRRRIRRRR;R	RzR{(R*RRTRSR
RURRRRR((R*RRtp_interfaces,



&		cCs)t|djo|d|d<ndS(s3ifacebody : '{' members '}'
                     | iiiN(RR(R*R((Rtp_ifacebodyscCs)t|djo|d|d<ndS(s2ifacebase : ':' IDENTIFIER
                     | iiiN(RR(R*R((Rtp_ifacebasescCsg|d<dS(s
members : iN(R(R*R((Rtp_members_startscCs0t|d|d<|did|ddS(smembers : member membersiiiN(R	RRD(R*R((Rtp_members_continue#scCs't|d|i|d|d<dS(smember : CDATAiiN(RRR*RE(R*R((Rtp_member_cdata(scCsQtd|dd|dd|dd|i|dd	|idi|d
<dS(s4member : CONST IDENTIFIER IDENTIFIER '=' number ';' RiR
iRiR<iRiN(RRR*RERIR(R*R((Rtp_member_const,scs$t|dd|d<dS(snumber : NUMBERicsS(N(tn(R(R](RR7siN(tintRR](R*RR]((R]Rtp_number_decimal4scs't|ddd|d<dS(snumber : HEXNUMiicsS(N(R](R(R](RR<siN(R^RR](R*RR]((R]Rtp_number_hex9scs3|d|i|dd|d<dS(snumber : IDENTIFIERics|iS(N(RRR}tloc(R(RaR}(RRBsiN(RR}R*RERa(R*RR}Ra((R}RaRtp_number_identifier>s
cCs|d|d<dS(snumber : '(' number ')'iiN(R(R*R((Rtp_number_parenDscs|dd|d<dS(s number : '-' number %prec UMINUSics|S(N(R]R(R(R](RRKsiN(RR](R*RR]((R]Rtp_number_negHs
cs{|d|d|ddjod|d<n<|ddjod|d<nd	|d<d
S(sfnumber : number '+' number
                  | number '-' number
                  | number '*' numberiiiR?cs||S(N(tn1Rtn2(R(ReRf(RRTsiR@cs||S(N(ReRRf(R(ReRf(RRVscs||S(N(ReRRf(R(ReRf(RRXsN(RReRf(R*RRfRe((RfReRtp_number_addMs

csS|d|d|ddjod|d<nd|d<dS(	sFnumber : number LSHIFT number
                  | number RSHIFT numberiiis<<cs||>S(N(ReRRf(R(ReRf(RR`sics||?S(N(ReRRf(R(ReRf(RRbsN(RReRf(R*RRfRe((RfReRtp_number_shiftZs

cs+|d|dd|d<dS(snumber : number '|' numberiics||BS(N(ReRRf(R(ReRf(RRhsiN(RReRf(R*RRfRe((RfReRtp_number_bitords

cCsd|djo|dd}n0|ddj	o|d}n|idi}td|dd|dd	|dd	d
|ddj	dtddd
|i|dd||d<dS(sCmember : attributes optreadonly ATTRIBUTE IDENTIFIER identifier ';'RiiiRiR
iRRRRR<iN(RRRRIRR@R*RE(R*RR((Rtp_member_attjs

cCsd|djo|dd}n|idi}td|dd|dd|ddd|d	d
|i|dd|d|d|d
<dS(sFmember : attributes IDENTIFIER IDENTIFIER '(' paramlist ')' raises ';'RiiRR
iRRiR<RiiN(RRRIRR*RE(R*RR((Rtp_member_method|s


cCsQt|djog|d<n-t|d|d<|did|ddS(s4paramlist : param moreparams
                     | iiiN(RRR	RD(R*R((Rtp_paramlists
cCsg|d<dS(smoreparams :iN(R(R*R((Rtp_moreparams_startscCs0t|d|d<|did|ddS(s!moreparams : ',' param moreparamsiiiN(R	RRD(R*R((Rtp_moreparams_continuesc
CsOtd|dd|dd|dd|ddd	|i|d|d
<dS(s2param : attributes paramtype IDENTIFIER identifierR
iRiR
iRiR<iN(RRR*RE(R*R((Rtp_params


cCs|d|d<dS(sFparamtype : IN
                     | INOUT
                     | OUTiiN(R(R*R((Rtp_paramtypescCs9t|djo|idi|d<nd|d<dS(s0optreadonly : READONLY
                       | iiN(RRRIRR(R*R((Rt
p_optreadonlysc
sd\}}}}}}|d}
g}	d|jo|	i	|dn|	i	i
did}td|d|
d|d|d	|d|	d
<dS(sDdictionary : attributes DICTIONARY IDENTIFIER ifacebase dictbody ';'iRRicsidS(Ni(R*RER((RR*(RRsR
RRR<iN(
RRSRR
RRTRURRRRIRR(R*RRTRSR
RRURRRR((R*RRtp_dictionarys

		cCs)t|djo|d|d<ndS(s6dictbody : '{' dictmembers '}'
                     | iiiN(RR(R*R((Rt
p_dictbodyscCsg|d<dS(sdictmembers : iN(R(R*R((Rtp_dictmembers_startscCs0t|d|d<|did|ddS(s$dictmembers : dictmember dictmembersiiiN(R	RRD(R*R((Rtp_dictmembers_continuescCsd|djo|dd}n|idi}td|dd|dd|dddtd	|d
dj	d|dd
|i|dd||d<dS(sIdictmember : attributes IDENTIFIER optnullable IDENTIFIER optdefvalue ';'RiiRR
iRRRiRiR<iN(RRRIRR@RR*RE(R*RR((Rtp_dictmembers


cCs3t|djo|d|d<nd|d<dS(s+optnullable : '?'
                       | iiN(RRR(R*R((Rt
p_optnullablescCs3t|djo|d|d<nd|d<dS(s2optdefvalue : '=' STRING
                       | iiiN(RRR(R*R((Rt
p_optdefvaluescCs|d|d<dS(s:identifier : DICTIONARY
                      | IDENTIFIERiiN(R(R*R((Rtp_identifierscCs3t|djog|d<n|d|d<dS(s3raises : RAISES '(' idlist ')'
                  | iiiN(RR(R*R((Rtp_raisesscCs|dg|d<dS(sidlist : IDENTIFIERiiN(R(R*R((Rtp_idlistscCs0t|d|d<|did|ddS(sidlist : IDENTIFIER ',' idlistiiiN(R	RRD(R*R((Rtp_idlist_continuescCsH|ptddn+t|i|i|i}td|dS(NsTSyntax Error at end of file. Possibly due to missing semicolon(;), braces(}) or bothsinvalid syntax(	R R;RRUR*R[RWRYR<(R*R R<((Rtp_error
scCsag|_tid|d|dddd|_tid|d|dd	d
ddd|_dS(NRvt	outputdirtlextabtxpidllextoptimizeitmodulet	debugfiletxpidl_debugt	tabmodulet	xpidlyacc(R*R'tlexR~R[tyaccR(R*R~((RR3s	cCs
g|_dS(N(R*R'(R*((Rt
clearCommentsscCsI|ii}|dj	o)|idjo|i|_g|_n|S(NR(R*R[ttokenR RRR'R(R*R ((RR s

cCss|dj	o||i_nd|i_|ii||iid|}|dj	o|i
i|n|S(NiR[(RVRR*R[RWtinputRRRRRR(R*RRVR((RR's

cCs%t|i|i||i|S(N(RUR*R[RRWRRY(R*RR((RRE1s(snativeidR&((snativeidR&(R=R>(R=R!R"(R=R?R@(R=R8(R=RA(SR-R.R+ttokensRtvalueststatesthexchartt_NUMBERtt_HEXNUMtt_LSHIFTtt_RSHIFTtliteralstt_ignoreR(R)R*RR,R/R4R6R8R9R;tt_nativeid_ignoreR<t
precedenceRBRCRFRGRHRJRKRLRMRNRORPRQRRRVRWRXRYRZR[R\R_R`RbRcRdRgRhRiRjRkRlRmRnRoRpRqRrRsRtRuRvRwRxRyRzR{R|R}R3RRRRRE(((RR4si$

																																							
	
																								
t__main__is
Parsing %sRV(1RR9tos.pathRRtplyRRRRRR$R(RvR)R/R4R@tbuiltinNamesRpRR
RURmt	ExceptionR;RRRRRzRRR{RRRRRRRRR-RtargvtfRRR($R;RR(RRR/RURmRzRR$RRRRRRRR)R{RpRR9RRRRRRRRRRRRR((Rt?sV	
0			
'(
)"P	Cr\
		

Anon7 - 2021