@@ -97,6 +97,9 @@ struct <caret>Foo {}
9797```tolk
9898struct Foo {}
9999```
100+ **Size:** 0 bits.
101+
102+ ---
100103
101104========================================================================
102105Struct documentation without body
@@ -107,9 +110,15 @@ struct <caret>Bar
107110```tolk
108111struct Foo {}
109112```
113+ **Size:** 0 bits.
114+
115+ ---
110116```tolk
111117struct Bar {}
112118```
119+ **Size:** 0 bits.
120+
121+ ---
113122
114123========================================================================
115124Struct documentation
@@ -125,6 +134,9 @@ struct Foo {
125134 other: bool
126135}
127136```
137+ **Size:** 258 bits.
138+
139+ ---
128140
129141========================================================================
130142Struct with pack prefix documentation
@@ -140,6 +152,9 @@ struct (0x100) Foo {
140152 other: bool
141153}
142154```
155+ **Size:** 270 bits.
156+
157+ ---
143158
144159========================================================================
145160Struct with pack prefix and type parameters documentation
@@ -155,6 +170,9 @@ struct (0x100) Foo<TName, TValue=int> {
155170 other: TValue
156171}
157172```
173+ **Size:** 12..9999 bits, 0..8 refs.
174+
175+ ---
158176
159177========================================================================
160178Struct with comments inside
@@ -186,6 +204,10 @@ struct CreateMessageOptions<TBody = never> {
186204 body: TBody
187205}
188206```
207+ **Size:** 8..9999 bits, 0..9 refs.
208+
209+ ---
210+
189211Options for creating an outgoing message.
190212Consider [createMessage] for examples.
191213
@@ -252,6 +274,9 @@ type <caret>Int = int;
252274```tolk
253275type Int = int
254276```
277+ **Size:** 257 bits.
278+
279+ ---
255280
256281========================================================================
257282Type alias with type parameters documentation
@@ -263,6 +288,9 @@ type Foo<TName, TValue=slice> =
263288 | TName
264289 | TValue
265290```
291+ **Size:** 1..9999 bits, 0..4 refs.
292+
293+ ---
266294
267295========================================================================
268296Type alias with union type documentation
@@ -294,11 +322,14 @@ type AllowedOpToElectorContract =
294322 | AllowedOpElectorVoteForComplaint
295323 | AllowedOpElectorVoteForProposal
296324```
325+ **Size:** 2 bits.
326+
327+ ---
297328
298329========================================================================
299330Type alias with builtin type
300331========================================================================
301- type <caret>int = builtin_type ;
332+ type <caret>int = builtin ;
302333------------------------------------------------------------------------
303334```tolk
304335type int = builtin
0 commit comments