Current Path : /usr/local/lib/python2.5/site-packages/xcbgen/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/python2.5/site-packages/xcbgen/matcher.pyc |
³ò .h”Rc @ s' d Z d d k l Z d d k l Z d d k Z d d k Td „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z h e d <e d <e d <e d <e d <e d <e d <e d <e d <e d <e d <e d <Z d „ Z d S( s XML parser. One function for each top-level element in the schema. Most functions just declare a new object and add it to the module. For typedefs, eventcopies, xidtypes, and other aliases though, we do not create a new type object, we just record the existing one under a new name. iÿÿÿÿ( t join( t parseN( t *c C su t | i d | i ƒ } t | ƒ i ƒ } t i | ƒ } t | | ƒ | i | i ƒ p | i | i | ƒ n d S( s For imports, we load the file, create a new namespace object, execute recursively, then record the import (for header files, etc.) s %s.xmlN( R t dirt textR t getroott statet Namespacet executet has_importt add_import( t nodet modulet namespacet new_filet new_roott new_namespace( ( s8 /usr/local/lib/python2.5/site-packages/xcbgen/matcher.pyt import_ s c C sT | i d ƒ } | i | f } | i | i d ƒ ƒ } | i | | i | | ƒ d S( Nt newnamet oldname( t gett prefixt get_typet add_typet ns( R R R t idt namet type( ( s8 /usr/local/lib/python2.5/site-packages/xcbgen/matcher.pyt typedef s c C sK | i d ƒ } | i | f } | i d ƒ } | i | | i | | ƒ d S( NR t CARD32( R R R R R ( R R R R R R ( ( s8 /usr/local/lib/python2.5/site-packages/xcbgen/matcher.pyt xidtype! s c C sK | i d ƒ } | i | f } | i d ƒ } | i | | i | | ƒ d S( NR R ( R R R R R ( R R R R R R ( ( s8 /usr/local/lib/python2.5/site-packages/xcbgen/matcher.pyt xidunion' s c C sK | i d ƒ } | i | f } t | | ƒ } | i | | i | | ƒ d S( NR ( R R t EnumR R ( R R R R R R ( ( s8 /usr/local/lib/python2.5/site-packages/xcbgen/matcher.pyt enum- s c C sK | i d ƒ } | i | f } t | | ƒ } | i | | i | | ƒ d S( NR ( R R t StructR R ( R R R R R R ( ( s8 /usr/local/lib/python2.5/site-packages/xcbgen/matcher.pyt struct3 s c C sK | i d ƒ } | i | f } t | | ƒ } | i | | i | | ƒ d S( NR ( R R t UnionR R ( R R R R R R ( ( s8 /usr/local/lib/python2.5/site-packages/xcbgen/matcher.pyt union9 s c C sE | i d ƒ } | i | f } t | | ƒ } | i | | | ƒ d S( NR ( R R t Requestt add_request( R R R R R R ( ( s8 /usr/local/lib/python2.5/site-packages/xcbgen/matcher.pyt request? s c C sa | i d ƒ } | i | f } t | | ƒ } | i | i d ƒ | t ƒ | i | | | ƒ d S( NR t number( R R t Eventt add_opcodet Truet add_event( R R R R R t event( ( s8 /usr/local/lib/python2.5/site-packages/xcbgen/matcher.pyR. E s c C sj | i d ƒ } | i | f } | i | i d ƒ ƒ } | i | i d ƒ | t ƒ | i | | | ƒ d S( NR t refR) ( R R t get_eventR+ t FalseR- ( R R R R R R. ( ( s8 /usr/local/lib/python2.5/site-packages/xcbgen/matcher.pyt eventcopyL s c C sa | i d ƒ } | i | f } t | | ƒ } | i | i d ƒ | t ƒ | i | | | ƒ d S( NR R) ( R R t ErrorR+ R, t add_error( R R R R R t error( ( s8 /usr/local/lib/python2.5/site-packages/xcbgen/matcher.pyR5 S s c C sj | i d ƒ } | i | f } | i | i d ƒ ƒ } | i | i d ƒ | t ƒ | i | | | ƒ d S( NR R/ R) ( R R t get_errorR+ R1 R4 ( R R R R R R5 ( ( s8 /usr/local/lib/python2.5/site-packages/xcbgen/matcher.pyt errorcopyZ s t importR R R R! R# R% R( R. R2 R5 R7 c C s5 x. t | i ƒ D] } t | i | | | ƒ q Wd S( N( t listt roott funcst tag( R R t elt( ( s8 /usr/local/lib/python2.5/site-packages/xcbgen/matcher.pyR n s ( t __doc__t os.pathR t xml.etree.cElementTreeR R t xtypesR R R R R! R# R% R( R. R2 R5 R7 R; R ( ( ( s8 /usr/local/lib/python2.5/site-packages/xcbgen/matcher.pys <module> s: