Documentation ¶
Index ¶
- Constants
- type GoItem
- type GoMember
- func (gm GoMember) GetName() string
- func (gm GoMember) GetType() MemberType
- func (gm GoMember) HasPointerPrefix() bool
- func (gm GoMember) IsPublic() bool
- func (gm GoMember) SetName(name string) IMember
- func (gm GoMember) SetPointerPrefix(ptr bool) IMember
- func (gm GoMember) SetType(mtype MemberType) IMember
- type GoMembers
- func (gms GoMembers) Add(memb IMember) (IMembers, error)
- func (gms GoMembers) Clear(name string) (IMembers, error)
- func (gms GoMembers) GetAllPointers() map[string]IMember
- func (gms GoMembers) GetAllReferences() map[string]IMember
- func (gms GoMembers) GetMember(name string) (IMember, error)
- func (gms GoMembers) GetType() MemberType
- func (gms GoMembers) SetType(mtype MemberType) IMembers
- func (gms GoMembers) Update(memb IMember) (IMembers, error)
- type IMember
- type IMembers
- type MemberType
Constants ¶
View Source
const ( // for errors and the like Mt_DisplayName_Function = "Function" Mt_DisplayName_Variable = "Variable" Mt_DisplayName_Constant = "Constant" Mt_DisplayName_Structure = "Structure" Mt_DisplayName_Interface = "Interface" // for the enum Mt_DisplayName_Functions = "Functions" Mt_DisplayName_Variables = "Variables" Mt_DisplayName_Constants = "Constants" Mt_DisplayName_Structures = "Structures" Mt_DisplayName_Interfaces = "Interfaces" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoItem ¶
type GoItem struct { Name string Members map[MemberType]IMembers }
type GoMember ¶
type GoMember struct { IMember // contains filtered or unexported fields }
func NewGoMember ¶
func NewGoMember(name string, t MemberType) GoMember
func NewGoPtrMember ¶
func NewGoPtrMember(name string, t MemberType) GoMember
func (GoMember) GetType ¶
func (gm GoMember) GetType() MemberType
func (GoMember) HasPointerPrefix ¶
func (GoMember) SetPointerPrefix ¶
func (GoMember) SetType ¶
func (gm GoMember) SetType(mtype MemberType) IMember
type GoMembers ¶
type GoMembers struct { IMembers // contains filtered or unexported fields }
func (GoMembers) GetAllPointers ¶
func (GoMembers) GetAllReferences ¶
func (GoMembers) GetType ¶
func (gms GoMembers) GetType() MemberType
func (GoMembers) SetType ¶
func (gms GoMembers) SetType(mtype MemberType) IMembers
type IMember ¶
type IMember interface { IsPublic() bool HasPointerPrefix() bool SetPointerPrefix(bool) IMember GetName() string SetName(string) IMember GetType() MemberType SetType(MemberType) IMember }
type IMembers ¶
type IMembers interface { GetType() MemberType SetType(MemberType) IMembers Add(IMember) (IMembers, error) Update(IMember) (IMembers, error) Clear(string) (IMembers, error) GetMember(string) (IMember, error) GetAllPointers() map[string]IMember GetAllReferences() map[string]IMember }
func NewGoMembers ¶
func NewGoMembers(mt MemberType) IMembers
type MemberType ¶
type MemberType int
const ( Mt_Functions MemberType = 0 Mt_Variables MemberType = 1 Mt_Constants MemberType = 2 Mt_Structures MemberType = 3 Mt_Interfaces MemberType = 4 )
func (MemberType) String ¶
func (mt MemberType) String() string
Click to show internal directories.
Click to hide internal directories.