Home
last modified time | relevance | path

Searched refs:ENDMARKER (Results 1 – 25 of 44) sorted by relevance

12

/external/python/cpython3/Include/
Dtoken.h13 #define ENDMARKER 0 macro
80 #define ISEOF(x) ((x) == ENDMARKER)
81 #define ISWHITESPACE(x) ((x) == ENDMARKER || \
/external/python/cpython2/Include/
Dtoken.h12 #define ENDMARKER 0 macro
74 #define ISEOF(x) ((x) == ENDMARKER)
/external/python/cpython2/Lib/lib2to3/pgen2/
Dtoken.py9 ENDMARKER = 0 variable
83 return x == ENDMARKER
/external/python/cpython3/Lib/lib2to3/pgen2/
Dtoken.py9 ENDMARKER = 0 variable
86 return x == ENDMARKER
/external/python/cpython3/Tools/peg_generator/pegen/
Dmetagrammar.gram32 start[Grammar]: grammar ENDMARKER { grammar }
76 | items '$' action { Alt(items + [NamedItem(None, NameLeaf('ENDMARKER'))], action=action) }
77 | items '$' { Alt(items + [NamedItem(None, NameLeaf('ENDMARKER'))], action=None) }
D__main__.py164 if diag.type == token.ENDMARKER:
/external/python/cpython3/Lib/
Dtoken.py6 ENDMARKER = 0 variable
136 return x == ENDMARKER
/external/python/cpython2/Lib/
Dtoken.py11 ENDMARKER = 0 variable
82 return x == ENDMARKER
Dtokenize.py208 if tok_type == ENDMARKER:
452 yield (ENDMARKER, '', (lnum, 0), (lnum, 0), '')
/external/python/cpython2/Lib/test/
Dtest_tokenize.py3 STRING, ENDMARKER, tok_name, Untokenizer, tokenize)
19 if type == ENDMARKER:
51 self.assertEqual(tokens[-1][0], ENDMARKER)
/external/python/cpython3/Parser/pgen/
Dmetaparser.py18 tokenize.ENDMARKER: "ENDMARKER",
32 while self.type != tokenize.ENDMARKER:
/external/python/cpython3/Parser/
Dgrammar1.c24 if (lb->lb_type == ENDMARKER) in PyGrammar_LabelRepr()
Dparsetok.c317 if (type == ENDMARKER && started) { in parsetok()
361 REQ(ch, ENDMARKER); in parsetok()
/external/python/cpython2/Parser/
Dgrammar1.c38 if (lb->lb_type == ENDMARKER) in PyGrammar_LabelRepr()
/external/python/cpython2/Lib/lib2to3/
DGrammar.txt18 #diagram:token ENDMARKER
30 file_input: (NEWLINE | stmt)* ENDMARKER
32 eval_input: testlist NEWLINE* ENDMARKER
DPatternGrammar.txt12 Matcher: Alternatives ENDMARKER
/external/python/cpython3/Grammar/
DTokens1 ENDMARKER
DGrammar14 file_input: (NEWLINE | stmt)* ENDMARKER
15 eval_input: testlist NEWLINE* ENDMARKER
202 func_type_input: func_type NEWLINE* ENDMARKER
/external/python/cpython3/Lib/lib2to3/
DPatternGrammar.txt12 Matcher: Alternatives ENDMARKER
DGrammar.txt11 file_input: (NEWLINE | stmt)* ENDMARKER
13 eval_input: testlist NEWLINE* ENDMARKER
/external/python/cpython3/Lib/test/
Dtest_tokenize.py3 STRING, ENDMARKER, ENCODING, tok_name, detect_encoding,
25 if type == ENDMARKER:
58 self.assertEqual(tokens[-1].type, ENDMARKER)
/external/python/cpython2/Grammar/
DGrammar19 file_input: (NEWLINE | stmt)* ENDMARKER
20 eval_input: testlist NEWLINE* ENDMARKER
/external/python/cpython2/Doc/library/
Dtoken.rst46 .. data:: ENDMARKER
/external/python/cpython3/Doc/library/
Dtoken-list.inc2 .. data:: ENDMARKER
/external/yapf/yapf/yapflib/
Dpytree_utils.py144 if isinstance(tree, pytree.Leaf) and tree.type == token.ENDMARKER:

12