Value is an abstract class that is used to instantiate placeholders in the generated IR.

Take the following code snippet as an example of the IR:

mapping(T1 => T2) M V m;

In which T1, T2, M and V are all placeholders. In the solving process, the solver will replace these placeholders with actual values, which are type, type, storage location and visibility respectively.

The kind of the Value.

Hierarchy (View Summary)

  • Value<FunctionStateMutability>
    • FuncStat

Constructors

Properties

kind: FunctionStateMutability
typeName: string

Methods

  • Parameters

    • t: Value<FunctionStateMutability>

    Returns boolean