stack

package
v6.5.0-p2p2-beta0+inco... Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stack

type Stack struct {
	Ptr  int
	Data []interface{}
}

func NewStack

func NewStack() Stack

func (*Stack) Clear

func (s *Stack) Clear()

func (*Stack) Peek

func (s *Stack) Peek() interface{}

func (*Stack) PeekN

func (s *Stack) PeekN(n int) interface{}

func (*Stack) Pop

func (s *Stack) Pop() interface{}

func (*Stack) PopArray

func (s *Stack) PopArray() Array

func (*Stack) PopBool

func (s *Stack) PopBool() bool

func (*Stack) PopInt

func (s *Stack) PopInt() int

func (*Stack) PopN

func (s *Stack) PopN(n int)

func (*Stack) PopName

func (s *Stack) PopName() Name

func (*Stack) PopString

func (s *Stack) PopString() string

func (*Stack) Push

func (s *Stack) Push(values ...interface{})

Jump to

Keyboard shortcuts

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