- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for markComplete (0.18 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/cmd/compile/internal/types2/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: Thu Jul 06 13:09:19 UTC 2023 - 2.9K 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) -
src/go/types/subst.go
if elem != t.elem { return &Slice{elem: elem} } case *Struct: if fields, copied := subst.varList(t.fields); copied { s := &Struct{fields: fields, tags: t.tags} s.markComplete() return s } case *Pointer: base := subst.typ(t.base) if base != t.base { return &Pointer{base: base} } case *Tuple: return subst.tuple(t) case *Signature:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/subst.go
if elem != t.elem { return &Slice{elem: elem} } case *Struct: if fields, copied := subst.varList(t.fields); copied { s := &Struct{fields: fields, tags: t.tags} s.markComplete() return s } case *Pointer: base := subst.typ(t.base) if base != t.base { return &Pointer{base: base} } case *Tuple: return subst.tuple(t) case *Signature:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11K bytes - Viewed (0) -
src/go/internal/gcimporter/ureader.go
if imp != nil && imp != pkg { imps = append(imps, imp) } } slices.SortFunc(imps, func(a, b *types.Package) int { return strings.Compare(a.Path(), b.Path()) }) pkg.SetImports(imps) pkg.MarkComplete() return pkg } // A reader holds the state for reading a single unified IR element // within a package. type reader struct { pkgbits.Decoder p *pkgReader dict *readerDict }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
slices.SortFunc(list, func(a, b *types.Package) int { return strings.Compare(a.Path(), b.Path()) }) localpkg.SetImports(list) // package was imported completely and without errors localpkg.MarkComplete() return localpkg, nil } type setConstraintArgs struct { t *types.TypeParam constraint types.Type } type iimporter struct { exportVersion int64 ipath string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
src/go/internal/gccgoimporter/parser.go
} f.toUpdate.SetUnderlying(f.target.Underlying()) } p.fixups = nil for _, typ := range p.typeList { if it, ok := typ.(*types.Interface); ok { it.Complete() } } p.pkg.MarkComplete() return p.pkg
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 02 23:14:07 UTC 2024 - 31.2K bytes - Viewed (0) -
api/go1.5.txt
pkg go/types, method (*Nil) String() string pkg go/types, method (*Nil) Type() Type pkg go/types, method (*Package) Complete() bool pkg go/types, method (*Package) Imports() []*Package pkg go/types, method (*Package) MarkComplete() pkg go/types, method (*Package) Name() string pkg go/types, method (*Package) Path() string pkg go/types, method (*Package) Scope() *Scope pkg go/types, method (*Package) SetImports([]*Package)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0)