mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-10 04:31:34 -10:00
Putting something between /* and */ behind a parameter will make that appear in the HTML and JSON output now.
28 lines
449 B
C++
28 lines
449 B
C++
#pragma once
|
|
|
|
#include "globalincs/pstypes.h"
|
|
|
|
#include "ade_doc.h"
|
|
|
|
namespace scripting {
|
|
|
|
struct argument_def {
|
|
ade_type_info type;
|
|
SCP_string name;
|
|
SCP_string def_val;
|
|
bool optional = false;
|
|
SCP_string comment;
|
|
};
|
|
|
|
class argument_list_parser {
|
|
public:
|
|
bool parse(const SCP_string& argumentList);
|
|
|
|
const SCP_vector<scripting::argument_def>& getArgList() const;
|
|
|
|
private:
|
|
SCP_vector<argument_def> _argList;
|
|
};
|
|
|
|
} // namespace scripting
|