scopestack

package
v0.0.0-...-9ab12ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2016 License: Apache-2.0, Apache-2.0, Apache-2.0, + 1 more Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScopeStack

type ScopeStack struct {
	// contains filtered or unexported fields
}

A stack type that tries to verify that each push and pop happens in the same function.

func NewScopeStack

func NewScopeStack(scopeDistance int) *ScopeStack

func (*ScopeStack) Pop

func (self *ScopeStack) Pop() interface{}

func (*ScopeStack) Push

func (self *ScopeStack) Push(v interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL