Home
last modified time | relevance | path

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

/external/googletest/googlemock/scripts/generator/cpp/
Dgmock_class.py51 def _GenerateMethods(output_lines, source, class_node): argument
57 for node in class_node.body:
93 if class_node.templated_types:
136 class_node = node
138 if class_node.namespace:
139 lines.extend(['namespace %s {' % n for n in class_node.namespace]) # }
143 if class_node.templated_types:
148 template_arg_count = len(class_node.templated_types.keys())
160 _GenerateMethods(lines, source, class_node)
173 if class_node.namespace:
[all …]
/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])
/external/tensorflow/tensorflow/python/autograph/impl/
Dconversion_test.py136 class_node = nodes[-2] # TODO(mdan): This is brittle.
139 self.assertEqual(class_node.name, 'TfTestSubclass')