mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
TypeSystem: make typeClassInfo() public
This commit is contained in:
parent
9f7764c215
commit
086c912c65
@ -136,12 +136,14 @@ public:
|
|||||||
{
|
{
|
||||||
return m_typeClasses.at(_class.m_index).typeVariable;
|
return m_typeClasses.at(_class.m_index).typeVariable;
|
||||||
}
|
}
|
||||||
private:
|
|
||||||
friend class TypeEnvironment;
|
|
||||||
TypeClassInfo const& typeClassInfo(TypeClass _class) const
|
TypeClassInfo const& typeClassInfo(TypeClass _class) const
|
||||||
{
|
{
|
||||||
return m_typeClasses.at(_class.m_index);
|
return m_typeClasses.at(_class.m_index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
friend class TypeEnvironment;
|
||||||
size_t m_numTypeVariables = 0;
|
size_t m_numTypeVariables = 0;
|
||||||
std::map<PrimitiveType, TypeConstructor> m_primitiveTypeConstructors;
|
std::map<PrimitiveType, TypeConstructor> m_primitiveTypeConstructors;
|
||||||
std::map<PrimitiveClass, TypeClass> m_primitiveTypeClasses;
|
std::map<PrimitiveClass, TypeClass> m_primitiveTypeClasses;
|
||||||
|
Loading…
Reference in New Issue
Block a user