package typeparams

Import Path
	go/internal/typeparams (on and

Dependency Relation
	imports one package, and imported by 3 packages

Involved Source Files Package typeparams provides functions to work with type parameter data stored in the AST, while these AST changes are guarded by a build constraint. notypeparams.go
Package-Level Functions (total 5)
func PackExpr(list []ast.Expr) ast.Expr
func Set(node ast.Node, params *ast.FieldList)
func UnpackExpr(expr ast.Expr) []ast.Expr
Package-Level Constants (total 2)
DisallowParsing is the numeric value of a parsing mode that disallows type parameters. This only matters if the typeparams experiment is active, and may be used for running tests that disallow generics.
const Enabled = false