- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CheckExpr (0.24 sec)
-
src/go/types/eval_test.go
if err != nil { t.Fatal(err) } checkExpr := func(pos token.Pos, str string) (Object, error) { expr, err := parser.ParseExprFrom(fset, "eval", str, 0) if err != nil { return nil, err } info := &Info{ Uses: make(map[*ast.Ident]Object), Selections: make(map[*ast.SelectorExpr]*Selection), } if err := CheckExpr(fset, pkg, pos, expr, info); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 19:56:15 UTC 2024 - 8.3K bytes - Viewed (0) -
src/go/types/version.go
// If there are no files, the result is nil. // The position must be valid. func (check *Checker) fileFor(pos token.Pos) *ast.File { assert(pos.IsValid()) // Eval and CheckExpr tests may not have any source files. if len(check.files) == 0 { return nil } for _, file := range check.files { if file.FileStart <= pos && pos < file.FileEnd { return file } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 23:12:40 UTC 2024 - 3.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Basic", Type, 5}, {"BasicInfo", Type, 5}, {"BasicKind", Type, 5}, {"Bool", Const, 5}, {"Builtin", Type, 5}, {"Byte", Const, 5}, {"Chan", Type, 5}, {"ChanDir", Type, 5}, {"CheckExpr", Func, 13}, {"Checker", Type, 5}, {"Checker.Info", Field, 5}, {"Comparable", Func, 5}, {"Complex128", Const, 5}, {"Complex64", Const, 5}, {"Config", Type, 5},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)