File: //proc/3/root/usr/lib/python2.4/site-packages/sepolgen/module.pyc
mò
=&KRc @ s“ d Z d k Z d k Z d k Z d k Z d k Z d k Z d k Z d k Z d k Z d „ Z
d f d „ ƒ YZ d „ Z d f d „ ƒ YZ
d S( sU
Utilities for dealing with the compilation of modules and creation
of module tress.
Nc C s5 t i d | ƒ } t | ƒ d j o t Sn t Sd S( s' Check that a module name is valid.
s [^a-zA-Z0-9]i N( t ret findallt modnamet mt lent Truet False( R R ( ( t3 /usr/lib/python2.4/site-packages/sepolgen/module.pyt
is_valid_name% s
t
ModuleTreec B sS t Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d d „ Z
RS( Nc C s | | _ d | _ d S( N( R t selft Nonet dirname( R
R ( ( R t __init__/ s c C s | i S( N( R
R ( R
( ( R t dir_name3 s c C s | i d | i d S( Nt /s .te( R
R R ( R
( ( R t te_name6 s c C s | i d | i d S( NR s .fc( R
R R ( R
( ( R t fc_name9 s c C s | i d | i d S( NR s .if( R
R R ( R
( ( R t if_name<