model

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilePosition added in v0.0.6

type FilePosition struct {
	Path                           string
	BytePos, RunePos, Line, Column int
}

FilePosition is a position of a character in a text file.

func (FilePosition) String added in v0.0.6

func (p FilePosition) String() string

type Range

type Range struct {
	Start, End FilePosition
}

Range describes a range in the source code.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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