File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ Selector ::= (Variable '=')? '{' Expression '}'
7
7
/* Variants and Patterns */
8
8
Variant ::= VariantKey * Pattern
9
9
VariantKey ::= String | Nmtoken | ' *'
10
- Pattern ::= ' [' (Text | Placeable )* ' ]' /* ws : explicit * /
10
+ Pattern ::= ' [' (Text | Placeholder )* ' ]' /* ws : explicit * /
11
11
12
- /* Placeables */
13
- Placeable ::= ' {' (Expression | MarkupStart | MarkupEnd )? ' }'
12
+ /* Placeholders */
13
+ Placeholder ::= ' {' (Expression | MarkupStart | MarkupEnd )? ' }'
14
14
15
15
/* Expressions */
16
16
Expression ::= Operand Annotation ? | Annotation
Original file line number Diff line number Diff line change 19
19
1 . [ Preamble] ( #preamble )
20
20
1 . [ Variants] ( #variants )
21
21
1 . [ Patterns] ( #patterns )
22
- 1 . [ Placeables ] ( #placeables )
22
+ 1 . [ Placeholders ] ( #placeholders )
23
23
1 . [ Expressions] ( #expressions )
24
24
1 . [ Markup Elements] ( #markup-elements )
25
25
1 . [ Tokens] ( #tokens )
@@ -143,7 +143,7 @@ plucking the first name from the object representing a person:
143
143
144
144
### Markup Elements
145
145
146
- A message with two markup-like element placeables , ` button ` and ` link ` ,
146
+ A message with two markup-like element placeholders , ` button ` and ` link ` ,
147
147
which the runtime can use to construct a document tree structure for a UI framework.
148
148
149
149
[{button}Submit{/button} or {link}cancel{/link}.]
@@ -306,7 +306,7 @@ This serves 3 purposes:
306
306
are translatable and which ones are part of the formatting logic definition.
307
307
308
308
``` ebnf
309
- Pattern ::= '[' (Text | Placeable )* ']' /* ws: explicit */
309
+ Pattern ::= '[' (Text | Placeholder )* ']' /* ws: explicit */
310
310
```
311
311
312
312
Examples:
@@ -315,12 +315,12 @@ Examples:
315
315
[Hello, world!]
316
316
```
317
317
318
- ### Placeables
318
+ ### Placeholders
319
319
320
- A placeable is a placeholder for an expression or an open or close markup element .
320
+ Placeholders can contain expressions and markup elements .
321
321
322
322
``` ebnf
323
- Placeable ::= '{' (Expression | MarkupStart | MarkupEnd) '}'
323
+ Placeholder ::= '{' (Expression | MarkupStart | MarkupEnd) '}'
324
324
```
325
325
326
326
### Expressions
You can’t perform that action at this time.
0 commit comments