SwiftCompilerPluginMessageHandling
import SwiftCompilerPluginMessageHandlingModule information
- Declarations
- 141
- Symbols
- 159
import SwiftCompilerPluginMessageHandlingprotocol MessageConnectionLow level message connection to the plugin host. This encapsulates the connection and the message serialization.
protocol PluginMessageHandlerA type that handles a plugin message and returns a response.
protocol PluginProviderA type that provides the actual plugin functions.
class CompilerPluginMessageListener<Connection, Handler> where Connection : MessageConnection, Handler : PluginMessageHandler‘CompilerPluginMessageListener’ is a type that listens to the message connection, delegate them to the message handler, then send back the response.
enum HostToPluginMessageenum JSONclass LRUCache<Key, Value> where Key : HashableSimple LRU cache.
enum PluginFeatureOptional features.
enum PluginMessageclass PluginProviderMessageHandler<Provider> where Provider : PluginProviderA PluginMessageHandler that uses a PluginProvider.
enum PluginToHostMessagestruct StandardIOMessageConnectionConcrete ‘MessageConnection’ type using Standard I/O.
typealias CompilerPluginMessageHandler<Provider> = PluginProviderMessageHandler<Provider> where Provider : PluginProviderimport SwiftBasicFormatimport SwiftCompilerPluginimport SwiftDiagnosticsimport SwiftIDEUtilsimport SwiftIfConfigimport SwiftLexicalLookupimport SwiftLibraryPluginProviderimport SwiftOperatorsAn implementation of Swift’s user-defined operator declarations and precedence groups, allowing a program to reason about the relative precedence of infix operations and transform syntax trees to describe the order of operations.
import SwiftParserA parser for the Swift programming language.
import SwiftParserDiagnosticsimport SwiftRefactorimport SwiftSyntaxA library for working with Swift code.
import SwiftSyntax509import SwiftSyntax510import SwiftSyntax600import SwiftSyntax601import SwiftSyntaxBuilderSwiftSyntaxBuilder is a tool for generating Swift code in a convenient way using result builders.
import SwiftSyntaxMacroExpansionimport SwiftSyntaxMacrosimport SwiftSyntaxMacrosGenericTestSupportimport SwiftSyntaxMacrosTestSupportimport _SwiftLibraryPluginProviderCShimsimport _SwiftSyntaxCShimsimport _SwiftSyntaxGenericTestSupport