Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DECL (0.06 sec)

  1. src/cmd/cgo/ast.go

    	f.Name = make(map[string]*Name)
    	f.NamePos = make(map[*Name]token.Pos)
    
    	// In ast1, find the import "C" line and get any extra C preamble.
    	sawC := false
    	for _, decl := range ast1.Decls {
    		switch decl := decl.(type) {
    		case *ast.GenDecl:
    			for _, spec := range decl.Specs {
    				s, ok := spec.(*ast.ImportSpec)
    				if !ok || s.Path.Value != `"C"` {
    					continue
    				}
    				sawC = true
    				if s.Name != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/amd64enc.s

    	DECW DX                                 // 66ffca
    	DECW R11                                // 6641ffcb
    	DECL (BX)                               // ff0b
    	DECL (R11)                              // 41ff0b
    	DECL DX                                 // ffca
    	DECL R11                                // 41ffcb
    	DECQ (BX)                               // 48ff0b
    	DECQ (R11)                              // 49ff0b
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 08 21:38:44 UTC 2021
    - 581.9K bytes
    - Viewed (1)
  3. src/cmd/cgo/gcc.go

    		return p.hasPointer(f, t.X, false)
    	case *ast.FuncType, *ast.InterfaceType, *ast.MapType, *ast.ChanType:
    		return true
    	case *ast.Ident:
    		// TODO: Handle types defined within function.
    		for _, d := range p.Decl {
    			gd, ok := d.(*ast.GenDecl)
    			if !ok || gd.Tok != token.TYPE {
    				continue
    			}
    			for _, spec := range gd.Specs {
    				ts, ok := spec.(*ast.TypeSpec)
    				if !ok {
    					continue
    				}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg go/ast, type CompositeLit struct, Rbrace token.Pos
    pkg go/ast, type CompositeLit struct, Type Expr
    pkg go/ast, type Decl interface, End() token.Pos
    pkg go/ast, type Decl interface, Pos() token.Pos
    pkg go/ast, type Decl interface, unexported methods
    pkg go/ast, type DeclStmt struct
    pkg go/ast, type DeclStmt struct, Decl Decl
    pkg go/ast, type DeferStmt struct
    pkg go/ast, type DeferStmt struct, Call *CallExpr
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top