RetroArch
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
glslang::TSymbol Class Referenceabstract

#include <SymbolTable.h>

Inheritance diagram for glslang::TSymbol:
[legend]
Collaboration diagram for glslang::TSymbol:
[legend]

Public Member Functions

 TSymbol (const TString *n)
 
virtual TSymbolclone () const =0
 
virtual ~TSymbol ()
 
virtual const TStringgetName () const
 
virtual void changeName (const TString *newName)
 
virtual void addPrefix (const char *prefix)
 
virtual const TStringgetMangledName () const
 
virtual TFunctiongetAsFunction ()
 
virtual const TFunctiongetAsFunction () const
 
virtual TVariablegetAsVariable ()
 
virtual const TVariablegetAsVariable () const
 
virtual const TAnonMembergetAsAnonMember () const
 
virtual const TTypegetType () const =0
 
virtual TTypegetWritableType ()=0
 
virtual void setUniqueId (int id)
 
virtual int getUniqueId () const
 
virtual void setExtensions (int num, const char *const exts[])
 
virtual int getNumExtensions () const
 
virtual const char ** getExtensions () const
 
virtual void dump (TInfoSink &infoSink) const =0
 
virtual bool isReadOnly () const
 
virtual void makeReadOnly ()
 

Protected Member Functions

 TSymbol (const TSymbol &)
 
TSymboloperator= (const TSymbol &)
 

Protected Attributes

const TStringname
 
unsigned int uniqueId
 
int numExtensions
 
const char ** extensions
 
bool writable
 

Constructor & Destructor Documentation

◆ TSymbol() [1/2]

glslang::TSymbol::TSymbol ( const TString n)
inlineexplicit

◆ ~TSymbol()

virtual glslang::TSymbol::~TSymbol ( )
inlinevirtual

◆ TSymbol() [2/2]

glslang::TSymbol::TSymbol ( const TSymbol copyOf)
explicitprotected
Here is the call graph for this function:

Member Function Documentation

◆ addPrefix()

virtual void glslang::TSymbol::addPrefix ( const char *  prefix)
inlinevirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ changeName()

virtual void glslang::TSymbol::changeName ( const TString newName)
inlinevirtual
Here is the caller graph for this function:

◆ clone()

virtual TSymbol* glslang::TSymbol::clone ( ) const
pure virtual

Implemented in glslang::TAnonMember, and glslang::TVariable.

Here is the caller graph for this function:

◆ dump()

virtual void glslang::TSymbol::dump ( TInfoSink infoSink) const
pure virtual

◆ getAsAnonMember()

virtual const TAnonMember* glslang::TSymbol::getAsAnonMember ( ) const
inlinevirtual

Reimplemented in glslang::TAnonMember.

Here is the caller graph for this function:

◆ getAsFunction() [1/2]

virtual TFunction* glslang::TSymbol::getAsFunction ( )
inlinevirtual
Here is the caller graph for this function:

◆ getAsFunction() [2/2]

virtual const TFunction* glslang::TSymbol::getAsFunction ( ) const
inlinevirtual

◆ getAsVariable() [1/2]

virtual TVariable* glslang::TSymbol::getAsVariable ( )
inlinevirtual

Reimplemented in glslang::TVariable.

Here is the caller graph for this function:

◆ getAsVariable() [2/2]

virtual const TVariable* glslang::TSymbol::getAsVariable ( ) const
inlinevirtual

Reimplemented in glslang::TVariable.

◆ getExtensions()

virtual const char** glslang::TSymbol::getExtensions ( ) const
inlinevirtual
Here is the caller graph for this function:

◆ getMangledName()

virtual const TString& glslang::TSymbol::getMangledName ( ) const
inlinevirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getName()

virtual const TString& glslang::TSymbol::getName ( ) const
inlinevirtual
Here is the caller graph for this function:

◆ getNumExtensions()

virtual int glslang::TSymbol::getNumExtensions ( ) const
inlinevirtual
Here is the caller graph for this function:

◆ getType()

virtual const TType& glslang::TSymbol::getType ( ) const
pure virtual

Implemented in glslang::TAnonMember, and glslang::TVariable.

Here is the caller graph for this function:

◆ getUniqueId()

virtual int glslang::TSymbol::getUniqueId ( ) const
inlinevirtual
Here is the caller graph for this function:

◆ getWritableType()

virtual TType& glslang::TSymbol::getWritableType ( )
pure virtual

Implemented in glslang::TAnonMember, and glslang::TVariable.

Here is the caller graph for this function:

◆ isReadOnly()

virtual bool glslang::TSymbol::isReadOnly ( ) const
inlinevirtual
Here is the caller graph for this function:

◆ makeReadOnly()

virtual void glslang::TSymbol::makeReadOnly ( )
inlinevirtual

◆ operator=()

TSymbol& glslang::TSymbol::operator= ( const TSymbol )
protected

◆ setExtensions()

virtual void glslang::TSymbol::setExtensions ( int  num,
const char *const  exts[] 
)
inlinevirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setUniqueId()

virtual void glslang::TSymbol::setUniqueId ( int  id)
inlinevirtual
Here is the caller graph for this function:

Member Data Documentation

◆ extensions

const char** glslang::TSymbol::extensions
protected

◆ name

const TString* glslang::TSymbol::name
protected

◆ numExtensions

int glslang::TSymbol::numExtensions
protected

◆ uniqueId

unsigned int glslang::TSymbol::uniqueId
protected

◆ writable

bool glslang::TSymbol::writable
protected

The documentation for this class was generated from the following files: