ast

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsGenericFunc

func IsGenericFunc(funcDecl *ast.FuncDecl) bool

func JoinQuoteNames

func JoinQuoteNames(names []string, sep string) string

func ParseReceiverInfo

func ParseReceiverInfo(fnName string, receiverType ast.Expr) (identityName string, recvPtr bool, recvGeneric bool, recvType *ast.Ident)

func ParseReceiverType

func ParseReceiverType(typeExpr ast.Expr) (ptr bool, generic bool, recvType *ast.Ident)

func QuoteNames

func QuoteNames(names []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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