1
2
3
4
5
6 import algorithm
7 import code_creator
10 """Code creator that is based on a declaration.
11 """
13 """Constructor.
14
15 @param declaration: Declaration object
16 @type declaration: L{decl_wrapper_t<decl_wrappers.decl_wrapper_t>}
17 @param parent: Parent code creator.
18 @type parent: code_creator_t
19 """
20 self._decl = declaration
21
26
27 @property
29 """The declaration this code creator is based on.
30 @type: L{decl_wrapper_t<decl_wrappers.decl_wrapper_t>}
31 """
32 return self._decl
33
36
38 return self._get_alias_impl()
41 alias = property( _get_alias, _set_alias )
42
43 @property
46
47 @property
52
54 """return list of user header files to be included from the generated file"""
55 return self.declaration.include_files
56