...
Source file
src/cmd/cgo/ast_go1.go
Documentation: cmd/cgo
1
2
3
4
5
6
7 package main
8
9 import (
10 "go/ast"
11 "go/token"
12 )
13
14 func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) {
15 error_(token.NoPos, "unexpected type %T in walk", x)
16 panic("unexpected type")
17 }
18
19 func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList {
20 return nil
21 }
22
23 func typeSpecTypeParams(n *ast.TypeSpec) *ast.FieldList {
24 return nil
25 }
26
View as plain text