type go/ast.Field
36 uses
go/ast (current package)
ast.go#L201: type Field struct {
ast.go#L209: func (f *Field) Pos() token.Pos {
ast.go#L219: func (f *Field) End() token.Pos {
ast.go#L236: 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#L662: func (p *parser) parseFieldDecl() *ast.Field {
parser.go#L749: field := &ast.Field{Doc: doc, Names: names, Type: typ, Tag: tag, Comment: comment}
parser.go#L760: var list []*ast.Field
parser.go#L889: func (p *parser) parseParameterList(name0 *ast.Ident, typ0 ast.Expr, closing token.Token, dddok bool) (params []*ast.Field) {
parser.go#L1049: params = append(params, &ast.Field{Type: par.typ})
parser.go#L1060: field := &ast.Field{Names: names, Type: typ}
parser.go#L1085: var list []*ast.Field
parser.go#L1106: var list []*ast.Field
parser.go#L1115: list := make([]*ast.Field, 1)
parser.go#L1116: list[0] = &ast.Field{Type: typ}
parser.go#L1142: func (p *parser) parseMethodSpec() *ast.Field {
parser.go#L1221: return &ast.Field{Doc: doc, Names: idents, Type: typ}
parser.go#L1275: var list []*ast.Field
parser.go#L1290: list = append(list, &ast.Field{Type: typ, Comment: comment})
parser.go#L1295: 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#L568: var tparam0 *ast.Field
decl.go#L734: 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#L184: 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{