istanbul

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Istanbul

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

func New

func New(opts ...func(*Istanbul)) (*Istanbul, error)

func (*Istanbul) ShowReport

func (istanbul *Istanbul) ShowReport(input string, output string) error

func (*Istanbul) WriteReport

func (istanbul *Istanbul) WriteReport(input string, output string) error

type IstanbulObject

type IstanbulObject struct {
	Path         string                          `json:"path"`
	StatementMap map[string]IstanbulStatementMap `json:"statementMap"`
	FnMap        interface{}                     `json:"fnMap"`
	BranchMap    interface{}                     `json:"branchMap"`
	S            map[string]int                  `json:"s"`
	F            interface{}                     `json:"f"`
	B            interface{}                     `json:"b"`
}

type IstanbulStatementMap

type IstanbulStatementMap struct {
	Start IstanbulStatementStartEnd `json:"start"`
	End   IstanbulStatementStartEnd `json:"end"`
}

type IstanbulStatementStartEnd

type IstanbulStatementStartEnd struct {
	Line   int `json:"line"`
	Column int `json:"column"`
}

Jump to

Keyboard shortcuts

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