Skip to content

Commit

Permalink
[UR] Document yaml syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Vesely committed Jul 11, 2023
1 parent 276110e commit f452c77
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/YaML.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,12 @@ n/a
* A typedef requires the following scalar fields: {`desc`, `name`, `value`}
- `desc` will be used as the typedef's description comment
- `name` must be a unique ISO-C standard identifier, start with `$` tag, be snake_case and end with `_t`
- `value` must be an ISO-C standard identifier
- `value` must either be:
- an ISO-C standard identifier
- a list of objects
- `if` must be by one of {`Linux`, `Windows`, `Darwin`}
- `else` must be None
- `value` must be an ISO-C standard identifier
* A typedef may take the following optional scalar fields: {`class`, `condition`, `altvalue`, `ordinal`, `version`}
- `class` will be used to scope the typedef declaration within the specified C++ class
- `condition` will be used as a C/C++ preprocessor `#if` conditional expression
Expand Down

0 comments on commit f452c77

Please sign in to comment.