Documentation ¶
Overview ¶
Package runeset implements a set of runes
Index ¶
- type RuneSet
- func (rs *RuneSet) Add(r rune)
- func (rs *RuneSet) Contains(r rune) bool
- func (rs *RuneSet) Elements() []rune
- func (rs *RuneSet) Empty() bool
- func (rs *RuneSet) Equal(rs1 *RuneSet) bool
- func (rs *RuneSet) Intersection(rs1 *RuneSet) *RuneSet
- func (rs *RuneSet) String() string
- func (rs *RuneSet) Subset(rs1 *RuneSet) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuneSet ¶
type RuneSet struct {
// contains filtered or unexported fields
}
RuneSet holds a set of rune
func (*RuneSet) Intersection ¶
Intersection contains all elements common to rs and rs1
Click to show internal directories.
Click to hide internal directories.