module introspection.parameter;

import introspection.type;


/// Stores information about default parameter value
struct ParameterDefault {
  ///
  string value;

  ///
  bool exists;
}

/// Stores information about callalble parameters
struct Parameter {
  ///
  string name;

  ///
  Type type;

  ///
  ParameterDefault default_;

  ///
  bool isScope;

  ///
  bool isOut;

  ///
  bool isRef;

  ///
  bool isLazy;

  ///
  bool isReturn;
}