position

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 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