stack

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolStack

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

func NewBoolStack

func NewBoolStack() *BoolStack

noinspection GoUnusedExportedFunction

func (*BoolStack) Pop

func (s *BoolStack) Pop() bool

func (*BoolStack) Push

func (s *BoolStack) Push(v bool)

type ByteStack

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

func NewByteStack

func NewByteStack() *ByteStack

noinspection GoUnusedExportedFunction

func (*ByteStack) Pop

func (s *ByteStack) Pop() byte

func (*ByteStack) Push

func (s *ByteStack) Push(v byte)

type Complex128Stack

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

func NewComplex128Stack

func NewComplex128Stack() *Complex128Stack

noinspection GoUnusedExportedFunction

func (*Complex128Stack) Pop

func (s *Complex128Stack) Pop() complex128

func (*Complex128Stack) Push

func (s *Complex128Stack) Push(v complex128)

type Complex64Stack

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

func NewComplex64Stack

func NewComplex64Stack() *Complex64Stack

noinspection GoUnusedExportedFunction

func (*Complex64Stack) Pop

func (s *Complex64Stack) Pop() complex64

func (*Complex64Stack) Push

func (s *Complex64Stack) Push(v complex64)

type ErrorStack

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

func NewErrorStack

func NewErrorStack() *ErrorStack

noinspection GoUnusedExportedFunction

func (*ErrorStack) Pop

func (s *ErrorStack) Pop() error

func (*ErrorStack) Push

func (s *ErrorStack) Push(v error)

type Float32Stack

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

func NewFloat32Stack

func NewFloat32Stack() *Float32Stack

noinspection GoUnusedExportedFunction

func (*Float32Stack) Pop

func (s *Float32Stack) Pop() float32

func (*Float32Stack) Push

func (s *Float32Stack) Push(v float32)

type Float64Stack

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

func NewFloat64Stack

func NewFloat64Stack() *Float64Stack

noinspection GoUnusedExportedFunction

func (*Float64Stack) Pop

func (s *Float64Stack) Pop() float64

func (*Float64Stack) Push

func (s *Float64Stack) Push(v float64)

type Int16Stack

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

func NewInt16Stack

func NewInt16Stack() *Int16Stack

noinspection GoUnusedExportedFunction

func (*Int16Stack) Pop

func (s *Int16Stack) Pop() int16

func (*Int16Stack) Push

func (s *Int16Stack) Push(v int16)

type Int32Stack

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

func NewInt32Stack

func NewInt32Stack() *Int32Stack

noinspection GoUnusedExportedFunction

func (*Int32Stack) Pop

func (s *Int32Stack) Pop() int32

func (*Int32Stack) Push

func (s *Int32Stack) Push(v int32)

type Int64Stack

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

func NewInt64Stack

func NewInt64Stack() *Int64Stack

noinspection GoUnusedExportedFunction

func (*Int64Stack) Pop

func (s *Int64Stack) Pop() int64

func (*Int64Stack) Push

func (s *Int64Stack) Push(v int64)

type Int8Stack

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

func NewInt8Stack

func NewInt8Stack() *Int8Stack

noinspection GoUnusedExportedFunction

func (*Int8Stack) Pop

func (s *Int8Stack) Pop() int8

func (*Int8Stack) Push

func (s *Int8Stack) Push(v int8)

type IntStack

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

func NewIntStack

func NewIntStack() *IntStack

noinspection GoUnusedExportedFunction

func (*IntStack) Pop

func (s *IntStack) Pop() int

func (*IntStack) Push

func (s *IntStack) Push(v int)

type RuneStack

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

func NewRuneStack

func NewRuneStack() *RuneStack

noinspection GoUnusedExportedFunction

func (*RuneStack) Pop

func (s *RuneStack) Pop() rune

func (*RuneStack) Push

func (s *RuneStack) Push(v rune)

type StringStack

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

func NewStringStack

func NewStringStack() *StringStack

noinspection GoUnusedExportedFunction

func (*StringStack) Pop

func (s *StringStack) Pop() string

func (*StringStack) Push

func (s *StringStack) Push(v string)

type T

type T generic.Type

type TStack

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

func NewTStack

func NewTStack() *TStack

noinspection GoUnusedExportedFunction

func (*TStack) Pop

func (s *TStack) Pop() T

func (*TStack) Push

func (s *TStack) Push(v T)

type Uint16Stack

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

func NewUint16Stack

func NewUint16Stack() *Uint16Stack

noinspection GoUnusedExportedFunction

func (*Uint16Stack) Pop

func (s *Uint16Stack) Pop() uint16

func (*Uint16Stack) Push

func (s *Uint16Stack) Push(v uint16)

type Uint32Stack

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

func NewUint32Stack

func NewUint32Stack() *Uint32Stack

noinspection GoUnusedExportedFunction

func (*Uint32Stack) Pop

func (s *Uint32Stack) Pop() uint32

func (*Uint32Stack) Push

func (s *Uint32Stack) Push(v uint32)

type Uint64Stack

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

func NewUint64Stack

func NewUint64Stack() *Uint64Stack

noinspection GoUnusedExportedFunction

func (*Uint64Stack) Pop

func (s *Uint64Stack) Pop() uint64

func (*Uint64Stack) Push

func (s *Uint64Stack) Push(v uint64)

type Uint8Stack

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

func NewUint8Stack

func NewUint8Stack() *Uint8Stack

noinspection GoUnusedExportedFunction

func (*Uint8Stack) Pop

func (s *Uint8Stack) Pop() uint8

func (*Uint8Stack) Push

func (s *Uint8Stack) Push(v uint8)

type UintStack

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

func NewUintStack

func NewUintStack() *UintStack

noinspection GoUnusedExportedFunction

func (*UintStack) Pop

func (s *UintStack) Pop() uint

func (*UintStack) Push

func (s *UintStack) Push(v uint)

type UintptrStack

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

func NewUintptrStack

func NewUintptrStack() *UintptrStack

noinspection GoUnusedExportedFunction

func (*UintptrStack) Pop

func (s *UintptrStack) Pop() uintptr

func (*UintptrStack) Push

func (s *UintptrStack) Push(v uintptr)

Jump to

Keyboard shortcuts

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