File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11# 字句構造 \( Lexical Structure\)
22
3- 最終更新日: 2024/6/11
3+ 最終更新日: 2025/3/29
44原文: https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html
55
66最低水準の構成要素を使用する。
@@ -93,7 +93,7 @@ _識別子_は、大文字または小文字の `A` から `Z`、アンダース
9393
9494次のキーワードは予約されており、前述のようにバッククォート\(\`\) でエスケープしない限り識別子としては使用できません。` inout ` 、` var ` 、` let ` 以外のキーワードは、バッククォートでエスケープすることなく関数宣言、または関数の引数名として使用できます。メンバの名前がキーワードと同じ場合、およびメンバの参照とキーワードの使用の間に曖昧さがある場合を除いて、そのメンバへの参照をバッククォートでエスケープする必要はありません。しかし、例えば ` self ` 、` Type ` 、および ` Protocol ` には明示的メンバ式の中で特別な意味があるため、そのコンテキストではバッククォートによるエスケープが必要です。
9595
96- * 宣言で使用されるキーワード: ` associatedtype ` 、` borrowing ` 、` class ` 、` consuming ` 、` deinit ` 、` enum ` 、` extension ` 、` fileprivate ` 、` func ` 、` import ` 、` init ` 、` inout ` 、` internal ` 、` let ` 、` open ` 、` operator ` 、` private ` 、` protocol ` 、` public ` 、` rethrows ` 、` static ` 、` struct ` 、` subscript ` 、` typealias ` 、および ` var `
96+ * 宣言で使用されるキーワード: ` associatedtype ` 、` borrowing ` 、` class ` 、` consuming ` 、` deinit ` 、` enum ` 、` extension ` 、` fileprivate ` 、` func ` 、` import ` 、` init ` 、` inout ` 、` internal ` 、` let ` 、` nonisolated ` 、 ` open ` 、` operator ` 、` private ` 、` protocol ` 、` public ` 、` rethrows ` 、` static ` 、` struct ` 、` subscript ` 、` typealias ` 、および ` var `
9797* 文で使用されるキーワード: ` break ` 、` case ` 、` continue ` 、` default ` 、` defer ` 、` do ` 、` else ` 、` fallthrough ` 、` for ` 、` guard ` 、` if ` 、` in ` 、` repeat ` 、` return ` 、` switch ` 、` where ` 、` while `
9898* 式と型で使用されるキーワード: ` Any ` 、` as ` 、` await ` 、` catch ` 、` false ` 、` is ` 、` nil ` 、` super ` 、` self ` 、` Self ` 、` throw ` 、` throws ` 、` true ` 、および ` try `
9999* パターンで使用されるキーワード: ` _ `
You can’t perform that action at this time.
0 commit comments