matcher

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsLetter

func IsLetter(b byte) bool

func NewIdentity

func NewIdentity() *identity

NewIdentity creates a string matcher

func NewWhitespaceTerminator

func NewWhitespaceTerminator() parsly.Matcher

Types

type Block

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

func NewBlock

func NewBlock(begin, end, escape byte) *Block

func (*Block) Match

func (m *Block) Match(cursor *parsly.Cursor) int

TokenMatch matches quoted characters

Jump to

Keyboard shortcuts

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