Skip to content
Kavachकवच

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.

agentandarenaasassertbreakcapabilitycatchconstcontinuedeprecatedelseensureexampleextendexternfailfalsefnforifininterfaceinvariantletmatchnonenotorpubrequirereturnsecretselfspawntesttruetrytypeunsafeuseusesvarwhilewith

A 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:

WordKeyword only in
resultensure and example clauses: the return value (7.2)
failsexample clauses: the expected error (7.6)
fixdeprecated declarations: the replacement call (12.6)
contextAfter a try expression: text added to a passed-on error (5.7)
can, limit, approve, model, onAt the start of a line inside an agent body (8.3)
when, byInside an approve rule (8.3)
perInside a limit rule: the time window (8.3)
inoutBefore a parameter's name: the function changes the caller's variable (3.9)
spec 1.6 · keywords