Did I find the right examples for you? yes no

All Samples(18)  |  Call(0)  |  Derive(13)  |  Import(5)
This transformation keeps a stack of the environments.

src/c/y/Cython-0.20.1/Cython/Compiler/ParseTreeTransforms.py   Cython(Download)
 
from Cython.Compiler.Visitor import VisitorTransform, TreeVisitor
from Cython.Compiler.Visitor import CythonTransform, EnvTransform, ScopeTrackingTransform
from Cython.Compiler.UtilNodes import LetNode, LetRefNode, ResultRefNode
from Cython.Compiler.TreeFragment import TreeFragment
class AnalyseDeclarationsTransform(EnvTransform):
 
    basic_property = TreeFragment(u"""
property NAME:
    def __get__(self):
class CalculateQualifiedNamesTransform(EnvTransform):
    """
    Calculate and store the '__qualname__' and the global
    module name on some nodes.
    """
class ExpandInplaceOperators(EnvTransform):
 
    def visit_InPlaceAssignmentNode(self, node):
        lhs = node.lhs
        rhs = node.rhs
class TransformBuiltinMethods(EnvTransform):
 
    def visit_SingleAssignmentNode(self, node):
        if node.declaration_only:
            return None

src/c/y/cython-HEAD/Cython/Compiler/ParseTreeTransforms.py   cython(Download)
 
from Cython.Compiler.Visitor import VisitorTransform, TreeVisitor
from Cython.Compiler.Visitor import CythonTransform, EnvTransform, ScopeTrackingTransform
from Cython.Compiler.UtilNodes import LetNode, LetRefNode, ResultRefNode
from Cython.Compiler.TreeFragment import TreeFragment
class AnalyseDeclarationsTransform(EnvTransform):
 
    basic_property = TreeFragment(u"""
property NAME:
    def __get__(self):
class CalculateQualifiedNamesTransform(EnvTransform):
    """
    Calculate and store the '__qualname__' and the global
    module name on some nodes.
    """
class ExpandInplaceOperators(EnvTransform):
 
    def visit_InPlaceAssignmentNode(self, node):
        lhs = node.lhs
        rhs = node.rhs
class TransformBuiltinMethods(EnvTransform):
 
    def visit_SingleAssignmentNode(self, node):
        if node.declaration_only:
            return None

src/e/s/essig-HEAD/vm/cython/Cython/Compiler/ParseTreeTransforms.py   essig(Download)
from Cython.Compiler.Visitor import VisitorTransform, TreeVisitor
from Cython.Compiler.Visitor import CythonTransform, EnvTransform, ScopeTrackingTransform
from Cython.Compiler.ModuleNode import ModuleNode
from Cython.Compiler.Nodes import *
from Cython.Compiler.ExprNodes import *
class ExpandInplaceOperators(EnvTransform):
 
    def visit_InPlaceAssignmentNode(self, node):
        lhs = node.lhs
        rhs = node.rhs
class TransformBuiltinMethods(EnvTransform):
 
    def visit_SingleAssignmentNode(self, node):
        if node.declaration_only:
            return None

src/c/y/CythonCTypesBackend-HEAD/Cython/Compiler/ParseTreeTransforms.py   CythonCTypesBackend(Download)
 
from Cython.Compiler.Visitor import VisitorTransform, TreeVisitor
from Cython.Compiler.Visitor import CythonTransform, EnvTransform, ScopeTrackingTransform
from Cython.Compiler.UtilNodes import LetNode, LetRefNode, ResultRefNode
from Cython.Compiler.TreeFragment import TreeFragment
class ExpandInplaceOperators(EnvTransform):
 
    def visit_InPlaceAssignmentNode(self, node):
        lhs = node.lhs
        rhs = node.rhs
class TransformBuiltinMethods(EnvTransform):
 
    def visit_SingleAssignmentNode(self, node):
        if node.declaration_only:
            return None

src/p/y/pylibs-HEAD/Cython/Compiler/ParseTreeTransforms.py   pylibs(Download)
from Cython.Compiler.Visitor import VisitorTransform, TreeVisitor
from Cython.Compiler.Visitor import CythonTransform, EnvTransform
from Cython.Compiler.ModuleNode import ModuleNode
from Cython.Compiler.Nodes import *
from Cython.Compiler.ExprNodes import *
class TransformBuiltinMethods(EnvTransform):
 
    def visit_SingleAssignmentNode(self, node):
        if node.declaration_only:
            return None