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
The pages are generated with Goldsv0.6.9-preview. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.