Home
last modified time | relevance | path

Searched refs:is_keyword (Results 1 – 10 of 10) sorted by relevance

/external/yapf/yapf/yapflib/
Dunwrapped_line.py210 return tok.is_keyword or tok.is_name or tok.is_number or tok.is_string
262 if ((right.is_keyword or right.is_name) and
263 (left.is_keyword or left.is_name)):
288 if left.is_keyword and _IsUnaryOperator(right):
320 if left.is_keyword and rval == '.' or lval == '.' and right.is_keyword:
Dformat_token.py289 def is_keyword(self): member in FormatToken
295 return self.node.type == token.NAME and not self.is_keyword
Dformat_decision_state.py250 if (pptoken and not pptoken.is_name and not pptoken.is_keyword and
430 if pprevious and not pprevious.is_keyword and not pprevious.is_name:
/external/llvm-project/polly/lib/External/isl/
Disl_stream_private.h9 unsigned is_keyword : 1; member
Disl_stream.c78 tok->is_keyword = 0; in isl_token_new()
143 else if (tok->is_keyword) in isl_stream_error()
492 tok->is_keyword = 1; in next_token()
Disl_input.c996 if (tok->type != ISL_TOKEN_IDENT && !tok->is_keyword) { in next_is_tuple()
1460 if (tok->type == ISL_TOKEN_IDENT || tok->is_keyword) { in read_tuple_space()
3426 if (tok && (tok->type == ISL_TOKEN_IDENT || tok->is_keyword)) { in read_aff_domain()
/external/python/cpython3/Parser/pegen/
Dpegen.c1948 _PyPegen_keyword_or_starred(Parser *p, void *element, int is_keyword) in _PyPegen_keyword_or_starred() argument
1955 a->is_keyword = is_keyword; in _PyPegen_keyword_or_starred()
1966 if (!k->is_keyword) { in _seq_number_of_starred_exprs()
1989 if (!k->is_keyword) { in _PyPegen_seq_extract_starred_exprs()
2013 if (k->is_keyword) { in _PyPegen_seq_delete_starred_exprs()
Dpegen.h111 int is_keyword; member
/external/python/pybind11/include/pybind11/
Dpytypes.h773 template <typename T> using is_keyword = std::is_base_of<arg, T>; variable
777 is_keyword, is_s_unpacking, is_ds_unpacking
779 template <typename T> using is_keyword_or_ds = satisfies_any_of<T, is_keyword, is_ds_unpacking>;
Dpybind11.h208 has_arg_annotations = any_of<is_keyword<Extra>...>::value; in PYBIND11_NAMESPACE_BEGIN()