13 lines
311 B
C++
13 lines
311 B
C++
|
|
#include "argument.h"
|
||
|
|
#include "argtype.h"
|
||
|
|
|
||
|
|
Parameter::Parameter(const std::string& name, Argtype argtype, const Locator& loc,
|
||
|
|
bool optional, std::string default_value)
|
||
|
|
: m_name(name)
|
||
|
|
, m_argtype(argtype)
|
||
|
|
, m_optional(optional)
|
||
|
|
, m_default(default_value)
|
||
|
|
, m_loc(loc)
|
||
|
|
{
|
||
|
|
}
|