Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FloatStack ¶
func NewFloatStack ¶
func NewFloatStack() *FloatStack
func (*FloatStack) Pop ¶
func (s *FloatStack) Pop() (float64, error)
func (*FloatStack) Push ¶
func (s *FloatStack) Push(a float64)
func (*FloatStack) Top ¶
func (s *FloatStack) Top() (float64, error)
type StringStack ¶
func NewStringStack ¶
func NewStringStack() *StringStack
func (*StringStack) Pop ¶
func (s *StringStack) Pop() (string, error)
func (*StringStack) Push ¶
func (s *StringStack) Push(a string)
func (*StringStack) SafePop ¶
func (s *StringStack) SafePop() string
func (*StringStack) SafeTop ¶
func (s *StringStack) SafeTop() string
func (*StringStack) Top ¶
func (s *StringStack) Top() (string, error)
Click to show internal directories.
Click to hide internal directories.