package typeparams
import "go/internal/typeparams"
Index ¶
- func PackIndexExpr(x ast.Expr, lbrack token.Pos, exprs []ast.Expr, rbrack token.Pos) ast.Expr
- type IndexExpr
Functions ¶
func PackIndexExpr ¶
Types ¶
type IndexExpr ¶
type IndexExpr struct { Orig ast.Expr // the wrapped expr, which may be distinct from the IndexListExpr below. *ast.IndexListExpr }
IndexExpr wraps an ast.IndexExpr or ast.IndexListExpr.
Orig holds the original ast.Expr from which this IndexExpr was derived.
func UnpackIndexExpr ¶
Source Files ¶
- Version
- v1.20.7
- Published
- Jul 26, 2023
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 12 minutes ago –
Tools for package owners.