Attempts to compute or get the cached value provided by the given valueProvider for the given text.
Note that the pair {valueProvider, text} acts as the key.
Reusing the same valueProvider instance across analyzer actions and/or analyzer instances can improve the overall analyzer performance by avoiding recomputation of the values.

Attempts to compute or get the cached value provided by the given valueProvider for the given tree.
Note that the pair {valueProvider, tree} acts as the key.
Reusing the same valueProvider instance across analyzer actions and/or analyzer instances can improve the overall analyzer performance by avoiding recomputation of the values.