Interface BlockNode.ElementExecutor<T extends Node>

Enclosing class:
BlockNode<T extends Node>

public static interface BlockNode.ElementExecutor<T extends Node>
Represents a contract how block element nodes can be executed. Designed for the block node only.
Since:
19.3
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    executeBoolean(VirtualFrame frame, T node, int index, int argument)
    Executes the block node element and expects a boolean value.
    default byte
    executeByte(VirtualFrame frame, T node, int index, int argument)
    Executes the block node element and expects a byte value.
    default char
    executeChar(VirtualFrame frame, T node, int index, int argument)
    Executes the block node element and expects a char value.
    default double
    executeDouble(VirtualFrame frame, T node, int index, int argument)
    Executes the block node element and expects a double value.
    default float
    executeFloat(VirtualFrame frame, T node, int index, int argument)
    Executes the block node element and expects a float value.
    default Object
    executeGeneric(VirtualFrame frame, T node, int index, int argument)
    Executes the block node element and expects a generic value.
    default int
    executeInt(VirtualFrame frame, T node, int index, int argument)
    Executes the block node element and expects an int value.
    default long
    executeLong(VirtualFrame frame, T node, int index, int argument)
    Executes the block node element and expects a long value.
    default short
    executeShort(VirtualFrame frame, T node, int index, int argument)
    Executes the block node element and expects a short value.
    void
    executeVoid(VirtualFrame frame, T node, int index, int argument)
    Executes the block node element without expecting any return value.