Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeclInfo ¶
type DeclInfo struct {
FuncDecl *syntax.FuncDecl
VarDecl *syntax.VarDecl
ConstDecl *syntax.ConstDecl
// is this var decl follow a const __xgo_trap_xxx = 1?
FollowingTrapConst bool
Kind DeclKind
Name string
RecvTypeName string
RecvPtr bool
Generic bool
Closure bool
Stdlib bool
// this is an interface type declare
// only the RecvTypeName is valid
Interface bool
// arg names
RecvName string
ArgNames []string
ResNames []string
FirstArgCtx bool
LastResError bool
FileSyntax *syntax.File
FileIndex int
// this is file name after applied -trimpath
File string
Line int
}
func (*DeclInfo) GenericName ¶
func (*DeclInfo) IdentityName ¶
Click to show internal directories.
Click to hide internal directories.