matcher

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsLetter

func IsLetter(b byte) bool

IsLetter checks if passed byte means a letter

Types

type Selector

type Selector struct{}

Selector represent a Selector matcher

func NewSelector

func NewSelector() *Selector

NewSelector creates a Selector matcher

func (*Selector) Match

func (n *Selector) Match(cursor *parsly.Cursor) (matched int)

Match matches a string

Jump to

Keyboard shortcuts

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