Did I find the right examples for you? yes no

All Samples(13)  |  Call(4)  |  Derive(2)  |  Import(7)

src/c/y/CythonCTypesBackend-HEAD/Cython/CTypesBackend/ExternDefTransform.py   CythonCTypesBackend(Download)
from itertools import chain
from Cython.Compiler.Visitor import VisitorTransform
from Cython.Compiler.Nodes import CFuncDeclaratorNode, CVarDefNode, SingleAssignmentNode, CStructOrUnionDefNode, PyClassDefNode, StatListNode, PassStatNode, CPtrDeclaratorNode, DecoratorNode, FuncDefNode
from Cython.Compiler.ExprNodes import NameNode, AttributeNode, ListNode, NoneNode, TupleNode, StringNode, SimpleCallNode, ImportNode, CallNode
from Cython.Compiler.TreeFragment import TreeFragment
    def _make_import_ctypes_node(self):
        return StatListNode(0, stats=[
            ImportNode(0, module_name=StringNode(0, value="cython"), name_list=[], level=0),
            ImportNode(0, module_name=StringNode(0, value="ctypes"), name_list=[], level=0),
            ])

src/c/y/CythonCTypesBackend-HEAD/Cython/Compiler/CodeGeneration.py   CythonCTypesBackend(Download)
from Cython.Compiler.Visitor import VisitorTransform
from Cython.Compiler.Nodes import StatListNode
 
class ExtractPxdCode(VisitorTransform):
    """
    def __call__(self, root):
        self.funcs = []
        self.visitchildren(root)
        return (StatListNode(root.pos, stats=self.funcs), root.scope)
 

src/c/y/Cython-0.20.1/Cython/Compiler/CodeGeneration.py   Cython(Download)
from Cython.Compiler.Visitor import VisitorTransform
from Cython.Compiler.Nodes import StatListNode
 
class ExtractPxdCode(VisitorTransform):
    """
    def __call__(self, root):
        self.funcs = []
        self.visitchildren(root)
        return (StatListNode(root.pos, stats=self.funcs), root.scope)
 

src/c/y/cython-HEAD/Cython/Compiler/CodeGeneration.py   cython(Download)
from Cython.Compiler.Visitor import VisitorTransform
from Cython.Compiler.Nodes import StatListNode
 
class ExtractPxdCode(VisitorTransform):
    """
    def __call__(self, root):
        self.funcs = []
        self.visitchildren(root)
        return (StatListNode(root.pos, stats=self.funcs), root.scope)
 

src/c/y/Cython-0.20.1/Cython/Compiler/FusedNode.py   Cython(Download)
                             Errors)
from Cython.Compiler.ExprNodes import CloneNode, ProxyNode, TupleNode
from Cython.Compiler.Nodes import (FuncDefNode, CFuncDefNode, StatListNode,
                                   DefNode)
 
class FusedCFuncDefNode(StatListNode):

src/c/y/cython-HEAD/Cython/Compiler/FusedNode.py   cython(Download)
                             Errors)
from Cython.Compiler.ExprNodes import CloneNode, ProxyNode, TupleNode
from Cython.Compiler.Nodes import (FuncDefNode, CFuncDefNode, StatListNode,
                                   DefNode)
 
class FusedCFuncDefNode(StatListNode):

src/c/y/CythonCTypesBackend-HEAD/Cython/CTypesBackend/CodeWriter.py   CythonCTypesBackend(Download)
from Cython.Compiler.Visitor import TreeVisitor
from Cython.Compiler.ExprNodes import *
from Cython.Compiler.Nodes import StatListNode
 
class LinesResult(object):