Documentation ¶
Index ¶
- type Stack
- func (stack *Stack) Clear()
- func (stack *Stack) Filter(filterFn func(e *gotypes.Element) bool) *Stack
- func (stack *Stack) ForEach(fn func(e *gotypes.Element))
- func (stack *Stack) Map(mapFn func(e *gotypes.Element) gotypes.Element) *Stack
- func (stack *Stack) MatchAll(matchAllFn func(e *gotypes.Element) bool) bool
- func (stack *Stack) MatchAny(matchAnyFn func(e *gotypes.Element) bool) bool
- func (stack *Stack) MatchNone(matchNoneFn func(e *gotypes.Element) bool) bool
- func (stack *Stack) Pop() *gotypes.Element
- func (stack *Stack) Push(e gotypes.Element) *Stack
- func (stack *Stack) Reduce(val gotypes.Element, ...) gotypes.Element
- func (stack *Stack) Size() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stack ¶
type Stack struct {
// contains filtered or unexported fields
}
Define Stack struct
Click to show internal directories.
Click to hide internal directories.