Searched refs:hasanno (Results 1 – 20 of 20) sorted by relevance
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | anno_test.py | 36 self.assertFalse(anno.hasanno(node, 'foo')) 43 self.assertTrue(anno.hasanno(node, 'foo')) 50 self.assertFalse(anno.hasanno(node, 'foo')) 63 self.assertTrue(anno.hasanno(node_2, 'foo')) 64 self.assertFalse(anno.hasanno(node_2, 'bar')) 77 self.assertTrue(anno.hasanno(node, 'spam')) 78 self.assertTrue(anno.hasanno(node, 'ham')) 79 self.assertTrue(anno.hasanno(node, 'eggs')) 80 self.assertFalse(anno.hasanno(node.body[0], 'eggs'))
|
D | anno.py | 112 def hasanno(node, key, field_name='___pyct_anno'): function 135 if hasanno(from_node, key, field_name=field_name): 155 if hasanno(n, k, field_name):
|
D | qual_names.py | 223 if anno.hasanno(node.value, anno.Basic.QN): 242 if anno.hasanno(node.slice.value, anno.Basic.QN): 246 if anno.hasanno(node.value, anno.Basic.QN):
|
D | transformer.py | 471 if anno.hasanno(node, anno.Basic.ORIGIN): 477 if not anno.hasanno(node, anno.Basic.SKIP_PROCESSING):
|
D | transformer_test.py | 216 self.assertFalse(anno.hasanno(for_node, 'string')) 218 self.assertFalse(anno.hasanno(while_node, 'string'))
|
D | ast_util_test.py | 95 self.assertFalse(anno.hasanno(new_node.body[0], 'baz'))
|
D | ast_util.py | 99 if anno.hasanno(node, anno.Basic.QN):
|
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/ |
D | type_info_test.py | 105 self.assertFalse(anno.hasanno(call_node, 'is_constructor')) 145 self.assertFalse(anno.hasanno(method_call, 'live_val')) 154 self.assertFalse(anno.hasanno(method_call, 'live_val')) 183 self.assertFalse(anno.hasanno(method_call, 'live_val')) 193 self.assertFalse(anno.hasanno(method_call, 'live_val')) 212 self.assertFalse(anno.hasanno(a, 'live_val')) 213 self.assertFalse(anno.hasanno(b, 'live_val')) 214 self.assertFalse(anno.hasanno(c, 'live_val'))
|
D | live_values.py | 98 if anno.hasanno(node.value, 'live_val'): 99 assert anno.hasanno(node.value, 'fqn') 116 elif anno.hasanno(node.value, 'type'):
|
D | activity.py | 189 if anno.hasanno(node, anno.Basic.QN): 199 if not anno.hasanno(node, anno.Basic.QN):
|
D | liveness.py | 55 if anno.hasanno(node.ast_node, anno.Static.SCOPE):
|
D | type_info.py | 180 if anno.hasanno(func, 'live_val'):
|
D | reaching_definitions.py | 133 if anno.hasanno(node.ast_node, anno.Static.SCOPE):
|
/external/tensorflow/tensorflow/python/autograph/converters/ |
D | error_handlers.py | 40 if (anno.hasanno(node, anno.Basic.ORIGIN) and
|
D | builtin_functions.py | 49 if anno.hasanno(node.func, 'live_val'):
|
D | directives.py | 97 if anno.hasanno(call_node.func, 'live_val'):
|
D | logical_expressions.py | 67 if anno.hasanno(operand, SAFE_BOOLEAN_OPERAND):
|
D | side_effect_guards.py | 80 if anno.hasanno(n, anno.Basic.INDENT_BLOCK_REMAINDER):
|
D | lists.py | 94 if anno.hasanno(target_node, anno.Basic.QN):
|
D | control_flow.py | 519 has_extra_test = anno.hasanno(node, 'extra_test')
|