From c9362dc24720a4a6180f2f35792f2749f8273bb0 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 6 Feb 2015 08:40:48 +0100 Subject: [PATCH] Document the `name` and `type` attributes fixes #8033 --- doc/15-language-reference.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/15-language-reference.md b/doc/15-language-reference.md index 4fe62affd..2fc474d23 100644 --- a/doc/15-language-reference.md +++ b/doc/15-language-reference.md @@ -36,6 +36,13 @@ Objects can contain a comma-separated list of property declarations. Instead of commas semicolons may also be used. The following data types are available for property values: +All objects have at least the following attributes: + +Attribute | Description +---------------------|----------------------------- +name | The name of the object. This attribute can be modified in the object definition to override the name specified with the `object` directive. +type | The type of the object. + ## Expressions The following expressions can be used on the right-hand side of assignments. -- 2.40.0