Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for ast (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. api/go1.5.txt

    pkg go/types, type Info struct
    pkg go/types, type Info struct, Defs map[*ast.Ident]Object
    pkg go/types, type Info struct, Implicits map[ast.Node]Object
    pkg go/types, type Info struct, InitOrder []*Initializer
    pkg go/types, type Info struct, Scopes map[ast.Node]*Scope
    pkg go/types, type Info struct, Selections map[*ast.SelectorExpr]*Selection
    pkg go/types, type Info struct, Types map[ast.Expr]TypeAndValue
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/cgo/gcc.go

    			return true
    		}
    		if strings.HasPrefix(t.Name, "_Ctype_") {
    			return true
    		}
    	case *ast.ParenExpr:
    		return p.isType(t.X)
    	case *ast.StarExpr:
    		return p.isType(t.X)
    	case *ast.ArrayType, *ast.StructType, *ast.FuncType, *ast.InterfaceType,
    		*ast.MapType, *ast.ChanType:
    
    		return true
    	}
    	return false
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. api/go1.13.txt

    pkg go/token, func IsExported(string) bool
    pkg go/token, func IsIdentifier(string) bool
    pkg go/token, func IsKeyword(string) bool
    pkg go/types, func CheckExpr(*token.FileSet, *Package, token.Pos, ast.Expr, *Info) error
    pkg log, func Writer() io.Writer
    pkg log/syslog (netbsd-arm64-cgo), const LOG_ALERT = 1
    pkg log/syslog (netbsd-arm64-cgo), const LOG_ALERT Priority
    pkg log/syslog (netbsd-arm64-cgo), const LOG_AUTH = 32
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  8. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  9. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg go/ast, const Bad ObjKind
    pkg go/ast, const Con ObjKind
    pkg go/ast, const FilterFuncDuplicates MergeMode
    pkg go/ast, const FilterImportDuplicates MergeMode
    pkg go/ast, const FilterUnassociatedComments MergeMode
    pkg go/ast, const Fun ObjKind
    pkg go/ast, const Lbl ObjKind
    pkg go/ast, const Pkg ObjKind
    pkg go/ast, const RECV ChanDir
    pkg go/ast, const SEND ChanDir
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top