@@ -188,6 +188,9 @@ and different implementations MAY choose to perform different levels of resoluti
188
188
_Expressions_ are used in _declarations_ and _patterns_.
189
189
_Markup_ is only used in _patterns_.
190
190
191
+ #### Expression Resolution
192
+
193
+ **_<dfn>Expression resolution</dfn>_** determines the value of an _expression_.
191
194
Depending on the presence or absence of a _variable_ or _literal_ operand and a _function_,
192
195
the _resolved value_ of the _expression_ is determined as follows:
193
196
@@ -229,9 +232,9 @@ Its _resolved value_ is defined by _literal resolution_.
229
232
> {{You have {42 :number}}}
230
233
> ```
231
234
232
- #### Literal Resolution
235
+ ##### Literal Resolution
233
236
234
- The _resolved value_ of a _text_ or a _literal_ contains
237
+ **_<dfn>Literal resolution</dfn>_** : The _resolved value_ of a _text_ or a _literal_ contains
235
238
the character sequence of the _text_ or _literal_
236
239
after any character escape has been converted to the escaped character.
237
240
@@ -259,9 +262,9 @@ whether its value was originally a _quoted literal_ or an _unquoted literal_.
259
262
> }
260
263
> ```
261
264
262
- #### Variable Resolution
265
+ ##### Variable Resolution
263
266
264
- To resolve the value of a _variable_,
267
+ **_<dfn>Variable resolution</dfn>_** : To resolve the value of a _variable_,
265
268
its _name_ is used to identify either a local variable or an input variable.
266
269
If a _declaration_ exists for the _variable_, its _resolved value_ is used.
267
270
Otherwise, the _variable_ is an implicit reference to an input value,
@@ -277,9 +280,9 @@ a _fallback value_ is used as the _resolved value_ of the _variable_.
277
280
The _fallback value_ representation of a _variable_ has a string representation
278
281
consisting of the U+0024 DOLLAR SIGN `$` followed by the _name_ of the _variable_.
279
282
280
- #### Function Resolution
283
+ ##### Function Resolution
281
284
282
- To resolve an _expression_ with a _function_,
285
+ **_<dfn>Function resolution</dfn>_** : To resolve an _expression_ with a _function_,
283
286
the following steps are taken:
284
287
285
288
1. If the _expression_ includes an _operand_, resolve its value.
@@ -338,7 +341,7 @@ the following steps are taken:
338
341
339
342
In all failure cases, return a _fallback value_ as the _resolved value_ of the _expression_.
340
343
341
- ##### Function Handler
344
+ ###### Function Handler
342
345
343
346
A **_<dfn>function handler</dfn>_** is an implementation-defined process
344
347
such as a function or method
@@ -370,7 +373,7 @@ and execution time SHOULD be limited.
370
373
371
374
Implementation-defined _functions_ SHOULD use an implementation-defined _namespace_.
372
375
373
- ##### Option Resolution
376
+ ###### Option Resolution
374
377
375
378
**_<dfn>Option resolution</dfn>_** is the process of computing the _options_
376
379
for a given _expression_.
@@ -409,6 +412,7 @@ This mapping can be empty.
409
412
410
413
#### Markup Resolution
411
414
415
+ **_<dfn>Markup resolution</dfn>_** determines the value of _markup_.
412
416
Unlike _functions_, the resolution of _markup_ is not customizable.
413
417
414
418
The _resolved value_ of _markup_ includes the following fields:
0 commit comments