Home
last modified time | relevance | path

Searched refs:tok_name (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython2/Lib/lib2to3/pgen2/
Dtoken.py70 tok_name = {} variable
73 tok_name[_value] = _name
Ddriver.py71 token.tok_name[type], value, prefix)
Dtokenize.py158 (srow, scol, erow, ecol, tok_name[type], repr(token))
Dpgen.py78 assert itoken in token.tok_name, label
/external/python/cpython3/Lib/lib2to3/pgen2/
Dtoken.py72 tok_name = {} variable
75 tok_name[_value] = _name
Ddriver.py71 token.tok_name[type], value, prefix)
Dtokenize.py146 (srow, scol, erow, ecol, tok_name[type], repr(token)))
Dpgen.py78 assert itoken in token.tok_name, label
/external/python/cpython2/Lib/
Dtoken.py68 tok_name = {} variable
71 tok_name[_value] = _name
Dtokenize.py40 tok_name[COMMENT] = 'COMMENT'
42 tok_name[NL] = 'NL'
154 (srow, scol, erow, ecol, tok_name[type], repr(token))
/external/python/cpython3/Lib/
Dtoken.py78 tok_name = {value: name variable
81 __all__.extend(tok_name.values())
Dtokenize.py96 annotated_type = '%d (%s)' % (self.type, tok_name[self.type])
718 (token_range, tok_name[token_type], token.string))
/external/python/cpython2/Lib/test/
Dtest_tokenize.py3 STRING, ENDMARKER, tok_name, Untokenizer, tokenize)
24 type = tok_name[type]
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
Doffset_token.py37 return token.tok_name[self._type]
Dsnippet.py117 return token.tok_name[self.type]
/external/python/cpython2/Doc/library/
Dtoken.rst22 .. data:: tok_name
/external/python/cpython3/Lib/test/
Dtest_tokenize.py3 STRING, ENDMARKER, ENCODING, tok_name, detect_encoding,
30 type = tok_name[type]
/external/yapf/yapf/yapflib/
Dpytree_utils.py67 return token.tok_name[node.type]
/external/python/cpython3/Doc/library/
Dtoken.rst23 .. data:: tok_name
/external/python/cpython2/Lib/compiler/
Dtransformer.py1523 for k, v in token.tok_name.items():