Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notations ¶
type Notations []*TokenNotation
func NewNotations ¶
return reverse polish notation stack
func (*Notations) Pop ¶
func (s *Notations) Pop() *TokenNotation
func (*Notations) Push ¶
func (s *Notations) Push(tn *TokenNotation)
func (*Notations) Top ¶
func (s *Notations) Top() *TokenNotation
type StackFloat ¶
type StackFloat []float64
func (*StackFloat) Len ¶
func (s *StackFloat) Len() int
func (*StackFloat) Pop ¶
func (s *StackFloat) Pop() float64
func (*StackFloat) Push ¶
func (s *StackFloat) Push(f float64)
type TokenNotation ¶
type TokenNotation struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.