zeek/testing/btest/Baseline/doc.zeekygen.records/autogen-reST-records.rst
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

32 lines
755 B
ReStructuredText

### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
.. zeek:type:: TestRecord1
:source-code: <...>/records.zeek 6 9
:Type: :zeek:type:`record`
field1: :zeek:type:`bool`
field2: :zeek:type:`count`
.. zeek:type:: TestRecord2
:source-code: <...>/records.zeek 12 23
:Type: :zeek:type:`record`
A: :zeek:type:`count`
document ``A``
B: :zeek:type:`bool`
document ``B``
C: :zeek:type:`TestRecord1`
and now ``C``
is a declared type
D: :zeek:type:`set` [:zeek:type:`count`, :zeek:type:`bool`]
sets/tables should show the index types
Here's the ways records and record fields can be documented.