+
    SBi                         ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RIH	t	H
t
 ^ RIHtHt ^ RIHt R tR tR tR tR	 tRR
 ltRR lt]R8X  d   ]P0                  ! ]! 4       4       R# R# )    N)__version__DESCRIPTION)Lexer
LexerError)QmlClassc                     V R V P                  R4      w  r#pVR8X  d   VP                  R4      ^,           pM^p\        V4      ^,           pWV3# )N
)
rpartitioncountlen)textidxheadseptailrowcols   &&     1/usr/lib/python3.14/site-packages/doxyqml/main.pycoord_for_idxr      sO    4Cj++D1ODt
d{jj"
d)a-C8O    c                 f    V P                  R ^ V4      pVR8X  d   ^ pV P                  R V4      pWV # )r	   )rfindfind)r   r   boleols   &&  r   line_for_idxr      s:    
**T1c
"C
by
))D#
CC=r   c                     \        W4      w  r#\        W4      pVR ,           RV^,
          ,          ,           R,           pW%3# )r	   -^)r   r   )r   r   r   r   linemsgs   &&    r   info_for_error_atr#   #   s:    T'HC"D
+sQw
'#
-C8Or   c                 h   \         P                  ! R \        R7      pVP                  RRRRR7       VP                  RR. R	R
7       VP                  RRRRR
7       VP                  RRRRR
7       VP                  RRR\        ,          R7       VP                  RRR7       VP                  V 4      # )doxyqml)progdescriptionz-dz--debug
store_truezLog debug info to stderr)actionhelpz--namespaceappendz+Wrap the generated C++ classes in NAMESPACE)r)   defaultr*   z--no-since-versionFz1Don't append "Since: [version]" info to docstringz--no-nested-componentsz?Don't create private member documentation for nested componentsz	--versionversionz%%(prog)s %s)r)   r-   qml_filezThe QML file to parse)r*   )argparseArgumentParserr   add_argumentr   
parse_args)argvparsers   & r   r2   r2   *   s    $$
F i+7  9 ' "J  L ,+ %R  T 0+ %^  ` ( . <  > 
4  6 T""r   c                 &   \         P                  P                  V 4      p \         P                  P                  VR4      p\         P                  P	                  V4      '       d   V# \         P                  P                  V4      pW18X  d   R# TpKs  )TqmldirN)ospathdirnamejoinisfile)r.   dirnameparents   &   r   find_qmldir_filer?   G   sd    
''//(
#C
ww||C*77>>$K %=r   c                    \         P                  P                  V 4      P                  R 4      ^ ,          pRpRp\	        V 4      pV'       Ed2   \        V4      P                  4       p\        P                  ! RV\        P                  4      pV'       d   VP                  ^4      p\         P                  P                  V4      p\        P                  ! R\        P                  4      p	RV9   d   R# V	P                  V4       Fw  w  rp\         P                  P                  W4      p\         P                  P                  V4      '       g   KL  \         P                  P!                  W4      '       g   Ks  TpT
p M	  V'       d   VR ,           V,           pV'       d    R P                  V4      R ,           V,           pW#V3# ).N z^module\s+((?:\w|\.)+)\s*$z$^(\w+)\s+(\d+(?:\.\d+)*)\s+(\S+)\s*$internal)NNN)r7   r8   basenamesplitr?   openreadrematch	MULTILINEgroupr9   compilefindallr:   r;   samefile)r.   	namespace	classnameclassversion
modulenamer6   r   rI   basedirrx_object_typer=   r-   r8   filenames   &&            r   find_classnamerV   ]   sJ     *005a8ILJh'FvF|  "6bllKQJ''//&)$KR\\Z ###1#9#9$#?D4ww||G2Hww~~h''BGG,<,<X,P,P& 	 $@ $y0	HHY'#-	9	J..r   c                    V f   \         P                  R,          p Vf   \         P                  p\        V 4      pVP                  pVP
                  pRp\        VR4      P                  ^4      pVP                  \        P                  4      '       d   Rp\        W5R7      P                  4       p\        V4      p VP                  4        TP$                  '       d;   TP&                   F*  p\)        TP*                  :R R	TP,                  : 24       K,  	  \/        Y44      w  rpTP0                  '       d   R pTf   R # \3        YYP4                  '       * 4      p \6        P8                  ! TP&                  TTP4                  '       * 4       \        P>                  ! R4      ! TP@                  4      p\)        TTR7       ^ #   \         dl   p	\        P                  ! RT,          4       \!        YyP"                  4      w  r\        P                  ! RYT4       TP$                  '       d   h Ru R p	?	# R p	?	ii ; i  \6        P:                   dv   p	\        P                  ! R
T,          4       \!        YyP<                  P"                  4      w  r\        P                  ! RYT4       TP$                  '       d   h Ru R p	?	# R p	?	ii ; i)N:   NNzutf-8rbz	utf-8-sig)encodingzFailed to tokenize %szLexer error line %d: %s
%sz>20 zFailed to parse %s)filer   )!sysr3   stdoutr2   r.   rO   rF   rG   
startswithcodecsBOM_UTF8r   tokenizer   loggingerrorr#   r   debugtokensprinttypevaluerV   no_since_versionr   no_nested_components	qmlparserparseQmlParserErrortoken	getwriterbuffer)r3   outargsr=   rO   rZ   first_4_bytesr   lexerexcr   r"   ro   rP   rQ   rR   	qml_classs   &&               r   mainrx      s   |xx|
{jjdD==DIHt$))!,M  11(--/D$KE	 zzz\\Euzz5;;78 " +9*I'IZ*B[B[>[\I	iT5N5N1NO 

7
#CJJ
/C	)#I  -45$T7733SsC:::I0 ## *T12$T99==93SsC:::Is>   =G 1H< H9A H4.H94H9<KA*K;KK__main__)N)NN)r/   r`   rc   r7   rH   r]   doxyqml.qmlparserrl   r%   r   r   doxyqml.lexerr   r   doxyqml.qmlclassr   r   r   r#   r2   r?   rV   rx   __name__exit r   r   <module>r      sg       	 	 
 % , + %#:,$/N8v zHHTV r   