Ñò
PhEc @ s d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z
d d k i Z d d k
i Z d d k i Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d
e f d „ ƒ YZ d S( iÿÿÿÿNt ComponentSourcec B s> e Z d Z d d „ Z d „ Z d „ Z d „ Z d „ Z RS( s: a time-sensitive descriptor object for a Myghty component.c C su | | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ | o
| | _ n t
t i ƒ ƒ | _ d S( s# unique identifier of the component.t i N( t idt namet dir_namet patht file_patht path_idt Nonet modulet
modulesizet
last_modifiedt intt time( t selfR R ( ( s2 /usr/lib/python2.6/site-packages/myghty/csource.pyt __init__ s
c C s t S( N( t True( R ( ( s2 /usr/lib/python2.6/site-packages/myghty/csource.pyt can_compile2 s c C s
t ƒ ‚ d S( N( t NotImplementedError( R ( ( s2 /usr/lib/python2.6/site-packages/myghty/csource.pyt get_component_source_file4 s c C s
t ƒ ‚ d S( N( R ( R ( ( s2 /usr/lib/python2.6/site-packages/myghty/csource.pyt get_component_source6 s c C s2 | i d | i ƒ d | i d | d | i ƒ d S( sh compiles the source of this component using the given compiler,
sending output to the given filet sourceR t filet
input_fileN( t compileR R R ( R t compilerR ( ( s2 /usr/lib/python2.6/site-packages/myghty/csource.pyt get_object_code8 s
N( t __name__t
__module__t __doc__R R R R R R ( ( ( s2 /usr/lib/python2.6/site-packages/myghty/csource.pyR s t ModuleComponentSourceSingletonc B s e Z d Z d „ Z RS( sŒ a metaclass for ModuleComponentSource which allows its constructor to cache the
inspection results of the "arg" constructor parameter. c K sµ | i d d ƒ } | i d d ƒ } | i d t ƒ } | d j o^ | d j oQ y | | } Wn/ t j
o# t i | | } | | |