textmate

package
v0.0.0-...-586e974 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2019 License: BSD-2-Clause, BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capture

type Capture struct {
	Key int
	Named
}

type Captures

type Captures []Capture

func (*Captures) Copy

func (c *Captures) Copy() *Captures

func (*Captures) Len

func (c *Captures) Len() int

func (*Captures) Less

func (c *Captures) Less(i, j int) bool

func (*Captures) SetYAML

func (c *Captures) SetYAML(tag string, value interface{}) bool

func (*Captures) Swap

func (c *Captures) Swap(i, j int)

func (*Captures) UnmarshalJSON

func (c *Captures) UnmarshalJSON(data []byte) error

type MatchObject

type MatchObject []int

Represents regex FindStringSubmatchIndex result

type Named

type Named struct {
	Name string
}

type Regex

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

func (*Regex) Copy

func (r *Regex) Copy() *Regex

func (Regex) Empty

func (r Regex) Empty() bool

func (*Regex) Find

func (r *Regex) Find(data string, pos int) MatchObject

find match for pattern in data after the pos

func (*Regex) SetYAML

func (r *Regex) SetYAML(tag string, value interface{}) bool

func (Regex) String

func (r Regex) String() string

func (*Regex) UnmarshalJSON

func (r *Regex) UnmarshalJSON(data []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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