Home
last modified time | relevance | path

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

/third_party/cef/tools/yapf/yapf/yapflib/
Dreformatter.py62 if uwline.first.is_comment:
64 elif uwline.last.is_comment:
70 if any(tok.is_comment for tok in uwline.tokens):
128 if cur_tok.is_comment:
140 if tok.is_comment and prev_token:
191 if tok.is_comment and re.match(style.Get('I18N_COMMENT'), tok.value):
230 not any(tok.is_comment for tok in uwline.tokens[:last_index]))
473 if (not prev_uwline.disable and prev_last_token.is_comment and
482 if not final_lines[index - 1].is_comment:
501 if first_token.is_comment:
[all …]
Dformat_decision_state.py235 not current.is_comment):
253 not current.is_comment)):
271 if (style.Get('SPLIT_BEFORE_NAMED_ASSIGNS') and not current.is_comment and
354 if not current.is_comment:
359 if token.is_comment:
407 if (current.is_comment and
456 if not current.is_comment:
494 if not current.is_comment:
500 (previous.is_comment and previous.previous_token is not None and
553 (previous.is_comment and previous.previous_token is not None and
[all …]
Dformat_token.py102 if self.is_comment:
127 if self.is_comment:
238 def is_comment(self): member in FormatToken
282 return self.is_comment and re.match(r'#.*\bpylint:\s*(disable|enable)=',
Dunwrapped_line.py176 def is_comment(self): member in UnwrappedLine
177 return self.first.is_comment
334 if prev_token.is_comment:
378 if cur_token.is_comment and prev_token.lineno == cur_token.lineno:
Dyapf_api.py248 if uwline.is_comment:
253 if uwline.is_comment and _EnableYAPF(uwline.first.value.strip()):
/third_party/node/deps/v8/tools/
Dobjdump-v852 def is_comment(line): function
77 if not is_comment(line):
/third_party/skia/
DPRESUBMIT.py76 def is_comment(line): function
92 if is_comment(line) or is_empty_line(line):