WSF
UsFunction Class Reference

#include <UsSymbolTable.hpp>

Collaboration diagram for UsFunction:

Public Types

enum  Flags { cAPP_METHOD = 1 , cSTATIC = 2 , cVARARGS = 4 }

Public Member Functions

 UsFunction ()
bool operator< (const UsFunction &aRhs) const
bool operator== (const UsFunction &aRhs) const
int SpecializeType (int aThisType, std::pair< UsType *, UsType * > aArgs, int aType)
void Specialize (int aThisType, const std::pair< UsType *, UsType * > &aTempArgs)

Public Attributes

int mFlags
int mReturnType
DynamicArray< int, 4 > mArgs

Member Enumeration Documentation

◆ Flags

Enumerator
cAPP_METHOD 
cSTATIC 
cVARARGS 

Constructor & Destructor Documentation

◆ UsFunction()

UsFunction::UsFunction ( )
inline

References mFlags, and mReturnType.

Referenced by operator<(), and operator==().

Member Function Documentation

◆ operator<()

bool UsFunction::operator< ( const UsFunction & aRhs) const

◆ operator==()

bool UsFunction::operator== ( const UsFunction & aRhs) const

◆ Specialize()

void UsFunction::Specialize ( int aThisType,
const std::pair< UsType *, UsType * > & aTempArgs )

References mArgs, mReturnType, and SpecializeType().

◆ SpecializeType()

int UsFunction::SpecializeType ( int aThisType,
std::pair< UsType *, UsType * > aArgs,
int aType )

Referenced by Specialize().

Member Data Documentation

◆ mArgs

◆ mFlags

◆ mReturnType


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved