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
ChiModule & module() const
Get the module this is a part of.
Definition: DataType.hpp:29
std::string fullName() const
Get the full name of the module.
Definition: ChiModule.hpp:61
std::string qualifiedName() const
Get the qualified name of the type (module().fullName() + ":" name())
Definition: DataType.cpp:8
const std::string & unqualifiedName() const
Get the unqualified name of the type.
Definition: DataType.hpp:32
Defines the DataType class.
Defines the ChiModule class.
The namespace where chigraph lives.