utils

package
v0.0.0-...-94ba18c Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GopkgFile = `` /* 283-byte string literal not displayed */

)
View Source
const (
	LuaOpPrecedence_Add = 8
)
View Source
const (
	TemplateGopkg = `` /* 1138-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func DefaultValue

func DefaultValue(typ types.Type) string

func LuaOpPrecedenceFromGoOp

func LuaOpPrecedenceFromGoOp(op token.Token) int

func PositionLess

func PositionLess(p1, p2 token.Position) bool

func PrintErrors

func PrintErrors(pass *analysis.Pass, a ...NodeError)

Types

type NodeError

type NodeError struct {
	Err  error
	Node ast.Node
}

func NewNodeError

func NewNodeError(err error, node ast.Node) NodeError

Jump to

Keyboard shortcuts

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