2026-07-18 18:48:23 +02:00
|
|
|
#include "argument.h"
|
|
|
|
|
#include "argtype.h"
|
|
|
|
|
|
2026-07-30 23:50:07 +02:00
|
|
|
Parameter::Parameter(const std::string& name, const Argtype& argtype, const Locator& loc,
|
|
|
|
|
bool optional, const std::string& default_value)
|
2026-07-18 18:48:23 +02:00
|
|
|
: m_name(name)
|
|
|
|
|
, m_argtype(argtype)
|
|
|
|
|
, m_optional(optional)
|
|
|
|
|
, m_default(default_value)
|
|
|
|
|
, m_loc(loc)
|
|
|
|
|
{
|
|
|
|
|
}
|