| chigraph master Systems programming language written for beginners in LLVM

DataType.cpp
Go to the documentation of this file.
1
3 #include "chi/DataType.hpp"
4 #include "chi/ChiModule.hpp"
5
6 namespace chi {
7
8 std::string DataType::qualifiedName() const {
9 return module().fullName() + ":" + unqualifiedName();
10 }
11
12 } // namespace chi
chi::DataType::module
ChiModule & module() const
Get the module this is a part of.
Definition: DataType.hpp:29
chi::ChiModule::fullName
std::string fullName() const
Get the full name of the module.
Definition: ChiModule.hpp:61
chi::DataType::qualifiedName
std::string qualifiedName() const
Get the qualified name of the type (module().fullName() + ":" name())
Definition: DataType.cpp:8
chi::DataType::unqualifiedName
const std::string & unqualifiedName() const
Get the unqualified name of the type.
Definition: DataType.hpp:32
DataType.hpp
Defines the DataType class.
ChiModule.hpp
Defines the ChiModule class.
chi
The namespace where chigraph lives.
Definition: BitcodeParser.hpp:12