Package transf :: Module util :: Class Proxy
[frames] | no frames]

Class Proxy




Defers the transformation to another transformation, which does not need to be specified at initialization time.

Instance Methods
 
__init__(self, subject=None)
Constructor.
 
apply(self, trm, ctx)
Applies the transformation to the given term with the specified context.
 
__repr__(self)
repr(x)

Inherited from transformation.Transformation: __add__, __call__, __mul__, __neg__, __pos__, __pow__

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self, subject=None)
(Constructor)

 
Constructor.
Overrides: transformation.Transformation.__init__
(inherited documentation)

apply(self, trm, ctx)

 
Applies the transformation to the given term with the specified context.
Returns:
The transformed term on success.
Overrides: transformation.Transformation.apply
(inherited documentation)

__repr__(self)
(Representation operator)

 
repr(x)
Overrides: transformation.Transformation.__repr__