Documentation
¶
Overview ¶
Lua pattern match functions for Go
Index ¶
Constants ¶
View Source
const EOS = -1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitmapClass ¶ added in v1.0.7
type BitmapClass struct {
// contains filtered or unexported fields
}
func NewBitmapClass ¶ added in v1.0.7
func NewBitmapClass() *BitmapClass
func (*BitmapClass) AddChar ¶ added in v1.0.7
func (bc *BitmapClass) AddChar(ch byte)
func (*BitmapClass) AddRange ¶ added in v1.0.7
func (bc *BitmapClass) AddRange(start, end byte)
func (*BitmapClass) Matches ¶ added in v1.0.7
func (bc *BitmapClass) Matches(ch int) bool
func (*BitmapClass) SetNot ¶ added in v1.0.7
func (bc *BitmapClass) SetNot(not bool)
type CharBitmap ¶ added in v1.0.7
type CharBitmap struct {
// contains filtered or unexported fields
}
func NewCharBitmap ¶ added in v1.0.7
func NewCharBitmap() *CharBitmap
func (*CharBitmap) Set ¶ added in v1.0.7
func (b *CharBitmap) Set(ch byte)
func (*CharBitmap) Test ¶ added in v1.0.7
func (b *CharBitmap) Test(ch byte) bool
type DFATransition ¶ added in v1.0.7
type DFATransition struct {
// contains filtered or unexported fields
}
type JumpTable ¶ added in v1.0.7
type JumpTable struct {
// contains filtered or unexported fields
}
func NewJumpTable ¶ added in v1.0.7
type MatchData ¶
type MatchData struct {
// contains filtered or unexported fields
}
func (*MatchData) CaptureLength ¶
func (*MatchData) IsPosCapture ¶
type PatternCache ¶ added in v1.0.7
type PatternCache struct {
// contains filtered or unexported fields
}
func (*PatternCache) Get ¶ added in v1.0.7
func (pc *PatternCache) Get(pattern string) (PatternResult, bool)
func (*PatternCache) Put ¶ added in v1.0.7
func (pc *PatternCache) Put(pattern string, result PatternResult)
type PatternCacheEntry ¶ added in v1.0.7
type PatternCacheEntry struct {
// contains filtered or unexported fields
}
type PatternResult ¶ added in v1.0.7
type PatternResult struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.