Properties of a terminal type
You can assign certain properties to a terminal type.
The following table lists the properties of a terminal type with content:
| Property | Values | Meaning |
|---|---|---|
| text | String | The textual representation of this token. |
| default (guided editor only) |
String | The initial text content of the token. |
| emptyText (guided editor only) |
String | The text displayed until the user has made a choice, while it is still an editable token. |
| choices (guided editor only) | String | The terminal type provides a list of choices, which can be either the list of available concepts in the vocabulary or the list of variables available at that point. Examples: <T-target>.<concept>.choices = concepts <T-expression>.<variable>.choices = variablesnformation on the values of the choices property. |
The text property can use the placeholder <...> to surround the token with some text. The property default defines the initial text value of the token content. You can use the placeholder only if the terminal type is defined with content. If the terminal type is defined with no content, you can use only pure text for this property.