RuntimeScriptCache

RuntimeScriptCache

A set of cached data about the top block of a script.

Constructor

new RuntimeScriptCache(container, blockId)

Parameters:
Name Type Description
container Blocks

Container holding the block and related data

blockId string

Id for whose block data is cached in this instance

Members

blockId :string

ID for block this instance caches.

Type:
  • string

container :Blocks

Container with block data for blockId.

Type:

fieldsOfInputs :object

Formatted fields or fields of input blocks ready for comparison in runtime.

This is a clone of parts of the targeted blocks. Changes to these clones are limited to copies under RuntimeScriptCache and will not appear in the original blocks in their container. This copy is modified changing the case of strings to uppercase. These uppercase values will be compared later by the VM.

Type:
  • object