- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for markComplete (0.16 sec)
-
src/go/types/struct.go
// ---------------------------------------------------------------------------- // Implementation func (s *Struct) markComplete() { if s.fields == nil { s.fields = make([]*Var, 0) } } func (check *Checker) structType(styp *Struct, e *ast.StructType) { list := e.Fields if list == nil { styp.markComplete() return } // struct fields and tags var fields []*Var var tags []string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/struct.go
// ---------------------------------------------------------------------------- // Implementation func (s *Struct) markComplete() { if s.fields == nil { s.fields = make([]*Var, 0) } } func (check *Checker) structType(styp *Struct, e *syntax.StructType) { if e.FieldList == nil { styp.markComplete() return } // struct fields and tags var fields []*Var var tags []string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/go/types/package.go
} // A package is complete if its scope contains (at least) all // exported objects; otherwise it is incomplete. func (pkg *Package) Complete() bool { return pkg.complete } // MarkComplete marks a package as complete. func (pkg *Package) MarkComplete() { pkg.complete = true } // Imports returns the list of packages directly imported by // pkg; the list is in source order. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 3K bytes - Viewed (0)