Home
last modified time | relevance | path

Searched refs:token_labels (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/lib2to3/
Dbtm_utils.py10 token_labels = token variable
66 if node.type == token_labels.NAME and node.name:
191 if name_leaf.type == token_labels.NAME:
196 if hasattr(token_labels, name_leaf.value):
197 new_node = MinNode(type=getattr(token_labels, name_leaf.value))
201 elif name_leaf.type == token_labels.STRING:
208 new_node = MinNode(type=token_labels.NAME, name=name)
/external/python/cpython2/Lib/lib2to3/
Dbtm_utils.py10 token_labels = token variable
66 if node.type == token_labels.NAME and node.name:
192 if name_leaf.type == token_labels.NAME:
197 if hasattr(token_labels, name_leaf.value):
198 new_node = MinNode(type=getattr(token_labels, name_leaf.value))
202 elif name_leaf.type == token_labels.STRING:
209 new_node = MinNode(type=token_labels.NAME, name=name)