Home
last modified time | relevance | path

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

/third_party/cef/tools/yapf/yapf/yapflib/
Dblank_line_calculator.py96 node.prev_sibling.parent)
172 (_AsyncFunction(node) and node.prev_sibling.column == 0))
176 return (py3compat.PY3 and node.prev_sibling and
177 pytree_utils.NodeName(node.prev_sibling) == 'ASYNC')
Dsplit_penalty.py259 last_child_node = last_child_node.prev_sibling
261 if _LastChildNode(last_child_node.prev_sibling).value != ',':
Dformat_token.py273 return self.is_multiline_string and not self.node.prev_sibling
Dpytree_unwrapper.py256 if node.prev_sibling.value == '(':
/third_party/python/Lib/lib2to3/tests/
Dtest_pytree.py346 self.assertIs(n2.prev_sibling, n1)
347 self.assertEqual(n1.prev_sibling, None)
348 self.assertEqual(p1.prev_sibling, None)
355 self.assertIs(l2.prev_sibling, l1)
356 self.assertEqual(l1.prev_sibling, None)
357 self.assertEqual(p1.prev_sibling, None)
/third_party/python/Lib/lib2to3/
Dfixer_util.py252 prev = node.prev_sibling
Dpytree.py169 def prev_sibling(self): member in Base