polyfill

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package polyfill supplies a polyfill for token.File.LineStart, introduced with Go version 1.12.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LineStart

func LineStart(file *token.File, line int) token.Pos

LineStart is an indirect to token.File.LineStart, to support a polyfill on versions of Go before 1.12.

Types

This section is empty.

Jump to

Keyboard shortcuts

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