OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:simple_stmt
(Results
26 - 50
of
100
) sorted by null
1
2
3
4
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
fix_raise.py
84
new = pytree.Node(syms.
simple_stmt
, [Name(u"raise")] + with_tb)
fix_metaclass.py
29
1) clsdef => suite =>
simple_stmt
=> expr_stmt => Leaf('__meta')
30
2) clsdef =>
simple_stmt
=> expr_stmt => Leaf('__meta')
35
elif node.type == syms.
simple_stmt
and node.children:
73
simple_stmt
. We just want the __metaclass__ part so we move
74
everything efter the semi-colon into its own
simple_stmt
node
84
new_stmt = Node(syms.
simple_stmt
, [new_expr])
108
# look for
simple_stmt
[ expr_stmt[ Leaf('__metaclass__') ] ]
110
if simple_node.type == syms.
simple_stmt
and simple_node.children:
fix_next.py
96
if node.type == syms.
simple_stmt
or node.parent is None:
/external/python/cpython2/Lib/lib2to3/fixes/
fix_exitfunc.py
70
new = pytree.Node(syms.
simple_stmt
, [new_import])
fix_raise.py
84
new = pytree.Node(syms.
simple_stmt
, [Name(u"raise")] + with_tb)
fix_metaclass.py
29
1) clsdef => suite =>
simple_stmt
=> expr_stmt => Leaf('__meta')
30
2) clsdef =>
simple_stmt
=> expr_stmt => Leaf('__meta')
35
elif node.type == syms.
simple_stmt
and node.children:
73
simple_stmt
. We just want the __metaclass__ part so we move
74
everything after the semi-colon into its own
simple_stmt
node
84
new_stmt = Node(syms.
simple_stmt
, [new_expr])
108
# look for
simple_stmt
[ expr_stmt[ Leaf('__metaclass__') ] ]
110
if simple_node.type == syms.
simple_stmt
and simple_node.children:
fix_next.py
96
if node.type == syms.
simple_stmt
or node.parent is None:
/external/python/cpython3/Lib/lib2to3/fixes/
fix_exitfunc.py
70
new = pytree.Node(syms.
simple_stmt
, [new_import])
fix_raise.py
84
new = pytree.Node(syms.
simple_stmt
, [Name("raise")] + with_tb)
fix_metaclass.py
29
1) clsdef => suite =>
simple_stmt
=> expr_stmt => Leaf('__meta')
30
2) clsdef =>
simple_stmt
=> expr_stmt => Leaf('__meta')
35
elif node.type == syms.
simple_stmt
and node.children:
73
simple_stmt
. We just want the __metaclass__ part so we move
74
everything after the semi-colon into its own
simple_stmt
node
84
new_stmt = Node(syms.
simple_stmt
, [new_expr])
108
# look for
simple_stmt
[ expr_stmt[ Leaf('__metaclass__') ] ]
110
if simple_node.type == syms.
simple_stmt
and simple_node.children:
fix_next.py
96
if node.type == syms.
simple_stmt
or node.parent is None:
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/
fix_exitfunc.py
70
new = pytree.Node(syms.
simple_stmt
, [new_import])
fix_raise.py
84
new = pytree.Node(syms.
simple_stmt
, [Name(u"raise")] + with_tb)
fix_metaclass.py
29
1) clsdef => suite =>
simple_stmt
=> expr_stmt => Leaf('__meta')
30
2) clsdef =>
simple_stmt
=> expr_stmt => Leaf('__meta')
35
elif node.type == syms.
simple_stmt
and node.children:
73
simple_stmt
. We just want the __metaclass__ part so we move
74
everything efter the semi-colon into its own
simple_stmt
node
84
new_stmt = Node(syms.
simple_stmt
, [new_expr])
108
# look for
simple_stmt
[ expr_stmt[ Leaf('__metaclass__') ] ]
110
if simple_node.type == syms.
simple_stmt
and simple_node.children:
fix_next.py
96
if node.type == syms.
simple_stmt
or node.parent is None:
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/
fix_exitfunc.py
70
new = pytree.Node(syms.
simple_stmt
, [new_import])
fix_raise.py
84
new = pytree.Node(syms.
simple_stmt
, [Name(u"raise")] + with_tb)
fix_metaclass.py
29
1) clsdef => suite =>
simple_stmt
=> expr_stmt => Leaf('__meta')
30
2) clsdef =>
simple_stmt
=> expr_stmt => Leaf('__meta')
35
elif node.type == syms.
simple_stmt
and node.children:
73
simple_stmt
. We just want the __metaclass__ part so we move
74
everything efter the semi-colon into its own
simple_stmt
node
84
new_stmt = Node(syms.
simple_stmt
, [new_expr])
108
# look for
simple_stmt
[ expr_stmt[ Leaf('__metaclass__') ] ]
110
if simple_node.type == syms.
simple_stmt
and simple_node.children:
fix_next.py
96
if node.type == syms.
simple_stmt
or node.parent is None:
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_exitfunc.py
70
new = pytree.Node(syms.
simple_stmt
, [new_import])
fix_raise.py
84
new = pytree.Node(syms.
simple_stmt
, [Name(u"raise")] + with_tb)
fix_metaclass.py
29
1) clsdef => suite =>
simple_stmt
=> expr_stmt => Leaf('__meta')
30
2) clsdef =>
simple_stmt
=> expr_stmt => Leaf('__meta')
35
elif node.type == syms.
simple_stmt
and node.children:
73
simple_stmt
. We just want the __metaclass__ part so we move
74
everything efter the semi-colon into its own
simple_stmt
node
84
new_stmt = Node(syms.
simple_stmt
, [new_expr])
108
# look for
simple_stmt
[ expr_stmt[ Leaf('__metaclass__') ] ]
110
if simple_node.type == syms.
simple_stmt
and simple_node.children:
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_exitfunc.py
70
new = pytree.Node(syms.
simple_stmt
, [new_import])
fix_raise.py
84
new = pytree.Node(syms.
simple_stmt
, [Name(u"raise")] + with_tb)
fix_metaclass.py
29
1) clsdef => suite =>
simple_stmt
=> expr_stmt => Leaf('__meta')
30
2) clsdef =>
simple_stmt
=> expr_stmt => Leaf('__meta')
35
elif node.type == syms.
simple_stmt
and node.children:
73
simple_stmt
. We just want the __metaclass__ part so we move
74
everything efter the semi-colon into its own
simple_stmt
node
84
new_stmt = Node(syms.
simple_stmt
, [new_expr])
108
# look for
simple_stmt
[ expr_stmt[ Leaf('__metaclass__') ] ]
110
if simple_node.type == syms.
simple_stmt
and simple_node.children:
Completed in 653 milliseconds
1
2
3
4