|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Context
ATContext describes a pair of scope pointers used during evaluation, namely one storing the lexical scope (where the lookup starts for receiverless messages), one storing the late-bound receiver self.
| Method Summary | |
|---|---|
Object |
lexicalScope()
Returns the lexical environment of the current context. |
Object |
receiver()
Returns the receiver (self pseudovariable) in the current context. |
Context |
withDynamicReceiver(Object self)
Returns a new context object for the given dynamic receiver. |
Context |
withLexicalEnvironment(Object scope)
Returns a new context object for a given scope. |
| Methods inherited from interface edu.vub.at.objects.Object |
|---|
super |
| Method Detail |
|---|
Object lexicalScope()
Object representing the lexical environment of the current context.Object receiver()
Object representing the receiver in the current context.Context withLexicalEnvironment(Object scope)
scope - a scope.
Context withDynamicReceiver(Object self)
self - representing the receiver (self pseudovariable).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||