-
The list of demangled strings, in order of appearance (a.k.a. the string lookup table).
Declaration
Swift
private var strings: [Substring] -
The list of demangled symbols, in order of appearance (a.k.a. the symbol lookup table).
Declaration
Swift
private var symbols: [DemangledSymbol] -
Creates an instance with an empty lookup table.
Declaration
Swift
init() -
Demangles a symbol from
stream.Declaration
Swift
mutating func demangle(from stream: inout Substring) -> DemangledSymbol? -
Demangles an entity of type
Tfromstream.Declaration
Swift
private mutating func demangleEntity<T: Node>( _: T.Type, from stream: inout Substring ) -> DemangledEntity? -
Demangles a type from
stream.Declaration
Swift
private mutating func demangleType(from stream: inout Substring) -> DemangledType? -
Demangles an entity declaration of type
Tfromstream.Declaration
Swift
private mutating func take<T: Node>( _: T.Type, qualifiedBy qualification: DemangledQualification?, from stream: inout Substring ) -> DemangledSymbol? -
Demangles an conformance declaration from
stream.Declaration
Swift
private mutating func take<T: TypeExtendingDecl>( _: T.Type, qualifiedBy qualification: DemangledQualification?, from stream: inout Substring ) -> DemangledSymbol? -
Demangles an anonymous scope from
stream.Declaration
Swift
private mutating func takeAnonymousScope( qualifiedBy qualification: DemangledQualification?, from stream: inout Substring ) -> DemangledSymbol? -
Demangles a binding declaration from
stream.Declaration
Swift
private mutating func takeBindingDecl( qualifiedBy qualification: DemangledQualification?, from stream: inout Substring ) -> DemangledSymbol? -
Demangles a function from
stream.Declaration
Swift
private mutating func takeFunctionDecl( qualifiedBy qualification: DemangledQualification?, from stream: inout Substring ) -> DemangledSymbol? -
Demangles a synthesized function from
stream.Declaration
Swift
private mutating func takeSynthesizedFunctionDecl( from stream: inout Substring ) -> DemangledSymbol? -
Demangles the kind of a synthesized function from
stream.Declaration
Swift
private mutating func takeSynthesizedFunctionDeclKind( from stream: inout Substring ) -> DemangledSynthesizedFunction.Kind? -
Demangles the kind of a synthesized global initializer from
stream.Declaration
Swift
private mutating func takeSynthesizedGlobalInitializationKind( from stream: inout Substring ) -> DemangledSynthesizedFunction.Kind? -
Demangles the kind of a synthesized autoclosure from
stream.Declaration
Swift
private func takeSynthesizedAutoclosureKind( from stream: inout Substring ) -> DemangledSynthesizedFunction.Kind? -
Demangles a monomorphized function from
stream.Declaration
Swift
private mutating func takeMonomorphizedFunctionDecl( from stream: inout Substring ) -> DemangledSymbol? -
Demangles a memberwise initializer from
stream.Declaration
Swift
private func takeMemberwiseInitializerDecl( qualifiedBy qualification: DemangledQualification?, from stream: inout Substring ) -> DemangledSymbol? -
Demangles a module from
stream.Declaration
Swift
private mutating func takeModuleDecl(from stream: inout Substring) -> DemangledSymbol? -
Demangles a property declaration from
stream.Declaration
Swift
private mutating func takePropertyDecl( qualifiedBy qualification: DemangledQualification?, from stream: inout Substring ) -> DemangledSymbol? -
Demangles a property declaration from
stream.Declaration
Swift
private mutating func takeSubscriptDecl( qualifiedBy qualification: DemangledQualification?, from stream: inout Substring ) -> DemangledSymbol? -
Demangles a property declaration from
stream.Declaration
Swift
private mutating func takeSubscriptImpl( qualifiedBy qualification: DemangledQualification?, from stream: inout Substring ) -> DemangledSymbol? -
Demangles a direct declaration reference from
stream.Declaration
Swift
private mutating func takeDirectDeclReference(from stream: inout Substring) -> DemangledSymbol? -
Demangles a reference to a symbol from
stream.Declaration
Swift
private mutating func takeLookup(from stream: inout Substring) -> DemangledSymbol? -
Demangles a reserved symbol from
stream.Declaration
Swift
private mutating func takeReserved(from stream: inout Substring) -> DemangledSymbol? -
Demangles an associated type from
stream.Declaration
Swift
private mutating func takeAssociatedType(from stream: inout Substring) -> DemangledSymbol? -
Demangles a bound generic type from
stream.Declaration
Swift
private mutating func takeBoundGenericType(from stream: inout Substring) -> DemangledSymbol? -
Demangles a list of generic arguments from
stream.Declaration
Swift
private mutating func takeGenericArguments(from stream: inout Substring) -> [DemangledSymbol]? -
Demangles a buffer type from
stream.Declaration
Swift
private mutating func takeBufferType(from stream: inout Substring) -> DemangledSymbol? -
Demangles a built-in integer type from
stream.Declaration
Swift
private mutating func takeBuiltinIntegerType(from stream: inout Substring) -> DemangledSymbol? -
Demangles a built-in float type from
stream.Declaration
Swift
private mutating func takeBuiltinFloatType(from stream: inout Substring) -> DemangledSymbol? -
Demangles an existential generic type from
stream.Declaration
Swift
private mutating func takeExistentialGenericType( from stream: inout Substring ) -> DemangledSymbol? -
Demangles an existential generic type from
stream.Declaration
Swift
private mutating func takeExistentialTraitType( from stream: inout Substring ) -> DemangledSymbol? -
Demangles an arrow type from
stream.Declaration
Swift
private mutating func takeArrowType(from stream: inout Substring) -> DemangledSymbol? -
Demangles a nominal type declared as an entity of type
Tfromstream.Declaration
Swift
private mutating func takeNominalType<T: SingleEntityDecl>( declaredBy _: T.Type, from stream: inout Substring ) -> DemangledSymbol? -
Demangles a metatype from
stream.Declaration
Swift
private mutating func takeMetatypeType(from stream: inout Substring) -> DemangledSymbol? -
Demangles a parameter type from
stream.Declaration
Swift
private mutating func takeParameterType(from stream: inout Substring) -> DemangledSymbol? -
Demangles a remote type from
stream.Declaration
Swift
private mutating func takeRemoteType(from stream: inout Substring) -> DemangledSymbol? -
Demangles a subscript type from
stream.Declaration
Swift
private mutating func takeSubscriptType(from stream: inout Substring) -> DemangledSymbol? -
Demangles a tuple type from
stream.Declaration
Swift
private mutating func takeTupleType(from stream: inout Substring) -> DemangledSymbol? -
Demangles a union type from
stream.Declaration
Swift
private mutating func takeUnionType(from stream: inout Substring) -> DemangledSymbol? -
Demangles a list of parameters or tuple elements from
stream.Declaration
Swift
private mutating func takeParameters( from stream: inout Substring ) -> [DemangledType.Parameter]? -
Demangles a parameter or tuple element from
stream.Declaration
Swift
private mutating func takeParameter(from stream: inout Substring) -> DemangledType.Parameter? -
If
streamstarts with a mangling operator, consumes and returns it; returnsnilwithout mutatingstreamotherwise.Declaration
Swift
private func takeOperator(from stream: inout Substring) -> ManglingOperator? -
Assuming
streamstarts with a mangled name, consumes and returns it. Returnsniliff data seems corruptedDeclaration
Swift
private mutating func takeName(from stream: inout Substring) -> Name? -
Assuming
streamstarts with a mangled string, consumes and returns it. Returnsniliff the data seems corruptedDeclaration
Swift
private mutating func takeString(from stream: inout Substring) -> Substring? -
Assuming
streamstarts with a mangled integer, consumes and returns it; returnsnilotherwise.Declaration
Swift
private func takeInteger(from stream: inout Substring) -> Base64VarUInt? -
Assuming
streamstarts with a base 64 digit, consumes and returns it. Returnsniliff data seems corruptedDeclaration
Swift
private func takeBase64Digit(from stream: inout Substring) -> Base64Digit? -
Assuming
streamstarts with a mangledT, consumes and returns it. Returnsniliff data seems corruptedDeclaration
Swift
private func take<T: RawRepresentable>( _: T.Type, from stream: inout Substring ) -> T? where T.RawValue == UInt8 -
Demangles a list of
Ts fromstream, callingtakeItemto parse each individual element.Declaration
Swift
private mutating func takeItems<T>( from stream: inout Substring, takingEachWith takeItem: (inout Self, inout Substring) -> T? ) -> [T]?
View on GitHub