- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for checkExprOrType (0.23 sec)
-
src/go/printer/testdata/parser.go
func deref(x ast.Expr) ast.Expr { if p, isPtr := x.(*ast.StarExpr); isPtr { x = p.X } return x } // checkExprOrType checks that x is an expression or a type // (and not a raw type such as [...]T). func (p *parser) checkExprOrType(x ast.Expr) ast.Expr { switch t := ast.Unparen(x).(type) { case *ast.ParenExpr: panic("unreachable") case *ast.UnaryExpr:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 20:19:51 UTC 2023 - 50.5K bytes - Viewed (0)