Keywords
● Intermediate2 minSpec 1.6
Every keyword of Kavach, and the words that are keywords in one place only.
Spec 1.6 · learn it in Keywords.
agentandarenaasassertbreakcapabilitycatchconstcontinuedeprecatedelseensureexampleextendexternfailfalsefnforifininterfaceinvariantletmatchnonenotorpubrequirereturnsecretselfspawntesttruetrytypeunsafeuseusesvarwhilewithA keyword can't be a name. These are keywords only where the table says, and ordinary names everywhere else:
Contextual keywords are keywords only in one place, and ordinary names everywhere else:
| Word | Keyword only in |
|---|---|
result | ensure and example clauses: the return value (7.2) |
fails | example clauses: the expected error (7.6) |
fix | deprecated declarations: the replacement call (12.6) |
context | After a try expression: text added to a passed-on error (5.7) |
can, limit, approve, model, on | At the start of a line inside an agent body (8.3) |
when, by | Inside an approve rule (8.3) |
per | Inside a limit rule: the time window (8.3) |
inout | Before a parameter's name: the function changes the caller's variable (3.9) |