-
Local variables, parameters, and return addresses.
Declaration
Swift
private var frames: [StackFrame] -
Adds a new frame on top with the given
returnAddress.Declaration
Swift
public mutating func push(returnAddress: CodePointer) -
Removes the top frame and returns its
returnAddress.Declaration
Swift
public mutating func pop() -> CodePointer -
The top stack frame.
Declaration
Swift
public var top: StackFrame { get set } -
Boolean indicating whether stack contains atleast 1 stack frame.
Declaration
Swift
public var isEmpty: Bool { get }
View on GitHub