Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NamePos (0.15 sec)

  1. src/cmd/cgo/ast.go

    	ast1 := parse(abspath, src, parser.SkipObjectResolution|parser.ParseComments)
    	ast2 := parse(abspath, src, parser.SkipObjectResolution)
    
    	f.Package = ast1.Name.Name
    	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:
    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/cgo/gcc.go

    		for _, info := range p.typedefList {
    			if f.Name[info.typedef] != nil {
    				continue
    			}
    			n := &Name{
    				Go: info.typedef,
    				C:  info.typedef,
    			}
    			f.Name[info.typedef] = n
    			f.NamePos[n] = info.pos
    		}
    		needType := p.guessKinds(f)
    		if len(needType) > 0 {
    			p.loadDWARF(f, &conv, needType)
    		}
    
    		// In godefs mode we're OK with the typedefs, which
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg go/ast, type GoStmt struct, Call *CallExpr
    pkg go/ast, type GoStmt struct, Go token.Pos
    pkg go/ast, type Ident struct
    pkg go/ast, type Ident struct, Name string
    pkg go/ast, type Ident struct, NamePos token.Pos
    pkg go/ast, type Ident struct, Obj *Object
    pkg go/ast, type IfStmt struct
    pkg go/ast, type IfStmt struct, Body *BlockStmt
    pkg go/ast, type IfStmt struct, Cond Expr
    pkg go/ast, type IfStmt struct, Else Stmt
    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