Function extractEvaluationSamplesRecursive

  • Similar to extractEvaluationSamples, but recursively extracts samples from evaluations within the provided array of nodes.

    Because CashAssembly evaluations are fully self-contained, there should never be unmatched states from evaluations within a script reduction trace tree. (For this reason, this method does not return the unmatchedStates from nested evaluations.)

    Returned samples are ordered by the ending position (line and column) of their range. Samples from CashAssembly evaluations that occur within an outer evaluation appear before their parent sample (which uses their result).

    Type Parameters

    • ProgramState

    Parameters

    Returns SampleExtractionResult<ProgramState>

Generated using TypeDoc