Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NodeCache

When constructing a dependency graph, the bind operation of `LanguagePlugin gets an instance of NodeCache as an argument. The cache can be used to find a previously created node which may already contain an evaluated value.

Hierarchy

  • NodeCache

Index

Methods

Methods

tryFindNode

  • 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.

    Parameters

    Returns Node

Generated using TypeDoc