Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Any = NewCharclass(RuneAny{})
View Source
var EOT = NewNot(Any)
Functions ¶
This section is empty.
Types ¶
type Charclass ¶
type Charclass struct {
// contains filtered or unexported fields
}
func NewCharclass ¶
func NewCharclass(set RuneSubset) *Charclass
type Limit ¶
type Limit struct {
// contains filtered or unexported fields
}
func NewLimitLower ¶
func NewLimitUpper ¶
type Optional ¶
type Optional struct {
// contains filtered or unexported fields
}
func NewOptional ¶
type Repeat ¶
type Repeat struct {
// contains filtered or unexported fields
}
func NewOneOrMore ¶
func NewZeroOrMore ¶
type RuneInvert ¶
type RuneInvert struct {
S RuneSubset
}
^A
func (RuneInvert) Within ¶
func (i RuneInvert) Within(x rune) bool
type RuneSubset ¶
type Scanner ¶
func NewScanner ¶
type Sequence ¶
type Sequence struct {
// contains filtered or unexported fields
}
func NewSequence ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.