Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Item ¶
type Item struct {
Type ItemType
Name string
Path []string
}
Item identifies an item in a Node.
type ItemType ¶
type ItemType int
ItemType is the type of item.
const (
// ItemTypeSetter is a item that is a setter function.
ItemTypeSetter ItemType = iota
// ItemTypeObject is a item that is an object.
ItemTypeObject
)
type Members ¶
type Members struct {
Fields []string
Functions []string
Types []string
}
Members are the members of an object.
func FindMembers ¶
func FindMembers(obj *astext.Object) (Members, error)
FindMembers finds all the object members.
func (*Members) FindFunction ¶
func (om *Members) FindFunction(name string) (string, error)
Click to show internal directories.
Click to hide internal directories.