position

package
v0.0.0-...-6a25f69 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2020 License: MIT, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Position

type Position struct {
	StartLine int
	EndLine   int
	StartPos  int
	EndPos    int
}

Position represents node position

func NewPosition

func NewPosition(StartLine int, EndLine int, StartPos int, EndPos int) *Position

NewPosition Position constructor

func (Position) String

func (p Position) String() string

Jump to

Keyboard shortcuts

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