mirror of
https://codeberg.org/ProgramSnail/lang.git
synced 2025-12-07 15:38:49 +00:00
expression nodes finished
This commit is contained in:
parent
100779d2d4
commit
4276a966a7
10 changed files with 842 additions and 137 deletions
|
|
@ -14,7 +14,7 @@ public:
|
|||
SymbolDocs(const std::string &description) : description_(description) {}
|
||||
|
||||
template <typename T>
|
||||
bool set_annotation_info(const std::string &annotation, T &&info) {
|
||||
bool add_annotation_info(const std::string &annotation, T &&info) {
|
||||
if (annotations_info_.count(annotation) == 0) {
|
||||
annotations_info_[annotation] = std::forward<T>(info);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue