#include "compiler/translator/FunctionLookup.h"
#include "compiler/translator/ImmutableStringBuilder.h"
namespace sh
{
namespace
{
const char kFunctionMangledNameSeparator = …;
constexpr const ImmutableString kEmptyName("");
std::vector<std::vector<int>> GetImplicitConversionCombinations(const std::vector<int> &list)
{ … }
}
TFunctionLookup::TFunctionLookup(const ImmutableString &name,
const TType *constructorType,
const TSymbol *symbol)
: … { … }
TFunctionLookup *TFunctionLookup::CreateConstructor(const TType *type)
{ … }
TFunctionLookup *TFunctionLookup::CreateFunctionCall(const ImmutableString &name,
const TSymbol *symbol)
{ … }
const ImmutableString &TFunctionLookup::name() const
{ … }
ImmutableString TFunctionLookup::getMangledName() const
{ … }
ImmutableString TFunctionLookup::GetMangledName(const char *functionName,
const TIntermSequence &arguments)
{ … }
std::vector<ImmutableString> GetMangledNames(const char *functionName,
const TIntermSequence &arguments)
{ … }
std::vector<ImmutableString> TFunctionLookup::getMangledNamesForImplicitConversions() const
{ … }
bool TFunctionLookup::isConstructor() const
{ … }
const TType &TFunctionLookup::constructorType() const
{ … }
void TFunctionLookup::setThisNode(TIntermTyped *thisNode)
{ … }
TIntermTyped *TFunctionLookup::thisNode() const
{ … }
void TFunctionLookup::addArgument(TIntermTyped *argument)
{ … }
TIntermSequence &TFunctionLookup::arguments()
{ … }
const TSymbol *TFunctionLookup::symbol() const
{ … }
}