JaCIL Framework API

Stack.Peek Method 

Returns the given element in the stack.

public 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.Stack.Peek(System.Int32)

Implements

IStack.Peek

Exceptions

Exception Type Condition
StackStateException Thrown if the peek is invalid.

See Also

Stack Class | JaCIL.Compiler.Instruction Namespace