Show / Hide Table of Contents

Class FrameStack

Manages the call stack for function execution. Provides push/pop/peek access to individual frames.

Inheritance
object
FrameStack
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VM.Core
Assembly: VM.dll
Syntax
public class FrameStack

Properties

Count

Gets the number of frames currently on the stack.

Declaration
public int Count { get; }
Property Value
Type Description
int

Methods

Clear()

Clears all frames from the stack.

Declaration
public void Clear()

Dump()

Dumps debug info about the current call stack.

Declaration
public void Dump()

Peek()

Returns the top frame without removing it.

Declaration
public Frame Peek()
Returns
Type Description
Frame

Pop()

Pops the top frame from the stack.

Declaration
public Frame Pop()
Returns
Type Description
Frame

Push(Frame)

Pushes a new frame onto the stack.

Declaration
public void Push(Frame frame)
Parameters
Type Name Description
Frame frame
In this article
Back to top Generated by DocFX