Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Decls (0.29 sec)

  1. src/cmd/cgo/ast.go

    					ws++
    				}
    			}
    			if ws == 0 {
    				continue
    			}
    			d.Specs = d.Specs[0:ws]
    			ast2.Decls[w] = d
    			w++
    		}
    		ast2.Decls = ast2.Decls[0:w]
    	} else {
    		for _, decl := range ast2.Decls {
    			d, ok := decl.(*ast.GenDecl)
    			if !ok {
    				continue
    			}
    			for _, spec := range d.Specs {
    				if s, ok := spec.(*ast.ImportSpec); ok && s.Path.Value == `"C"` {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/godefs.go

    	// use "T" as the mangling of C.whatever,
    	// 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 23 11:13:09 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg go/ast, type FieldList struct, List []*Field
    pkg go/ast, type FieldList struct, Opening token.Pos
    pkg go/ast, type File struct
    pkg go/ast, type File struct, Comments []*CommentGroup
    pkg go/ast, type File struct, Decls []Decl
    pkg go/ast, type File struct, Doc *CommentGroup
    pkg go/ast, type File struct, Imports []*ImportSpec
    pkg go/ast, type File struct, Name *Ident
    pkg go/ast, type File struct, Package token.Pos
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top