- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for FieldList (0.12 sec)
-
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
} final List<String> fieldList = new ArrayList<>(item1.getFields().length + item2.getFields().length); Collections.addAll(fieldList, item1.getFields()); for (final String field : item2.getFields()) { if (!fieldList.contains(field)) { fieldList.add(field); } } mergedItem.fields = fieldList.toArray(new String[fieldList.size()]);
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 20.1K bytes - Viewed (0) -
src/go/ast/ast.go
TypeParams *FieldList // type parameters; or nil Params *FieldList // (incoming) parameters; non-nil Results *FieldList // (outgoing) results; or nil } // An InterfaceType node represents an interface type. InterfaceType struct { Interface token.Pos // position of "interface" keyword Methods *FieldList // list of embedded interfaces, methods, or types
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 35.6K bytes - Viewed (0) -
src/go/parser/resolver.go
r.declareList(typ.Results, ast.Var) } func (r *resolver) resolveList(list *ast.FieldList) { if list == nil { return } for _, f := range list.List { if f.Type != nil { ast.Walk(r, f.Type) } } } func (r *resolver) declareList(list *ast.FieldList, kind ast.ObjKind) { if list == nil { return } for _, f := range list.List {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 12:56:53 UTC 2023 - 15.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go
tok(n.Ellipsis, len("..."))) case *ast.EmptyStmt: // nop case *ast.ExprStmt: // nop case *ast.Field: // TODO(adonovan): Field.{Doc,Comment,Tag}? case *ast.FieldList: children = append(children, tok(n.Opening, len("(")), // or len("[") tok(n.Closing, len(")"))) // or len("]") case *ast.File: // TODO test: Doc children = append(children,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 15.9K bytes - Viewed (0) -
src/cmd/doc/pkg.go
typ.Methods = trimUnexportedFields(typ.Methods, true) } } // trimUnexportedFields returns the field list trimmed of unexported fields. func trimUnexportedFields(fields *ast.FieldList, isInterface bool) *ast.FieldList { what := "methods" if !isInterface { what = "fields" } trimmed := false list := make([]*ast.Field, 0, len(fields.List)) for _, field := range fields.List {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 20:15:52 UTC 2024 - 32K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
case *StructType: p.print(_Struct) if len(n.FieldList) > 0 && p.linebreaks { p.print(blank) } p.print(_Lbrace) if len(n.FieldList) > 0 { if p.linebreaks { p.print(newline, indent) p.printFieldList(n.FieldList, n.TagList, _Semi) p.print(outdent, newline) } else { p.printFieldList(n.FieldList, n.TagList, _Semi) } } p.print(_Rbrace)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
if r == nil { return nil } returns = append(returns, &ast.Field{ Type: r, }) } return &ast.FuncType{ Params: &ast.FieldList{ List: params, }, Results: &ast.FieldList{ List: returns, }, } case interface{ Obj() *types.TypeName }: // *types.{Alias,Named,TypeParam} if t.Obj().Pkg() == nil { return ast.NewIdent(t.Obj().Name())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
src/go/types/signature.go
// ---------------------------------------------------------------------------- // Implementation // funcType type-checks a function or method type. func (check *Checker) funcType(sig *Signature, recvPar *ast.FieldList, ftyp *ast.FuncType) { check.openScope(ftyp, "function") check.scope.isFunc = true check.recordScope(ftyp, check.scope) sig.scope = check.scope defer check.closeScope()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 13K bytes - Viewed (0) -
src/go/ast/filter.go
case *Ident: return t case *SelectorExpr: if _, ok := t.X.(*Ident); ok { return t.Sel } case *StarExpr: return fieldName(t.X) } return nil } func filterFieldList(fields *FieldList, filter Filter, export bool) (removedFields bool) { if fields == nil { return false } list := fields.List j := 0 for _, f := range list { keepField := false if len(f.Names) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go
// inadvertently copy a lock, by checking whether // its receiver, parameters, or return values // are locks. func checkCopyLocksFunc(pass *analysis.Pass, name string, recv *ast.FieldList, typ *ast.FuncType) { if recv != nil && len(recv.List) > 0 { expr := recv.List[0].Type if path := lockPath(pass.Pkg, pass.TypesInfo.Types[expr].Type, nil); path != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.9K bytes - Viewed (0)