Searched refs:tok_name (Results 1 – 20 of 20) sorted by relevance
/external/python/cpython2/Lib/lib2to3/pgen2/ |
D | token.py | 70 tok_name = {} variable 73 tok_name[_value] = _name
|
D | driver.py | 71 token.tok_name[type], value, prefix)
|
D | tokenize.py | 158 (srow, scol, erow, ecol, tok_name[type], repr(token))
|
D | pgen.py | 78 assert itoken in token.tok_name, label
|
/external/python/cpython3/Lib/lib2to3/pgen2/ |
D | token.py | 72 tok_name = {} variable 75 tok_name[_value] = _name
|
D | driver.py | 71 token.tok_name[type], value, prefix)
|
D | tokenize.py | 146 (srow, scol, erow, ecol, tok_name[type], repr(token)))
|
D | pgen.py | 78 assert itoken in token.tok_name, label
|
/external/python/cpython2/Lib/ |
D | token.py | 68 tok_name = {} variable 71 tok_name[_value] = _name
|
D | tokenize.py | 40 tok_name[COMMENT] = 'COMMENT' 42 tok_name[NL] = 'NL' 154 (srow, scol, erow, ecol, tok_name[type], repr(token))
|
/external/python/cpython3/Lib/ |
D | token.py | 78 tok_name = {value: name variable 81 __all__.extend(tok_name.values())
|
D | tokenize.py | 96 annotated_type = '%d (%s)' % (self.type, tok_name[self.type]) 718 (token_range, tok_name[token_type], token.string))
|
/external/python/cpython2/Lib/test/ |
D | test_tokenize.py | 3 STRING, ENDMARKER, tok_name, Untokenizer, tokenize) 24 type = tok_name[type]
|
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/ |
D | offset_token.py | 37 return token.tok_name[self._type]
|
D | snippet.py | 117 return token.tok_name[self.type]
|
/external/python/cpython2/Doc/library/ |
D | token.rst | 22 .. data:: tok_name
|
/external/python/cpython3/Lib/test/ |
D | test_tokenize.py | 3 STRING, ENDMARKER, ENCODING, tok_name, detect_encoding, 30 type = tok_name[type]
|
/external/yapf/yapf/yapflib/ |
D | pytree_utils.py | 67 return token.tok_name[node.type]
|
/external/python/cpython3/Doc/library/ |
D | token.rst | 23 .. data:: tok_name
|
/external/python/cpython2/Lib/compiler/ |
D | transformer.py | 1523 for k, v in token.tok_name.items():
|