布尔字面量
语法
布尔字面量由固定关键字构成,例如:
truefalse
语义
布尔字面量的类型为 bool,用于:
- 条件判断
- 模式匹配中的字面量模式
- 逻辑运算
这里集中展示 CHIBA level-1 specification,覆盖 core language、control flow、memory、patterns、IR lowering 与 package system 等实现边界。
The docs surface keeps CHIBA level-1 specification pages browsable inside the site, with direct paths into language, control flow, memory, pattern, and lowering rules.
布尔字面量由固定关键字构成,例如:
truefalse布尔字面量的类型为 bool,用于: