Home
last modified time | relevance | path

Searched refs:Constant_kind (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Python/
Dast_opt.c21 node->kind = Constant_kind; in make_const()
43 if (arg->kind != Constant_kind) { in fold_unaryop()
221 if (lhs->kind != Constant_kind || rhs->kind != Constant_kind) { in fold_binop()
278 if (e->kind != Constant_kind) { in make_const_tuple()
318 arg->kind != Constant_kind || in fold_subscr()
319 idx->kind != Constant_kind) in fold_subscr()
Dast_unparse.c599 case Constant_kind: in append_fstring_element()
749 if (v->kind == Constant_kind && PyLong_CheckExact(v->v.Constant.value)) { in append_ast_attribute()
885 case Constant_kind: in append_ast_expr()
Dcompile.c2442 if (e->kind != Constant_kind) { in check_is_arg()
2898 (s->v.Return.value->kind != Constant_kind)); in compiler_return()
3367 if (value->kind == Constant_kind) { in compiler_visit_stmt_expr()
3828 if (key == NULL || key->kind != Constant_kind) in are_all_items_const()
3989 case Constant_kind: in infer_type()
4000 case Constant_kind: in check_caller()
4025 case Constant_kind: in check_subscripter()
4059 case Constant_kind: in check_index()
4778 if (e->kind == Constant_kind) { in expr_constant()
5070 case Constant_kind: in compiler_visit_expr1()
Dast.c289 case Constant_kind: in validate_expr()
1078 case Constant_kind: { in get_expr_name()
5854 if (e->kind == Constant_kind && PyUnicode_CheckExact(e->v.Constant.value)) { in _PyAST_GetDocString()
Dsymtable.c1625 case Constant_kind: in symtable_visit_expr()
DPython-ast.c3015 p->kind = Constant_kind; in Constant()
4249 case Constant_kind: in ast2obj_expr()
/external/python/cpython3/Include/
DPython-ast.h231 FormattedValue_kind=18, JoinedStr_kind=19, Constant_kind=20, enumerator
/external/python/cpython3/Parser/pegen/
Dpegen.c204 case Constant_kind: { in _PyPegen_get_expr_name()