Home | History | Annotate | Download | only in testdata
      1 // 
      2 PACKAGE b
      3 
      4 IMPORTPATH
      5 	testdata/b
      6 
      7 IMPORTS
      8 	a
      9 
     10 FILENAMES
     11 	testdata/b.go
     12 
     13 CONSTANTS
     14 	// 
     15 	const (
     16 		C1	notExported	= iota
     17 		C2
     18 	
     19 		C4
     20 		C5
     21 	)
     22 
     23 	// 
     24 	const C notExported = 0
     25 
     26 	// 
     27 	const Pi = 3.14	// Pi
     28 
     29 
     30 VARIABLES
     31 	// 
     32 	var (
     33 		U1, U2, U4, U5	notExported
     34 	
     35 		U7	notExported	= 7
     36 	)
     37 
     38 	// 
     39 	var MaxInt int	// MaxInt
     40 
     41 	// 
     42 	var V notExported
     43 
     44 	// 
     45 	var V1, V2, V4, V5 notExported
     46 
     47 
     48 FUNCTIONS
     49 	// 
     50 	func F(x int) int
     51 
     52 	// 
     53 	func F1() notExported
     54 
     55 	// Always under the package functions list. 
     56 	func NotAFactory() int
     57 
     58 	// Associated with uint type if AllDecls is set. 
     59 	func UintFactory() uint
     60 
     61 
     62 TYPES
     63 	// 
     64 	type T struct{}	// T
     65 
     66 	// 
     67 	var V T	// v
     68 
     69 	// 
     70 	func (x *T) M()
     71 
     72