/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
H A D | fix_metaclass.py | 23 from ..fixer_util import Name, syms, Node, Leaf namespace 29 1) clsdef => suite => simple_stmt => expr_stmt => Leaf('__meta') 30 2) clsdef => simple_stmt => expr_stmt => Leaf('__meta') 39 if isinstance(left_side, Leaf) and \ 108 # look for simple_stmt[ expr_stmt[ Leaf('__metaclass__') ] ] 115 if isinstance(left_node, Leaf) and \ 134 # find the first Leaf 137 if isinstance(node, Leaf) and node.type != token.DEDENT: 164 text_type = node.children[0].type # always Leaf(nnn, 'class') 186 node.insert_child(2, Leaf(toke [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
H A D | fix_metaclass.py | 23 from ..fixer_util import Name, syms, Node, Leaf namespace 29 1) clsdef => suite => simple_stmt => expr_stmt => Leaf('__meta') 30 2) clsdef => simple_stmt => expr_stmt => Leaf('__meta') 39 if isinstance(left_side, Leaf) and \ 108 # look for simple_stmt[ expr_stmt[ Leaf('__metaclass__') ] ] 115 if isinstance(left_node, Leaf) and \ 134 # find the first Leaf 137 if isinstance(node, Leaf) and node.type != token.DEDENT: 164 text_type = node.children[0].type # always Leaf(nnn, 'class') 186 node.insert_child(2, Leaf(toke [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/ |
H A D | fixer_util.py | 8 from .pytree import Leaf, Node namespace 19 [keyword, Leaf(token.EQUAL, u"="), value]) 22 return Leaf(token.LPAR, u"(") 25 return Leaf(token.RPAR, u")") 36 target + [Leaf(token.EQUAL, u"=", prefix=u" ")] + source) 40 return Leaf(token.NAME, name, prefix=prefix) 48 return Leaf(token.COMMA, u",") 52 return Leaf(token.DOT, u".") 70 return Leaf(token.NEWLINE, u"\n") 74 return Leaf(toke [all...] |
H A D | pytree.py | 35 Abstract base class for Node and Leaf. 114 Set the prefix for the node (see Leaf class). 124 Return the prefix for the node (see Leaf class). 158 while not isinstance(node, Leaf): 351 class Leaf(Base): class in inherits:Base 402 return Leaf(self.type, self.value, 431 Convert raw node information to a Node or Leaf instance. 445 return Leaf(type, value, context=context) 558 if not isinstance(node, Leaf):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/ |
H A D | fixer_util.py | 8 from .pytree import Leaf, Node namespace 19 [keyword, Leaf(token.EQUAL, u"="), value]) 22 return Leaf(token.LPAR, u"(") 25 return Leaf(token.RPAR, u")") 36 target + [Leaf(token.EQUAL, u"=", prefix=u" ")] + source) 40 return Leaf(token.NAME, name, prefix=prefix) 48 return Leaf(token.COMMA, u",") 52 return Leaf(token.DOT, u".") 70 return Leaf(token.NEWLINE, u"\n") 74 return Leaf(toke [all...] |
H A D | pytree.py | 35 Abstract base class for Node and Leaf. 114 Set the prefix for the node (see Leaf class). 124 Return the prefix for the node (see Leaf class). 158 while not isinstance(node, Leaf): 351 class Leaf(Base): class in inherits:Base 402 return Leaf(self.type, self.value, 431 Convert raw node information to a Node or Leaf instance. 445 return Leaf(type, value, context=context) 558 if not isinstance(node, Leaf):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
H A D | test_util.py | 10 from lib2to3.pytree import Node, Leaf namespace 94 [Leaf(token.NUMBER, 1), Leaf(token.NUMBER, 2), 95 Leaf(token.NUMBER, 3)], 96 [Leaf(token.NUMBER, 1), Leaf(token.NUMBER, 3), 97 Leaf(token.NUMBER, 2), Leaf(token.NUMBER, 4)], 98 [Leaf(token.STRING, "b"), Leaf(toke [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
H A D | test_util.py | 10 from lib2to3.pytree import Node, Leaf namespace 94 [Leaf(token.NUMBER, 1), Leaf(token.NUMBER, 2), 95 Leaf(token.NUMBER, 3)], 96 [Leaf(token.NUMBER, 1), Leaf(token.NUMBER, 3), 97 Leaf(token.NUMBER, 2), Leaf(token.NUMBER, 4)], 98 [Leaf(token.STRING, "b"), Leaf(toke [all...] |
/prebuilts/tools/common/m2/repository/org/python/jython/2.5.3/ |
H A D | jython-2.5.3.jar | META-INF/MANIFEST.MF META-INF/services/javax.script.ScriptEngineFactory com/xhaus/modjy/ModjyJServlet ... |
/prebuilts/devtools/tools/lib/ |
H A D | jython-standalone-2.5.3.jar | META-INF/MANIFEST.MF META-INF/LICENSE META-INF/NOTICE META-INF/maven/jline/ ... |
/prebuilts/tools/common/m2/repository/org/python/jython-standalone/2.5.3/ |
H A D | jython-standalone-2.5.3.jar | META-INF/MANIFEST.MF META-INF/LICENSE META-INF/NOTICE META-INF/maven/jline/ ... |