Table of Contents

Interface IPurityClassifier<TInstruction>

Namespace
Echo.Code
Assembly
Echo.dll

Provides members for describing the purity of instructions.

public interface IPurityClassifier<TInstruction> where TInstruction : notnull

Type Parameters

TInstruction

The type of instructions.

Methods

IsPure(in TInstruction)

Gets a value indicating whether a particular instruction is considered pure, that is, has no side effects.

Trilean IsPure(in TInstruction instruction)

Parameters

instruction TInstruction

The instruction to classify.

Returns

Trilean

true if the instruction is pure, false if not, and Unknown if this could not be determined.