Mockingbird Documentation 0.15.0

Enumeration Swift​Symbol​Parse​Error

public enum SwiftSymbolParseError

A type for representing the different possible failure conditions when using ScalarScanner

%3 SwiftSymbolParseError SwiftSymbolParseError Error Error SwiftSymbolParseError->Error

Conforms To

Error

Enumeration Cases

utf8Parse​Error

case utf8ParseError

Attempted to convert the buffer to UnicodeScalars but the buffer contained invalid data

unexpected

case unexpected(at: Int)

The scalar at the specified index doesn't match the expected grammar

match​Failed

case matchFailed(wanted: String, at: Int)

Expected wanted at offset at

expected​Int

case expectedInt(at: Int)

Expected numerals at offset at

ended​Prematurely

case endedPrematurely(count: Int, at: Int)

Attempted to read count scalars from position at but hit the end of the sequence

search​Failed

case searchFailed(wanted: String, after: Int)

Unable to find search patter wanted at or after after in the sequence

integer​Overflow

case integerOverflow(at: Int)