最終更新:2022-02-14 (月) 10:01:00 (764d)
Swift/キーワード
https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html
Keywords used in declarations:
- associatedtype?
- class
- deinit?
- enum
- extension?
- fileprivate?
- func
- import
- init
- inout?
- internal
- let
- open
- operator?
- private
- protocol?
- public
- static
- struct
- subscript?
- typealias
- var
Keywords used in statements:
- break
- case?
- continue?
- default
- defer
- do?
- else?
- fallthrough
- for
- guard
- if
- in
- repeat?
- return
- switch?
- where
- while
Keywords used in expressions and types:
Keywords used in patterns:
Keywords that begin with a number sign (#):
- ♯available
- ♯colorLiteral?
- ♯column?
- ♯else?
- ♯elseif?
- ♯endif?
- ♯file?
- ♯fileLiteral?
- ♯function?
- ♯if?
- ♯imageLiteral?
- ♯line?
- ♯selector
- ♯sourceLocation?
Keywords reserved in particular contexts:
- associativity?
- convenience?
- dynamic
- didSet
- final
- get
- infix?
- indirect?
- lazy
- left?
- mutating?
- none?
- nonmutating?
- optional?
- override
- postfix?
- precedence?
- prefix?
- Protocol?
- required
- right?
- set
- Type?
- unowned?
- weak
- willSet?