JaCIL Framework API

IStack.Peek Method 

Returns the given element in the stack.

StackObject Peek(
   int index
);

Parameters

index
The index of the element from the top of the stack. 0 is the top most and count - 1 is bottom most.

Return Value

Missing <returns> documentation for M:JaCIL.Compiler.Instruction.IStack.Peek(System.Int32)

Exceptions

Exception Type Condition
StackStateException Thrown if the peek is invalid.

See Also

IStack Interface | JaCIL.Compiler.Instruction Namespace