type golang.org/x/tools/go/ast/inspector.Cursor

70 uses

	golang.org/x/tools/go/ast/inspector (current package)
		cursor.go#L39: type Cursor struct {
		cursor.go#L48: func (in *Inspector) Root() Cursor {
		cursor.go#L49: 	return Cursor{in, -1}
		cursor.go#L55: func (in *Inspector) At(index int32) Cursor {
		cursor.go#L65: 	return Cursor{in, index}
		cursor.go#L72: func (c Cursor) Valid() bool {
		cursor.go#L78: func (c Cursor) Inspector() *Inspector { return c.in }
		cursor.go#L87: func (c Cursor) Index() int32 {
		cursor.go#L96: func (c Cursor) Node() ast.Node {
		cursor.go#L104: func (c Cursor) String() string {
		cursor.go#L116: func (c Cursor) GoString() string {
		cursor.go#L131: 	var visit func(Cursor)
		cursor.go#L132: 	visit = func(c Cursor) {
		cursor.go#L155: func (c Cursor) indices() (int32, int32) {
		cursor.go#L176: func (c Cursor) Preorder(types ...ast.Node) iter.Seq[Cursor] {
		cursor.go#L179: 	return func(yield func(Cursor) bool) {
		cursor.go#L185: 				if ev.typ&mask != 0 && !yield(Cursor{c.in, i}) {
		cursor.go#L213: func (c Cursor) Inspect(types []ast.Node, f func(c Cursor) (descend bool)) {
		cursor.go#L221: 			if ev.typ&mask != 0 && !f(Cursor{c.in, i}) ||
		cursor.go#L242: func (c Cursor) Enclosing(types ...ast.Node) iter.Seq[Cursor] {
		cursor.go#L249: 	return func(yield func(Cursor) bool) {
		cursor.go#L252: 			if events[i].typ&mask != 0 && !yield(Cursor{c.in, i}) {
		cursor.go#L262: func (c Cursor) Parent() Cursor {
		cursor.go#L267: 	return Cursor{c.in, c.in.events[c.index].parent}
		cursor.go#L280: func (c Cursor) ParentEdge() (edge.Kind, int) {
		cursor.go#L290: func (c Cursor) ParentEdgeKind() edge.Kind {
		cursor.go#L296: func (c Cursor) ParentEdgeIndex() int {
		cursor.go#L309: func (c Cursor) ChildAt(k edge.Kind, idx int) Cursor {
		cursor.go#L321: 			return Cursor{c.in, i}
		cursor.go#L331: func (c Cursor) Child(n ast.Node) Cursor {
		cursor.go#L349: 				return Cursor{c.in, i}
		cursor.go#L364: func (c Cursor) NextSibling() (Cursor, bool) {
		cursor.go#L373: 			return Cursor{c.in, i}, true
		cursor.go#L376: 	return Cursor{}, false
		cursor.go#L387: func (c Cursor) PrevSibling() (Cursor, bool) {
		cursor.go#L396: 			return Cursor{c.in, j}, true
		cursor.go#L399: 	return Cursor{}, false
		cursor.go#L404: func (c Cursor) FirstChild() (Cursor, bool) {
		cursor.go#L408: 		return Cursor{c.in, i}, true
		cursor.go#L410: 	return Cursor{}, false
		cursor.go#L415: func (c Cursor) LastChild() (Cursor, bool) {
		cursor.go#L420: 			return Cursor{c.in, events[len(events)-1].index}, true
		cursor.go#L427: 			return Cursor{c.in, events[j].index}, true
		cursor.go#L430: 	return Cursor{}, false
		cursor.go#L458: func (c Cursor) Children() iter.Seq[Cursor] {
		cursor.go#L459: 	return func(yield func(Cursor) bool) {
		cursor.go#L471: func (c Cursor) Contains(c2 Cursor) bool {
		cursor.go#L481: func (c Cursor) FindNode(n ast.Node) (Cursor, bool) {
		cursor.go#L491: 		return Cursor{}, false
		cursor.go#L505: 				return Cursor{c.in, i}, true
		cursor.go#L514: 	return Cursor{}, false
		cursor.go#L529: func (c Cursor) FindByPos(start, end token.Pos) (Cursor, bool) {
		cursor.go#L589: 		return Cursor{c.in, best}, true
		cursor.go#L591: 	return Cursor{}, false

	golang.org/x/tools/internal/typesinternal
		assignedaddress.go#L48: func IsAssignedOrAddressTaken(info *types.Info, cur inspector.Cursor) bool {
		types.go#L172: func EnclosingScope(info *types.Info, cur inspector.Cursor) *types.Scope {