SwiftCompilerPluginMessageHandling
import SwiftCompilerPluginMessageHandling
Module information
- Declarations
- 136
- Symbols
- 154
import SwiftCompilerPluginMessageHandling
protocol MessageConnection
Low level message connection to the plugin host. This encapsulates the connection and the message serialization.
protocol PluginProvider
A type that provides the actual plugin functions.
class CompilerPluginMessageHandler<Provider> where Provider : PluginProvider
‘CompilerPluginMessageHandler’ is a type that handle a message and do the corresponding operation.
class CompilerPluginMessageListener<Connection, Provider> where Connection : MessageConnection, Provider : PluginProvider
‘CompilerPluginMessageListener’ is a type that listens to the message connection, delegate them to the message handler, then send back the response.
enum HostToPluginMessage
enum JSON
class LRUCache<Key, Value> where Key : Hashable
Simple LRU cache.
enum PluginFeature
Optional features.
enum PluginMessage
enum PluginToHostMessage
struct StandardIOMessageConnection
Concrete ‘MessageConnection’ type using Standard I/O.
import SwiftBasicFormat
import SwiftCompilerPlugin
import SwiftDiagnostics
import SwiftIDEUtils
import SwiftLibraryPluginProvider
import SwiftOperators
An 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 SwiftParser
A parser for the Swift programming language.
import SwiftParserDiagnostics
import SwiftRefactor
import SwiftSyntax
A library for working with Swift code.
import SwiftSyntax509
import SwiftSyntax510
import SwiftSyntax600
import SwiftSyntaxBuilder
SwiftSyntaxBuilder is a tool for generating Swift code in a convenient way using result builders.
import SwiftSyntaxMacroExpansion
import SwiftSyntaxMacros
import SwiftSyntaxMacrosGenericTestSupport
import SwiftSyntaxMacrosTestSupport
import _SwiftLibraryPluginProviderCShims
import _SwiftSyntaxCShims
import _SwiftSyntaxGenericTestSupport