| Method Summary |
| |
__init__(self,
declarations,
counter)
|
| |
class_definition(self,
name)
|
| |
constant(self,
type_name,
number,
value)
|
| |
function_definition(self,
name,
argnames,
locals,
code_generator)
|
| |
get_const_value(self,
value)
|
| |
locals(self,
locals,
native,
function_locals)
Write the given 'locals' (a list of 2-tuples each containing a name
and a list of nodes). |
| |
main_definition(self,
name,
code_generator)
|
| |
method_definition(self,
name)
|
| |
module_definition(self,
name)
|
| |
object_type_definition(self,
name,
class_name)
|
| |
stack(self,
highest)
|
| |
_is_class(self,
nodes)
|
| |
_is_function(self,
nodes)
|
| |
_is_module(self,
nodes)
|
| |
_is_specialised_function(self,
nodes)
|
| Inherited from CGenerator |
| |
end_guard(self,
module_name)
|
| |
function_signature(self,
name,
argnames)
|
| |
get_output(self)
|
| |
include(self,
module_name)
|
| |
main_signature(self,
name)
|
| |
start_guard(self,
module_name)
|
| |
_translate(self,
name)
Return a translation of 'name' compatible with C syntax. |
| Inherited from RawGenerator |
| |
write(self,
*args)
|
| |
writeln(self,
*args)
|
| Inherited from Generator |
| |
dedent(self)
|
| |
indent(self)
|
| |
_ls(self)
|