1 module introspection.parameter; 2 3 import introspection.type; 4 5 6 /// Stores information about default parameter value 7 struct ParameterDefault { 8 /// 9 string value; 10 11 /// 12 bool exists; 13 } 14 15 /// Stores information about callalble parameters 16 struct Parameter { 17 /// 18 string name; 19 20 /// 21 Type type; 22 23 /// 24 ParameterDefault default_; 25 26 /// 27 bool isScope; 28 29 /// 30 bool isOut; 31 32 /// 33 bool isRef; 34 35 /// 36 bool isLazy; 37 38 /// 39 bool isReturn; 40 }