query

package
v0.0.0-...-0efa5a8 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Expr

type Expr = xpath.Expr

func Compile

func Compile(expr string) (*Expr, error)

type Result

type Result struct {
	XML       string
	XMLInner  string
	Source    string
	LineValue string
	token.Position
}

func FindAll

func FindAll(r io.ReaderAt, filename string, expr *Expr) ([]Result, error)

FindAll searches for all instances of the supplied expression

Jump to

Keyboard shortcuts

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