org.bitbucket.inkytonik.kiama.attribution.AttributionCore
Return the value of this attribute for node t
, raising an error if
it depends on itself.
Return the value of this attribute for node t
, raising an error if
it depends on itself.
Duplicate an entry if possible.
Duplicate an entry if possible. If t1
has a memoised value associated
with it, set the value associated with t2
to the same value. If there
is no value associated with t1
, do nothing.
Return the value stored at key t
as an option.
Return the value stored at key t
as an option.
Return the value stored at key t
if there is one, otherwise
return u
.
Return the value stored at key t
if there is one, otherwise
return u
. u
is only evaluated if necessary.
Has the value of this attribute at t
already been computed for arg
or not?
Has the value at t
already been computed or not? By default, does
the memo table contain a value for t
?
Has the value at t
already been computed or not? By default, does
the memo table contain a value for t
?
The memo table.
The memo table.
Store the value u
under the key t
.
Store the value u
under the key t
.
Store the value u
under the key t
if t
does not already have an
associated value.
Store the value u
under the key t
if t
does not already have an
associated value. u
is only evaluated if necessary.
Immediately reset the memo table.
Immediately reset the memo table.
Reset this attribute's cache at t
for just parameter value arg
.
Immediately reset the memo table at t
.
Immediately reset the memo table at t
.
The number of entries in the memo table.
The number of entries in the memo table.
A variation of the
CachedAttribute
class for parameterised attributes.