We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5af313d + f8910a6 commit 9c7aeadCopy full SHA for 9c7aead
docs/labs/create_checker.md
@@ -474,6 +474,12 @@ Regular expressions make it easy to describe many patterns.
474
However, it's sometimes useful to give certain sequences names, or
475
use the same sequence in different circumstances.
476
477
+You can use JavaScript to define values, and even use values to compute
478
+other values. By convention constants are usually in uppercase letters, e.g.,
479
+`FOO = "bar";`. In a template you can use them using `${...}`, for example,
480
+`${FOO}`.
481
+
482
+If you doh't want to use JavaScript's mechanisms, there is an alternative.
483
Checker allows you to define named terms, and then use them in a regular
484
expression.
485
This is done in the `definitions` section, which is a sequence
0 commit comments