|
@@ -48,7 +48,7 @@ type Descriptor interface {
|
|
|
// Support for this functionality is optional and may return nil.
|
|
// Support for this functionality is optional and may return nil.
|
|
|
Parent() Descriptor
|
|
Parent() Descriptor
|
|
|
|
|
|
|
|
- // Index returns the the index of this descriptor within its parent.
|
|
|
|
|
|
|
+ // Index returns the index of this descriptor within its parent.
|
|
|
// It returns 0 if the descriptor does not have a parent or if the parent
|
|
// It returns 0 if the descriptor does not have a parent or if the parent
|
|
|
// is unknown.
|
|
// is unknown.
|
|
|
Index() int
|
|
Index() int
|