mirror of
https://github.com/IRBorisov/ConceptCore.git
synced 2025-06-26 01:00:36 +03:00
13 lines
364 B
C++
13 lines
364 B
C++
#pragma once
|
|
|
|
#include "ccl/lang/Reference.h"
|
|
|
|
namespace tccl {
|
|
|
|
inline std::string EntityRef(const std::string& cstName,
|
|
const ccl::lang::Morphology form = ccl::lang::Morphology{ ccl::lang::Grammem::nomn, ccl::lang::Grammem::sing }) {
|
|
const ccl::lang::EntityRef ref{ cstName, form };
|
|
return ref.ToString();
|
|
}
|
|
|
|
} // namespace tccl
|