bypos

package
v0.0.0-...-27ab5e1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2018 License: MIT Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindComments

func FindComments(sorted Sorted, pos token.Pos) *ast.CommentGroup

FindComments :

func FindFile

func FindFile(sorted Sorted, pos token.Pos) *ast.File

FindFile :

Types

type Sorted

type Sorted struct {
	Files []*ast.File
}

Sorted : sorted by pos.

func SortFiles

func SortFiles(files []*ast.File) Sorted

SortFiles :

Jump to

Keyboard shortcuts

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