#include <more/lang/package.h>
Inheritance diagram for more::lang::location:
This has low space overhead (two pointers) most stuff goes into the handler. Lookup is fast after the value is resolved, but resolving the value may be slow.
|
Construct an undefined location.
The only valid methods for an undefined location are |
|
Construct a location handled by handler or containing ptr.
If ptr is non-zero, handler will not be used by |
|
|
|
If the value is a function, call it, otherwise screw up the process.
In some frameworks this may be equivalent to using |
|
Returns a pointer to the object of the binding.
The |
|
Returns a pointer to the object if it no computaiton is needed.
|
|
Return the handler of this location.
|
|
True if the location is fixed or if a resolver is provided.
|
|
To be called from reslove() to set to pointer to the object.
|
|
Set the handler.
|
|
Return the type of the data at this location.
|