Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewIdent (0.12 sec)

  1. src/cmd/cgo/gcc.go

    	getNewIdent := ast.NewIdent
    	if addPosition {
    		getNewIdent = func(newName string) *ast.Ident {
    			mangledIdent := ast.NewIdent(newName)
    			if len(newName) == len(r.Name.Go) {
    				return mangledIdent
    			}
    			p := fset.Position((*r.Expr).End())
    			if p.Column == 0 {
    				return mangledIdent
    			}
    			return ast.NewIdent(fmt.Sprintf("%s /*line :%d:%d*/", newName, p.Line, p.Column))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg go/ast, func Inspect(Node, func(Node) bool)
    pkg go/ast, func IsExported(string) bool
    pkg go/ast, func MergePackageFiles(*Package, MergeMode) *File
    pkg go/ast, func NewIdent(string) *Ident
    pkg go/ast, func NewObj(ObjKind, string) *Object
    pkg go/ast, func NewPackage(*token.FileSet, map[string]*File, Importer, *Scope) (*Package, error)
    pkg go/ast, func NewScope(*Scope) *Scope
    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