evaluate the OMbinding in context
(self, context)
| 118 | self.variables = variables |
| 119 | self.bounded = False |
| 120 | def evaluate(self, context): |
| 121 | "evaluate the OMbinding in context" |
| 122 | assert islambda(self.binder) |
| 123 | if not self.bounded: |
| 124 | mycopy = copy(self) |
| 125 | mycopy.scope = context.scopeFromCurrentScope() |
| 126 | mycopy.bounded = True |
| 127 | return mycopy |
| 128 | else: |
| 129 | return self |
| 130 | def bind(self, args): |
| 131 | "bind arguments to values" |
| 132 | #print args, self.variables |
nothing calls this directly
no test coverage detected