A language plugin using the cache should create Node
with valid hash
,
antecedents
and language
and then pass it to tryFindNode
. If there is a cached
node in the cache, it will be returned back (possibly with value
set). If no, the
cache just returns the newly created node.
Generated using TypeDoc
When constructing a dependency graph, the
bind
operation of `LanguagePlugin gets an instance ofNodeCache
as an argument. The cache can be used to find a previously created node which may already contain an evaluatedvalue
.