1 module gherkin.step;
2 
3 import std.typecons : Nullable;
4 
5 import asdf : serializationIgnoreOutIf, serializationIgnoreOut;
6 import gherkin.datatable : DataTable;
7 import gherkin.docstring : DocString;
8 import gherkin.location : Location;
9 import gherkin.scenario : Scenario;
10 
11 ///
12 struct Step
13 {
14     ///
15     string keyword;
16     ///
17     string text;
18     ///
19     Location location;
20     ///
21     @serializationIgnoreOut Scenario parent;
22     ///
23     string id;
24     ///
25     @serializationIgnoreOutIf!`a.isNull` Nullable!DocString docString;
26     ///
27     @serializationIgnoreOutIf!`a.isNull` Nullable!DataTable dataTable;
28 }