NameRefOptions

public struct NameRefOptions: OptionSet

Undocumented

  • Declaration

    Swift

    public let rawValue: RawValue
  • Creates a new NameRefOptions from a raw integer value.

    Declaration

    Swift

    public init(rawValue: RawValue)
  • Include the nested-name-specifier, e.g. Foo:: in x.Foo::y, in the range.

    Declaration

    Swift

    public static let wantQualifier = NameRefOptions(rawValue:
  • Include the explicit template arguments, e.g. in x.f, in the range.

    Declaration

    Swift

    public static let wantTemplateArgs = NameRefOptions(rawValue:
  • If the name is non-contiguous, return the full spanning range. Non-contiguous names occur in Objective-C when a selector with two or more parameters is used, or in C++ when using an operator:

    [object doSomething:here withValue:there]; // Objective-C
    return some_vector[1]; // C++
    

    Declaration

    Swift

    public static let wantSinglePiece = NameRefOptions(rawValue: