Statements & Constructs Reference
This page lists statement-level and contract-level features the cx3script compiler accepts for @target(CX3JS), with minimal examples.
Verification: npm run docs:verify-snippets runs scripts/verify-doc-snippets.js, which compiles built-in inline snippets (including loop-control forms). The script must exit 0. When you extend grammar coverage, update both this page and scripts/verify-doc-snippets.js.
Parser rejects: