address

package
v0.0.0-...-5a72617 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address interface {
	Execute(string) (Selection, bool)
}

func ParseAddress

func ParseAddress(addr string) (Address, bool)

type Compound

type Compound struct {
}

func (Compound) Execute

func (a Compound) Execute(s string) (Selection, bool)

type Regexp

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

func (Regexp) Execute

func (a Regexp) Execute(s string) (Selection, bool)

type Selection

type Selection struct {
	From, To Simple
}

func (Selection) IsEmpty

func (s Selection) IsEmpty() bool

func (Selection) String

func (s Selection) String() string

type Simple

type Simple struct {
	Row, Col int
}

func (Simple) Add

func (a1 Simple) Add(a2 Simple) Simple

func (Simple) Execute

func (a Simple) Execute(s string) (Selection, bool)

func (Simple) In

func (a Simple) In(sel Selection) bool

func (Simple) LessThan

func (a1 Simple) LessThan(a2 Simple) bool

func (Simple) String

func (a Simple) String() string

type Substring

type Substring string

func (Substring) Execute

func (a Substring) Execute(s string) (Selection, bool)

Jump to

Keyboard shortcuts

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