Home
last modified time | relevance | path

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

/external/yapf/yapf/yapflib/
Dformat_token.py187 if previous.is_pseudo_paren:
198 (previous.is_pseudo_paren and previous.value != ')' and
208 if previous.is_pseudo_paren and previous.value == ')':
227 msg += ', pseudo)' if self.is_pseudo_paren else ')'
328 def is_pseudo_paren(self): member in FormatToken
Dformat_decision_state.py135 if current.is_pseudo_paren:
174 if current.is_pseudo_paren:
247 if (previous.value == '(' and not previous.is_pseudo_paren and
319 (previous.is_pseudo_paren and previous.value == '(' and
588 if previous.is_pseudo_paren and previous.value == '(':
648 elif not current.is_pseudo_paren:
761 if previous and (previous.value == ':' or previous.is_pseudo_paren):
779 if not start.is_pseudo_paren:
794 if tok.is_pseudo_paren:
815 (current.is_pseudo_paren and current.next_token.value == '{') and
[all …]
Dunwrapped_line.py75 tok_len = len(token.value) if not token.is_pseudo_paren else 0
221 if (left.is_pseudo_paren and _IsIdNumberStringToken(right) and
225 if left.is_pseudo_paren or right.is_pseudo_paren:
376 prev_token.is_pseudo_paren and
Dreformatter.py123 elif prev_tok.is_pseudo_paren:
256 if not tok.is_pseudo_paren: