golang.org/x/tools/go/ast/inspector.Cursor.Node (method)

12 uses

	golang.org/x/tools/go/ast/inspector (current package)
		cursor.go#L96: func (c Cursor) Node() ast.Node {
		cursor.go#L111: 	return reflect.TypeOf(c.Node()).String()
		cursor.go#L147: 			fmt.Fprintf(&buf, ".(%T)", c.Node())
		cursor.go#L339: 			if child.Node() == n {
		cursor.go#L487: 			if candidate.Node() == n {

	golang.org/x/tools/internal/typesinternal
		assignedaddress.go#L63: 			sel := cur.Parent().Node().(*ast.SelectorExpr)
		assignedaddress.go#L92: 			if !is[*types.Array](info.TypeOf(cur.Node().(ast.Expr)).Underlying()) {
		assignedaddress.go#L101: 		assign := cur.Parent().Node().(*ast.AssignStmt)
		assignedaddress.go#L105: 		id := cur.Node().(*ast.Ident)
		assignedaddress.go#L111: 		rng := cur.Parent().Node().(*ast.RangeStmt)
		assignedaddress.go#L118: 		if cur.Parent().Node().(*ast.UnaryExpr).Op == token.AND {
		types.go#L174: 		n := cur.Node()