package typeparams

Import Path
	go/internal/typeparams (on go.dev)

Dependency Relation
	imports 2 packages, and imported by 2 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. typeparams.go
Package-Level Type Names (only one, which is exported)
/* sort exporteds by: | */
IndexExpr wraps an ast.IndexExpr or ast.IndexListExpr. Orig holds the original ast.Expr from which this IndexExpr was derived. IndexListExpr *ast.IndexListExpr // index expressions // position of "[" // position of "]" // expression // the wrapped expr, which may be distinct from the IndexListExpr below. ( IndexExpr) End() token.Pos ( IndexExpr) Pos() token.Pos IndexExpr : go/ast.Expr IndexExpr : go/ast.Node func UnpackIndexExpr(n ast.Node) *IndexExpr
Package-Level Functions (total 2, both are exported)
func PackIndexExpr(x ast.Expr, lbrack token.Pos, exprs []ast.Expr, rbrack token.Pos) ast.Expr
Package-Level Constants (total 2, both are exported)
'Hidden' parser modes to control the parsing of type-parameter related features.
'Hidden' parser modes to control the parsing of type-parameter related features.