![]() |
Dataflow Software Stack
032db78
Master Thesis of Mathijs Saey at the VUB
|
Inherits object.
Public Member Functions | |
| def | __init__ |
| def | __str__ |
| def | __eq__ |
| def | __hash__ |
| def | hashPair |
| Generate a unique, integral identifier for a pair of non-negative integers. More... | |
| def | unhashPair |
| Unhashes the hash. More... | |
Public Attributes | |
| hash | |
| core | |
DVM Context.
A context is the part of a token tag. Contexts differentiate between various instances of a single part of the program.
For instance, when calling a function, DVM will create a new context shared by all the arguments to this function. Upon returning, the context will be used to find the destination of the function results.
Internally, a context is a wrapper around a unique integer.
| def core.context.Context.__init__ | ( | self, | |
| core, | |||
| key | |||
| ) |
| def core.context.Context.__str__ | ( | self | ) |
| def core.context.Context.__eq__ | ( | self, | |
| other | |||
| ) |
| def core.context.Context.__hash__ | ( | self | ) |
| def core.context.Context.hashPair | ( | self, | |
| a, | |||
| b | |||
| ) |
Generate a unique, integral identifier for a pair of non-negative integers.
| def core.context.Context.unhashPair | ( | self | ) |
Unhashes the hash.
| core.context.Context.hash |
| core.context.Context.core |
1.8.8