class DerivedTypeSpec : public TypeSpec {
public:
std::ostream &Output(std::ostream &o) const override { return o << *this; }
- DerivedTypeSpec(const Name &name) : name_{name} {}
+ DerivedTypeSpec(const Name &name) : name_{name} {}
virtual ~DerivedTypeSpec() = default;
DerivedTypeSpec &AddParamValue(const ParamValue &value) {
paramValues_.push_back(std::make_pair(std::nullopt, value));
const std::list<std::pair<std::optional<Name>, ParamValue>> & paramValues() {
return paramValues_;
}
+
+ // Provide access to the derived-type definition if is known
+ const DerivedTypeDef * definition() {
+ // TODO
+ return 0;
+ }
private:
const Name name_;