Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Side by Side Diff: third_party/cython/src/Cython/Compiler/Visitor.pxd

Issue 385073004: Adding cython v0.20.2 in third-party. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reference cython dev list thread. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 cimport cython
2
3 cdef class TreeVisitor:
4 cdef public list access_path
5 cdef dict dispatch_table
6
7 cpdef visit(self, obj)
8 cdef _visit(self, obj)
9 cdef find_handler(self, obj)
10 cdef _visitchild(self, child, parent, attrname, idx)
11 cdef dict _visitchildren(self, parent, attrs)
12 cpdef visitchildren(self, parent, attrs=*)
13
14 cdef class VisitorTransform(TreeVisitor):
15 cpdef visitchildren(self, parent, attrs=*)
16 cpdef recurse_to_children(self, node)
17
18 cdef class CythonTransform(VisitorTransform):
19 cdef public context
20 cdef public current_directives
21
22 cdef class ScopeTrackingTransform(CythonTransform):
23 cdef public scope_type
24 cdef public scope_node
25 cdef visit_scope(self, node, scope_type)
26
27 cdef class EnvTransform(CythonTransform):
28 cdef public list env_stack
29
30 cdef class MethodDispatcherTransform(EnvTransform):
31 @cython.final
32 cdef _visit_binop_node(self, node)
33 @cython.final
34 cdef _find_handler(self, match_name, bint has_kwargs)
35 @cython.final
36 cdef _delegate_to_assigned_value(self, node, function, arg_list, kwargs)
37 @cython.final
38 cdef _dispatch_to_handler(self, node, function, arg_list, kwargs)
39 @cython.final
40 cdef _dispatch_to_method_handler(self, attr_name, self_arg,
41 is_unbound_method, type_name,
42 node, function, arg_list, kwargs)
43
44 cdef class RecursiveNodeReplacer(VisitorTransform):
45 cdef public orig_node
46 cdef public new_node
47
48 cdef class NodeFinder(TreeVisitor):
49 cdef node
50 cdef public bint found
OLDNEW
« no previous file with comments | « third_party/cython/src/Cython/Compiler/Version.py ('k') | third_party/cython/src/Cython/Compiler/Visitor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698