helpers

package
v0.0.0-...-315ddab Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func E

func E(exprs ...ast.Expr) []ast.Expr

E converts passed expressions to a collection of expressions.

func EmptyE

func EmptyE() []ast.Expr

EmptyE returns an empty expression AST

func EmptyI

func EmptyI() []*ast.Ident

EmptyI returns an empty identity AST

func EmptyS

func EmptyS() []ast.Stmt

EmptyS returns a empty statement AST.

func I

func I(ident *ast.Ident) []*ast.Ident

I converts passed identities to a collection of identities.

func S

func S(stmts ...ast.Stmt) []ast.Stmt

S converts passed statements to a collection of statements.

Types

This section is empty.

Jump to

Keyboard shortcuts

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