- Лексическая структура →Source spellings, reserved and contextual words, comments, line breaks and diagnostic positions.
- Литералы и шаблоны →Literal spellings, values, string interpolation, and tagged templates.
- Типы →Defines type forms, compatibility, and shared inference rules.
- Связывания и область действия →Defines how names are introduced, resolved, and reassigned.
- Выражения и операторы →Defines expression formation, grouping, and operator behavior.
- Функции и обобщения →Functions relate parameter types, a body, and a result type. A named function can declare type parameters and require protocol bounds.
- Записи, перечисления и новые типы →Declare data types, construct their values, and check record updates and generic construction.
- Протоколы и реализации →Declare protocol requirements, provide implementations, and understand conformance, receiver methods, and resource bindings.
- Сопоставление с образцом →Defines patterns, matching, and accepted matches.
- Коллекции и включения →Choose collection construction forms and check the rules for literals, array spread, and comprehensions.
- Блоки и поток управления →Blocks group execution and produce final values. Conditional branches, loops, explicit transfers, and deferred actions determine which code runs next.
- Ошибки и распространение →Read and check Result propagation and callable-local Result or Option propagation with postfix
?. - Модули и видимость →Use this page to split a source program into files and choose which declarations other files can access.
- Конкурентность →Write and check concurrent expressions with this reference. The examples cover result fields, duration spellings, and rejected forms.
- Вывод производного Show →Use derived Show to inspect record values. The output includes the record name, declared fields, and rendered field values.