The type visitors should generate names relative to the current scope. The generated references however are fully scoped names
Operations Summary: | |
__init__(self, os) [Source] | |
scope(self) [Source] | |
push_scope(self, newscope) [Source] | |
pop_scope(self) [Source] | |
write(self, text) Write some text to the output stream, replacing 's with 's and indents. [Source] | |
start_entity(self, __type, **__params) Write the start of an entity, ending with a newline [Source] | |
end_entity(self, type) Write the end of an entity, starting with a newline [Source] | |
write_entity(self, __type, __body, **__params) Write a single entity on one line (though body may contain newlines) [Source] | |
entity(self, __type, __body, **__params) Return but do not write the text for an entity on one line [Source] | |
reference(self, ref, label) reference takes two strings, a reference (used to look up the symbol and generated the reference), and the label (used to actually write it) [Source] | |
label(self, ref) [Source] | |
type_label(self) [Source] | |
visitBaseType(self, type) [Source] | |
visitUnknown(self, type) [Source] | |
visitDeclared(self, type) [Source] | |
visitModifier(self, type) [Source] | |
visitParametrized(self, type) [Source] | |
formatType(self, type) [Source] | |
visitFunctionType(self, type) [Source] | |
visitComment(self, comment) [Source] | |
visitDeclarator(self, node) [Source] | |
visitTypedef(self, typedef) [Source] | |
visitVariable(self, variable) [Source] | |
visitConst(self, const) [Source] | |
visitModule(self, module) [Source] | |
visitClass(self, clas) [Source] | |
visitInheritance(self, inheritance) [Source] | |
visitParameter(self, parameter) [Source] | |
visitFunction(self, function) [Source] | |
visitOperation(self, operation) [Source] | |
do_function(self, func) Stuff common to functions and methods, contructors, destructors [Source] | |
visitEnumerator(self, enumerator) [Source] | |
visitEnum(self, enum) [Source] |