Searched refs:parser_flags (Results 1 – 2 of 2) sorted by relevance
1032 int parser_flags = 0; in compute_parser_flags() local1037 parser_flags |= PyPARSE_DONT_IMPLY_DEDENT; in compute_parser_flags()1040 parser_flags |= PyPARSE_IGNORE_COOKIE; in compute_parser_flags()1043 parser_flags |= PyPARSE_BARRY_AS_BDFL; in compute_parser_flags()1046 parser_flags |= PyPARSE_TYPE_COMMENTS; in compute_parser_flags()1049 parser_flags |= PyPARSE_ASYNC_HACKS; in compute_parser_flags()1051 return parser_flags; in compute_parser_flags()1184 int parser_flags = compute_parser_flags(flags); in _PyPegen_run_parser_from_file_pointer() local1185 Parser *p = _PyPegen_Parser_New(tok, start_rule, parser_flags, PY_MINOR_VERSION, in _PyPegen_run_parser_from_file_pointer()1241 int parser_flags = compute_parser_flags(flags); in _PyPegen_run_parser_from_string() local[all …]
154 int parser_flags = 0; in PARSER_FLAGS() local158 parser_flags |= PyPARSE_DONT_IMPLY_DEDENT; in PARSER_FLAGS()160 parser_flags |= PyPARSE_IGNORE_COOKIE; in PARSER_FLAGS()162 parser_flags |= PyPARSE_BARRY_AS_BDFL; in PARSER_FLAGS()164 parser_flags |= PyPARSE_TYPE_COMMENTS; in PARSER_FLAGS()165 return parser_flags; in PARSER_FLAGS()