Lines Matching refs:is

7 `generate_api.py` is employed to combine a single *specification file* with one
23 When the `--dryrun` argument is present, this script shows how it would invoke
37 The "kind" is an arbitrary token that the specification file can reference with
47 Every line of the template file is copied verbatim to the output file *unless*
50 A line that begins with `%%` is a comment, and is ignored.
52 A line that begins with `%` and is not a comment is a *directive*.
59 output file. The section is defined by a `%section` directive in the
64 Similar to `%insert *name*`, but each non-empty copied line is prefixed with
71 A line that begins with `%%` is a comment, and is ignored.
73 A line that begins with `%` and is not a comment is a *directive*.
75 The meaning of a line that is neither a comment nor a directive depends on the
80 The specification file is divided into *regions*, which are sequences of lines
83 Certain regions can enclose certain other regions, but this is very limited:
95 A *null region* is a sequence of lines that is not part of any other region.
104 A *conditional region* is a sequence of lines immediately preceded by the `%kind
107 description of the directive for details). When the condition is **on**, the
110 any). When the condition is **off**, lines in the region other than the `%else`
116 A *section region* is a sequence of lines immediately preceded by the `%section
125 This is the mechanism by which a specification file contributes text to the
132 Defines a macro identified by the token *name*. The *body* is separated from
138 Macro substitution occurs within a section region: a substring `%{*name*}` is
139 replaced with the corresponding *body*. Macro substitution is *not* recursive:
147 The more general form of a macro invocation is `%{*name* *arglist*}`, where
148 *arglist* is a list of whitespace-separated arguments. Within the *body*, a
150 from *arglist*. For example, if the definition is
153 %define test second is %{2}, first is %{1}
162 is expanded to
165 second is beta, first is alpha
168 The only check on the number of arguments supplied at macro invocation time is
181 Similar to `%insert *name*`, but each non-empty added line is prefixed
192 pattern*. Any other pattern is a *simple pattern*. The condition is **on** in
195 * One of the wildcard pattern tokens less the `*` is a prefix of the "kind"
200 In all other cases, the condition is **off**.
202 Within the region, the condition is inverted every time the `%else` directive
211 * Validity-checking. If the "kind" is not on the space-delimited *list* of tokens,
216 Only one such directive is allowed per specification file.