Help us shape the future of Go! Take the 2026 Go Developer Survey

astutil

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func And

func And(x, y ast.Expr) *ast.BinaryExpr

And returns an expression evaluating 'x && y'.

func Eql

func Eql(x, y ast.Expr) *ast.BinaryExpr

Eql returns an expression evaluating 'x == y'.

func Int

func Int(n int64) *ast.BasicLit

Int returns an expression representing the integer 'n'.

func Or

func Or(x, y ast.Expr) *ast.BinaryExpr

Or returns an expression evaluating 'x || y'.

func PkgVar

func PkgVar(pkg, v string) *ast.SelectorExpr

PkgVar returns an expression evaluating 'pkg.v'.

func Sel

func Sel(x ast.Expr, sel string) *ast.SelectorExpr

Sel returns an expression evaluating 'x.sel'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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