Home
last modified time | relevance | path

Searched refs:class_node (Results 1 – 1 of 1) sorted by relevance

/external/google-breakpad/src/testing/scripts/generator/cpp/
Dgmock_class.py51 def _GenerateMethods(output_lines, source, class_node): argument
56 for node in class_node.body:
130 class_node = node
132 if class_node.namespace:
133 lines.extend(['namespace %s {' % n for n in class_node.namespace]) # }
141 _GenerateMethods(lines, source, class_node)
154 if class_node.namespace:
155 for i in range(len(class_node.namespace)-1, -1, -1):
156 lines.append('} // namespace %s' % class_node.namespace[i])