Type alias AuthenticationProgramStateControlStack<ItemType>

AuthenticationProgramStateControlStack<ItemType>: {
    controlStack: ItemType[];

Type Parameters

  • ItemType = boolean

Type declaration

  • controlStack: ItemType[]

    An array of boolean values representing the current execution status of the program. This allows the state to track nested conditional branches.

    The OP_IF and OP_NOTIF operations push a new boolean onto the controlStack, OP_ELSE flips the top boolean, and OP_ENDIF removes the top boolean from the controlStack.

    Other instructions are only evaluated if controlStack contains no false items.

    A.K.A. vfExec in the C++ implementation.

Generated using TypeDoc