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

Side by Side Diff: third_party/cython/src/Cython/Compiler/ParseTreeTransforms.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
2 cimport cython
3
4 from Cython.Compiler.Visitor cimport (
5 CythonTransform, VisitorTransform, TreeVisitor,
6 ScopeTrackingTransform, EnvTransform)
7
8 cdef class NameNodeCollector(TreeVisitor):
9 cdef list name_nodes
10
11 cdef class SkipDeclarations: # (object):
12 pass
13
14 cdef class NormalizeTree(CythonTransform):
15 cdef bint is_in_statlist
16 cdef bint is_in_expr
17 cpdef visit_StatNode(self, node, is_listcontainer=*)
18
19 cdef class PostParse(ScopeTrackingTransform):
20 cdef dict specialattribute_handlers
21 cdef size_t lambda_counter
22 cdef size_t genexpr_counter
23 cdef _visit_assignment_node(self, node, list expr_list)
24
25
26 #def eliminate_rhs_duplicates(list expr_list_list, list ref_node_sequence)
27 #def sort_common_subsequences(list items)
28 @cython.locals(starred_targets=Py_ssize_t, lhs_size=Py_ssize_t, rhs_size=Py_ssiz e_t)
29 cdef flatten_parallel_assignments(list input, list output)
30 cdef map_starred_assignment(list lhs_targets, list starred_assignments, list lhs _args, list rhs_args)
31
32 #class PxdPostParse(CythonTransform, SkipDeclarations):
33 #class InterpretCompilerDirectives(CythonTransform, SkipDeclarations):
34 #class WithTransform(CythonTransform, SkipDeclarations):
35 #class DecoratorTransform(CythonTransform, SkipDeclarations):
36
37 #class AnalyseDeclarationsTransform(EnvTransform):
38
39 cdef class AnalyseExpressionsTransform(CythonTransform):
40 pass
41
42 cdef class ExpandInplaceOperators(EnvTransform):
43 pass
44
45 cdef class AlignFunctionDefinitions(CythonTransform):
46 cdef dict directives
47 cdef scope
48
49 cdef class YieldNodeCollector(TreeVisitor):
50 cdef public list yields
51 cdef public list returns
52 cdef public bint has_return_value
53
54 cdef class MarkClosureVisitor(CythonTransform):
55 cdef bint needs_closure
56
57 cdef class CreateClosureClasses(CythonTransform):
58 cdef list path
59 cdef bint in_lambda
60 cdef module_scope
61 cdef generator_class
62
63 cdef class GilCheck(VisitorTransform):
64 cdef list env_stack
65 cdef bint nogil
66 cdef bint nogil_declarator_only
67
68 cdef class TransformBuiltinMethods(EnvTransform):
69 cdef visit_cython_attribute(self, node)
OLDNEW
« no previous file with comments | « third_party/cython/src/Cython/Compiler/Options.py ('k') | third_party/cython/src/Cython/Compiler/ParseTreeTransforms.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698