mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This allows us to model the `ResolvedCursorInfo` types as a proper type hierarchy instead of having to store all values in the base `ResolvedCursorInfo` type. rdar://102853071
32 lines
1.4 KiB
C++
32 lines
1.4 KiB
C++
//===-------- IDERequestIDZone.def ------------------------------*- C++ -*-===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
|
|
// Licensed under Apache License v2.0 with Runtime Library Exception
|
|
//
|
|
// See https://swift.org/LICENSE.txt for license information
|
|
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This definition file describes the types in the IDE requests
|
|
// TypeID zone, for use with the TypeID template.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
SWIFT_REQUEST(IDE, CollectOverriddenDeclsRequest,
|
|
ArrayRef<ValueDecl *>(OverridenDeclsOwner), Cached,
|
|
NoLocationInfo)
|
|
SWIFT_REQUEST(IDE, CursorInfoRequest,
|
|
ide::ResolvedCursorInfoPtr(CursorInfoOwner),
|
|
Cached, NoLocationInfo)
|
|
SWIFT_REQUEST(IDE, ProvideDefaultImplForRequest,
|
|
ArrayRef<ValueDecl *>(ValueDecl *), Cached,
|
|
NoLocationInfo)
|
|
SWIFT_REQUEST(IDE, RangeInfoRequest, ide::ResolvedRangeInfo(RangeInfoOwner),
|
|
Cached, NoLocationInfo)
|
|
SWIFT_REQUEST(IDE, ResolveProtocolNameRequest,
|
|
ProtocolDecl *(ProtocolNameOwner), Cached,
|
|
NoLocationInfo)
|