matcher

package
v0.77.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFragment

func NewFragment() *fragment

NewFragment creates a string matcher

func NewSelector

func NewSelector() *selector

NewSelector creates a string matcher

Types

type Terminator added in v0.77.0

type Terminator struct {
	// contains filtered or unexported fields
}

func NewTerminator added in v0.77.0

func NewTerminator(value byte, inclusive bool) *Terminator

Terminator creates a terminator byte matcher

func (*Terminator) Match added in v0.77.0

func (t *Terminator) Match(cursor *parsly.Cursor) (matched int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL