type go/ast.FieldList
43 uses
go/ast (current package)
ast.go#L234: type FieldList struct {
ast.go#L240: func (f *FieldList) Pos() token.Pos {
ast.go#L252: func (f *FieldList) End() token.Pos {
ast.go#L265: func (f *FieldList) NumFields() int {
ast.go#L457: Fields *FieldList // list of field declarations
ast.go#L466: TypeParams *FieldList // type parameters; or nil
ast.go#L467: Params *FieldList // (incoming) parameters; non-nil
ast.go#L468: Results *FieldList // (outgoing) results; or nil
ast.go#L474: Methods *FieldList // list of embedded interfaces, methods, or types
ast.go#L925: TypeParams *FieldList // type parameters; or nil
ast.go#L1000: Recv *FieldList // receiver (methods); or nil (functions)
filter.go#L77: func filterFieldList(fields *FieldList, filter Filter, export bool) (removedFields bool) {
filter.go#L140: func filterParamList(fields *FieldList, filter Filter, export bool) bool {
walk.go#L64: case *FieldList:
go/doc
example.go#L377: inspectFieldList := func(fl *ast.FieldList) {
exports.go#L107: func (r *reader) filterFieldList(parent *namedType, fields *ast.FieldList, ityp *ast.InterfaceType) (removedFields bool) {
exports.go#L159: func (r *reader) filterParamList(fields *ast.FieldList) {
filter.go#L11: func matchFields(fields *ast.FieldList, f Filter) bool {
reader.go#L348: var fields *ast.FieldList
reader.go#L475: func lookupTypeParam(name string, tparams *ast.FieldList) *ast.Ident {
go/parser
parser.go#L771: Fields: &ast.FieldList{
parser.go#L1079: func (p *parser) parseTypeParameters() *ast.FieldList {
parser.go#L1096: return &ast.FieldList{Opening: lbrack, List: list, Closing: rbrack}
parser.go#L1099: func (p *parser) parseParameters(result bool) *ast.FieldList {
parser.go#L1111: return &ast.FieldList{Opening: lparen, List: list, Closing: rparen}
parser.go#L1117: return &ast.FieldList{List: list}
parser.go#L1308: Methods: &ast.FieldList{
parser.go#L2607: spec.TypeParams = &ast.FieldList{Opening: openPos, List: list, Closing: closePos}
parser.go#L2800: var recv *ast.FieldList
parser.go#L2807: var tparams *ast.FieldList
resolver.go#L523: func (r *resolver) resolveList(list *ast.FieldList) {
resolver.go#L534: func (r *resolver) declareList(list *ast.FieldList, kind ast.ObjKind) {
resolver.go#L543: func (r *resolver) walkRecv(recv *ast.FieldList) {
resolver.go#L589: func (r *resolver) walkFieldList(list *ast.FieldList, kind ast.ObjKind) {
resolver.go#L600: func (r *resolver) walkTParams(list *ast.FieldList) {
go/printer
nodes.go#L328: func (p *printer) parameters(fields *ast.FieldList, mode paramMode) {
nodes.go#L493: func (p *printer) fieldList(fields *ast.FieldList, isStruct, isIncomplete bool) {
go/types
decl.go#L667: func (check *Checker) collectTypeParams(dst **TypeParamList, list *ast.FieldList) {
decl.go#L734: x = &ast.InterfaceType{Methods: &ast.FieldList{List: []*ast.Field{{Type: x}}}}
signature.go#L130: func (check *Checker) funcType(sig *Signature, recvPar *ast.FieldList, ftyp *ast.FuncType) {
signature.go#L377: func (check *Checker) collectParams(kind VarKind, list *ast.FieldList) (names []*ast.Ident, params []*Var, variadic bool) {
golang.org/x/tools/internal/typesinternal
zerovalue.go#L293: Params: &ast.FieldList{
zerovalue.go#L296: Results: &ast.FieldList{