MCPcopy Create free account
hub / github.com/golang/appengine / expr

Function expr

cmd/aefix/fix.go:742–750  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

740}
741
742func expr(s string) ast.Expr {
743 x, err := parser.ParseExpr(s)
744 if err != nil {
745 panic("parsing " + s + ": " + err.Error())
746 }
747 // Remove position information to avoid spurious newlines.
748 killPos(reflect.ValueOf(x))
749 return x
750}
751
752var posType = reflect.TypeOf(token.Pos(0))
753

Callers 1

renameFixTabFunction · 0.70

Calls 2

killPosFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…