Created
January 4, 2016 20:25
-
-
Save aciidgh/ea9107ece5d02a16ea18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
─aciid@AciidHome ~/mycode/swift.org/swift/stdlib/public ‹master› | |
╰─$ grep -r ".None" . | |
./common/MirrorBoilerplate.gyb:% genericArgs if 'genericArgs' in locals() else None, | |
./common/MirrorBoilerplate.gyb:% genericConstraints if 'genericConstraints' in locals() else None) | |
./common/MirrorBoilerplate.gyb:% disposition if 'disposition' in locals() else None) | |
./common/MirrorBoilerplate.gyb:var objectIdentifier: ObjectIdentifier? { return .None } | |
./common/MirrorCommon.py:def getDisposition(disp=None): | |
./common/MirrorCommon.py: if disp is None: | |
./common/MirrorCommon.py:def _getGenericArgStrings(genericArgs=None, genericConstraints=None): | |
./common/MirrorCommon.py: if genericArgs is None: | |
./common/MirrorCommon.py: if genericConstraints is None: | |
./common/MirrorCommon.py:def getGenericArgString(genericArgs=None, genericConstraints=None): | |
./common/MirrorCommon.py:def getGenericConstraintString(genericArgs=None, genericConstraints=None): | |
./common/MirrorDecl.gyb:% genericArgs if 'genericArgs' in locals() else None,\ | |
./common/MirrorDecl.gyb:% genericConstraints if 'genericConstraints' in locals() else None) | |
./core/ImplicitlyUnwrappedOptional.swift: case None | |
./core/ImplicitlyUnwrappedOptional.swift: public init() { self = .None } | |
./core/ImplicitlyUnwrappedOptional.swift: case .None: | |
./core/ImplicitlyUnwrappedOptional.swift: self = .None | |
./core/ImplicitlyUnwrappedOptional.swift: self = .None | |
./core/ImplicitlyUnwrappedOptional.swift: case .None: | |
./core/ImplicitlyUnwrappedOptional.swift: return .None | |
./core/ImplicitlyUnwrappedOptional.swift: case .None: | |
./core/ImplicitlyUnwrappedOptional.swift: return .None | |
./core/ImplicitlyUnwrappedOptional.swift: return _OptionalMirror<Wrapped>(.None) | |
./core/ImplicitlyUnwrappedOptional.swift: case .None: | |
./core/ImplicitlyUnwrappedOptional.swift: case .None: | |
./core/ImplicitlyUnwrappedOptional.swift: return .None | |
./core/ImplicitlyUnwrappedOptional.swift: case .None: | |
./core/Optional.swift:// that it is an enum with cases named 'None' and 'Some'. | |
./core/Optional.swift: case None | |
./core/Optional.swift: public init() { self = .None } | |
./core/Optional.swift: case .None: | |
./core/Optional.swift: return .None | |
./core/Optional.swift: case .None: | |
./core/Optional.swift: return .None | |
./core/Optional.swift: self = .None | |
./core/Optional.swift: case .None: | |
./core/Optional.swift: case .None: | |
./core/Optional.swift: return .None | |
./core/Optional.swift: case .None: | |
./core/Optional.swift: case .None: | |
./core/Optional.swift: case .None: | |
./core/Optional.swift: case .None: | |
./core/Optional.swift: case .None: | |
./core/Optional.swift: var objectIdentifier: ObjectIdentifier? { return .None } | |
./core/Optional.swift: var quickLookObject: PlaygroundQuickLook? { return .None } | |
./core/Optional.swift: case .None: | |
./core/Optional.swift: case .None: | |
./runtime/Casting.cpp: // None of the rest of these require deallocation. | |
./runtime/Casting.cpp: // Allow Optional<T>.None -> Optional<U>.None | |
./runtime/Casting.cpp: // Inject the .None tag | |
./runtime/Metadata.cpp: case SpecialProtocol::None: | |
./runtime/Metadata.cpp: case SpecialProtocol::None: | |
./runtime/Metadata.cpp: auto special = SpecialProtocol::None; | |
./runtime/Reflection.mm: bool isNone; | |
./runtime/Reflection.mm: result.optional.isNone = false; | |
./runtime/Reflection.mm: result.optional.isNone = false; | |
./runtime/Reflection.mm: result.optional.isNone = false; | |
./runtime/Reflection.mm: result.optional.isNone = false; | |
./runtime/Reflection.mm: result.optional.isNone = false; | |
./runtime/Reflection.mm: result.optional.isNone = false; | |
./runtime/Reflection.mm: result.optional.isNone = true; | |
./SDK/AppKit/AppKit.swift: var objectIdentifier: ObjectIdentifier? { return .None } | |
./SDK/AppKit/AppKit.swift: var objectIdentifier: ObjectIdentifier? { return .None } | |
./SDK/Foundation/Foundation.swift: if count == 0 { return .None } | |
./SDK/Foundation/Foundation.swift: if count == 0 { return .None } | |
./SDK/Foundation/Foundation.swift: case .None: | |
./SDK/Foundation/Foundation.swift: return .None | |
./SDK/Foundation/FoundationMirrors.swift.gyb:def getMirrorConformance(Self,Disp = None): | |
./SDK/Foundation/FoundationMirrors.swift.gyb:def getMirrorBoilerplate(Self,Disp = None): | |
./SDK/Foundation/FoundationMirrors.swift.gyb:def getMirrorDecl(Self,Disp = None): | |
./SDK/Foundation/FoundationMirrors.swift.gyb: var objectIdentifier: ObjectIdentifier? { return .None } | |
./SDK/Foundation/NSStringAPI.swift: return .None | |
./SDK/UIKit/UIKit.swift: var objectIdentifier: ObjectIdentifier? { return .None } | |
./SDK/XCTest/XCTest.swift: // test both Optional and value to treat .None and nil as synonymous | |
./SDK/XCTest/XCTest.swift: // test both Optional and value to treat .None and nil as synonymous |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment