type go/ast.Field
35 uses
go/ast (current package)
ast.go#L197: type Field struct {
ast.go#L205: func (f *Field) Pos() token.Pos {
ast.go#L215: func (f *Field) End() token.Pos {
ast.go#L232: List []*Field // field list; or nil
commentmap.go#L218: case *File, *Field, Decl, Spec, Stmt:
scope.go#L106: case *Field:
walk.go#L49: case *Field:
go/doc
reader.go#L347: func fields(typ ast.Expr) (list []*ast.Field, isStruct bool) {
reader.go#L388: var list []*ast.Field
reader.go#L716: newFieldList.List = []*ast.Field{&newField}
go/parser
parser.go#L648: func (p *parser) parseFieldDecl() *ast.Field {
parser.go#L735: field := &ast.Field{Doc: doc, Names: names, Type: typ, Tag: tag, Comment: comment}
parser.go#L746: var list []*ast.Field
parser.go#L875: func (p *parser) parseParameterList(name0 *ast.Ident, typ0 ast.Expr, closing token.Token) (params []*ast.Field) {
parser.go#L1015: params = append(params, &ast.Field{Type: par.typ})
parser.go#L1026: field := &ast.Field{Names: names, Type: typ}
parser.go#L1066: var fields []*ast.Field
parser.go#L1089: list := make([]*ast.Field, 1)
parser.go#L1090: list[0] = &ast.Field{Type: typ}
parser.go#L1112: func (p *parser) parseMethodSpec() *ast.Field {
parser.go#L1191: return &ast.Field{Doc: doc, Names: idents, Type: typ}
parser.go#L1245: var list []*ast.Field
parser.go#L1260: list = append(list, &ast.Field{Type: typ, Comment: comment})
parser.go#L1265: list = append(list, &ast.Field{Type: typ, Comment: comment})
go/printer
nodes.go#L471: func (p *printer) isOneLineFieldList(list []*ast.Field) bool {
printer.go#L1051: case *ast.Field:
printer.go#L1071: case *ast.Field:
go/types
decl.go#L557: var tparam0 *ast.Field
decl.go#L723: x = &ast.InterfaceType{Methods: &ast.FieldList{List: []*ast.Field{{Type: x}}}}
exprstring.go#L195: func writeFieldList(buf *bytes.Buffer, list []*ast.Field, sep string, iface bool) {
signature.go#L162: func (check *Checker) collectRecv(rparam *ast.Field, scopePos token.Pos) (*Var, *TypeParamList) {
golang.org/x/tools/internal/typesinternal
zerovalue.go#L271: var params []*ast.Field
zerovalue.go#L273: params = append(params, &ast.Field{
zerovalue.go#L286: var returns []*ast.Field
zerovalue.go#L288: returns = append(returns, &ast.Field{