mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Implement array value
Adds ArrayValue docs, and tests for diagnostics.
This commit is contained in:
parent
f1cf70b6eb
commit
14be727777
12 changed files with 115 additions and 4 deletions
|
@ -145,7 +145,6 @@ Example
|
|||
label: _("This is an advanced feature. Use with caution!");
|
||||
}
|
||||
|
||||
|
||||
.. _Syntax ObjectValue:
|
||||
|
||||
Object Values
|
||||
|
@ -170,3 +169,14 @@ String Values
|
|||
StringValue = :ref:`Translated<Syntax Translated>` | :ref:`QuotedLiteral<Syntax Literal>`
|
||||
|
||||
Menus, as well as some :ref:`extensions<Syntax Extension>`, have properties that can only be string literals or translated strings.
|
||||
|
||||
.. _Syntax ArrayValue:
|
||||
|
||||
Array Values
|
||||
-------------
|
||||
|
||||
.. rst-class:: grammar-block
|
||||
|
||||
ArrayValue = '[' (:ref:`StringValue<Syntax StringValue>`),* ']'
|
||||
|
||||
For now, it only supports :ref:`Strings<Syntax StringValue>`. This is because Gtk.Builder only supports string arrays.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue