final class Mutations
Restricted visibility: declared "@visibility parent". Code outside that scope must not name this declaration.

Describes storage mutations for both origin discovery and reaching definitions.

Methods§

public static function apply(
    Evaluator $engine,
    Frame $frame,
    Instruction $write,
    string $address,
    int $block,
    int $offset,
    int $depth,
    array<string, true> $seen,
    bool $truth = false,
    int $wanted = 3,
    ?Demand $finite = null,
): Term

Evaluates a selected reaching write after storage identity has been resolved.

Parameters

$engineEvaluator
$frameFrame
$writeInstruction
$addressstring
$blockint
$offsetint
$depthint
$seenarray<string, true>Previously visited storage definitions
$truthbool
$wantedint
$finite?Demand

Returns

Called from 1
Calls 13
public static function value(
    Evaluator $engine,
    Frame $frame,
    Instruction $write,
    int $depth,
): Term

Reads the expression result at the mutation's before or after position.

Parameters

$engineEvaluator
$frameFrame
$writeInstruction
$depthint

Returns

Called from 1
Calls 2
public static function increment(Evaluator $engine, Instruction $write, Term $before): Term

Relations§

Static calls 3