positioner

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Positioner

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

func NewFillLineColFromOffset

func NewFillLineColFromOffset() *Positioner

FillLineColFromOffset gets the original source code and its parsed form as *Node and fills every Line and Column field using its Offset.

func NewFillOffsetFromLineCol

func NewFillOffsetFromLineCol() *Positioner

FillOffsetFromLineCol gets the original source code and its parsed form as *Node and fills every Offset field using its Line and Column.

func (*Positioner) Do

func (t *Positioner) Do(data string, e protocol.Encoding, n *uast.Node) error

Jump to

Keyboard shortcuts

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