- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for ast (0.17 sec)
-
src/cmd/cgo/ast.go
// These are ordered and grouped to match ../../go/ast/ast.go case *ast.Field: if len(n.Names) == 0 && context == ctxField { f.walk(&n.Type, ctxEmbedType, visit) } else { f.walk(&n.Type, ctxType, visit) } case *ast.FieldList: for _, field := range n.List { f.walk(field, context, visit) } case *ast.BadExpr: case *ast.Ident: case *ast.Ellipsis: f.walk(&n.Elt, ctxType, visit)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jun 07 16:54:27 GMT 2023 - 14.3K bytes - Viewed (0) -
src/cmd/cgo/ast_go1.go
package main import ( "go/ast" "go/token" ) func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) { error_(token.NoPos, "unexpected type %T in walk", x) panic("unexpected type") } func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList { return nil } func typeSpecTypeParams(n *ast.TypeSpec) *ast.FieldList { return nil
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Nov 30 21:45:10 GMT 2022 - 578 bytes - Viewed (0) -
src/cmd/cgo/ast_go118.go
} func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList { return n.TypeParams } func typeSpecTypeParams(n *ast.TypeSpec) *ast.FieldList { return n.TypeParams
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Nov 30 21:45:10 GMT 2022 - 730 bytes - Viewed (0) -
src/cmd/cgo/godefs.go
// except in the definition (handled at end of function). refName := make(map[*ast.Expr]*Name) for _, r := range f.Ref { refName[r.Expr] = r.Name } for _, d := range f.AST.Decls { d, ok := d.(*ast.GenDecl) if !ok || d.Tok != token.TYPE { continue } for _, s := range d.Specs { s := s.(*ast.TypeSpec) n := refName[&s.Type] if n != nil && n.Mangle != "" {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Sep 08 14:33:35 GMT 2022 - 4.5K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
api/go1.18.txt
pkg debug/plan9obj, var ErrNoSymbols error pkg go/ast, method (*IndexListExpr) End() token.Pos pkg go/ast, method (*IndexListExpr) Pos() token.Pos pkg go/ast, type FuncType struct, TypeParams *FieldList pkg go/ast, type IndexListExpr struct pkg go/ast, type IndexListExpr struct, Indices []Expr pkg go/ast, type IndexListExpr struct, Lbrack token.Pos pkg go/ast, type IndexListExpr struct, Rbrack token.Pos pkg go/ast, type IndexListExpr struct, X Expr
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Viewed (0) -
api/go1.22.txt
pkg encoding/hex, func AppendEncode([]uint8, []uint8) []uint8 #53693 pkg go/ast, func NewPackage //deprecated #52463 pkg go/ast, func Unparen(Expr) Expr #60061 pkg go/ast, type Importer //deprecated #52463 pkg go/ast, type Object //deprecated #52463 pkg go/ast, type Package //deprecated #52463 pkg go/ast, type Scope //deprecated #52463 pkg go/types, func NewAlias(*TypeName, Type) *Alias #63223
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Jan 24 20:54:27 GMT 2024 - 7.7K bytes - Viewed (0) -
src/cmd/api/main_test.go
for _, file := range w.current.Files { ast.Inspect(file, func(n ast.Node) bool { switch n := n.(type) { case *ast.File: if isDeprecated(n.Doc) { mark(n.Name) } return true case *ast.GenDecl: if isDeprecated(n.Doc) { for _, spec := range n.Specs { switch spec := spec.(type) { case *ast.ValueSpec: for _, id := range spec.Names { mark(id)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
api/go1.21.txt
pkg flag, method (*FlagSet) BoolFunc(string, string, func(string) error) #53747 pkg go/ast, func IsGenerated(*File) bool #28089 pkg go/ast, func NewPackage //deprecated #52463 pkg go/ast, type File struct, GoVersion string #59033 pkg go/ast, type Importer //deprecated #52463 pkg go/ast, type Object //deprecated #52463 pkg go/ast, type Package //deprecated #52463 pkg go/ast, type Scope //deprecated #52463
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Aug 07 09:39:17 GMT 2023 - 25.6K bytes - Viewed (0) -
api/go1.20.txt
pkg encoding/xml, method (*Encoder) Close() error #53346 pkg errors, func Join(...error) error #53435 pkg fmt, func FormatString(State, int32) string #51668 pkg go/ast, type File struct, FileEnd token.Pos #53202 pkg go/ast, type File struct, FileStart token.Pos #53202 pkg go/ast, type RangeStmt struct, Range token.Pos #50429 pkg go/token, method (*FileSet) RemoveFile(*File) #53200 pkg go/types, func Satisfies(Type, *Interface) bool #56548
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 21:23:32 GMT 2023 - 602.6K bytes - Viewed (0)