zeek/testing/btest/Baseline/doc.zeekygen.enums/autogen-reST-enums.rst
2020-12-06 20:19:49 -08:00

61 lines
1.1 KiB
ReStructuredText

### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
.. zeek:type:: TestEnum1
:Type: :zeek:type:`enum`
.. zeek:enum:: ONE TestEnum1
like this
.. zeek:enum:: TWO TestEnum1
or like this
.. zeek:enum:: THREE TestEnum1
multiple
comments
and even
more comments
.. zeek:enum:: FOUR TestEnum1
adding another
value
.. zeek:enum:: FIVE TestEnum1
adding another
value
There's tons of ways an enum can look...
.. zeek:type:: TestEnum2
:Type: :zeek:type:`enum`
.. zeek:enum:: A TestEnum2
like this
.. zeek:enum:: B TestEnum2
or like this
.. zeek:enum:: C TestEnum2
multiple
comments
and even
more comments
The final comma is optional
.. zeek:id:: TestEnumVal
:Type: :zeek:type:`TestEnum1`
:Attributes: :zeek:attr:`&redef`
:Default: ``ONE``
this should reference the TestEnum1 type and not a generic "enum" type