RetroArch
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
glslang::HlslTokenStream Class Reference

#include <hlslTokenStream.h>

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

Public Member Functions

 HlslTokenStream (HlslScanContext &scanner)
 
virtual ~HlslTokenStream ()
 
void advanceToken ()
 
void recedeToken ()
 
bool acceptTokenClass (EHlslTokenClass)
 
EHlslTokenClass peek () const
 
bool peekTokenClass (EHlslTokenClass) const
 
glslang::TBuiltInVariable mapSemantic (const char *upperCase)
 
void pushTokenStream (const TVector< HlslToken > *tokens)
 
void popTokenStream ()
 

Protected Attributes

HlslToken token
 

Private Member Functions

 HlslTokenStream ()
 
HlslTokenStreamoperator= (const HlslTokenStream &)
 
void pushPreToken (const HlslToken &)
 
HlslToken popPreToken ()
 
void pushTokenBuffer (const HlslToken &)
 
HlslToken popTokenBuffer ()
 

Private Attributes

HlslScanContextscanner
 
TVector< const TVector< HlslToken > * > tokenStreamStack
 
TVector< int > tokenPosition
 
TVector< HlslTokencurrentTokenStack
 
HlslToken preTokenStack [tokenBufferSize]
 
int preTokenStackSize
 
HlslToken tokenBuffer [tokenBufferSize]
 
int tokenBufferPos
 

Static Private Attributes

static const int tokenBufferSize = 2
 

Constructor & Destructor Documentation

◆ HlslTokenStream() [1/2]

glslang::HlslTokenStream::HlslTokenStream ( HlslScanContext scanner)
inlineexplicit

◆ ~HlslTokenStream()

virtual glslang::HlslTokenStream::~HlslTokenStream ( )
inlinevirtual

◆ HlslTokenStream() [2/2]

glslang::HlslTokenStream::HlslTokenStream ( )
private

Member Function Documentation

◆ acceptTokenClass()

bool glslang::HlslTokenStream::acceptTokenClass ( EHlslTokenClass  tokenClass)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ advanceToken()

void glslang::HlslTokenStream::advanceToken ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mapSemantic()

glslang::TBuiltInVariable glslang::HlslTokenStream::mapSemantic ( const char *  upperCase)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

HlslTokenStream& glslang::HlslTokenStream::operator= ( const HlslTokenStream )
private

◆ peek()

EHlslTokenClass glslang::HlslTokenStream::peek ( ) const
Here is the caller graph for this function:

◆ peekTokenClass()

bool glslang::HlslTokenStream::peekTokenClass ( EHlslTokenClass  tokenClass) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ popPreToken()

HlslToken glslang::HlslTokenStream::popPreToken ( )
private
Here is the caller graph for this function:

◆ popTokenBuffer()

HlslToken glslang::HlslTokenStream::popTokenBuffer ( )
private
Here is the caller graph for this function:

◆ popTokenStream()

void glslang::HlslTokenStream::popTokenStream ( )
Here is the caller graph for this function:

◆ pushPreToken()

void glslang::HlslTokenStream::pushPreToken ( const HlslToken tok)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushTokenBuffer()

void glslang::HlslTokenStream::pushTokenBuffer ( const HlslToken tok)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushTokenStream()

void glslang::HlslTokenStream::pushTokenStream ( const TVector< HlslToken > *  tokens)
Here is the caller graph for this function:

◆ recedeToken()

void glslang::HlslTokenStream::recedeToken ( )
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ currentTokenStack

TVector<HlslToken> glslang::HlslTokenStream::currentTokenStack
private

◆ preTokenStack

HlslToken glslang::HlslTokenStream::preTokenStack[tokenBufferSize]
private

◆ preTokenStackSize

int glslang::HlslTokenStream::preTokenStackSize
private

◆ scanner

HlslScanContext& glslang::HlslTokenStream::scanner
private

◆ token

HlslToken glslang::HlslTokenStream::token
protected

◆ tokenBuffer

HlslToken glslang::HlslTokenStream::tokenBuffer[tokenBufferSize]
private

◆ tokenBufferPos

int glslang::HlslTokenStream::tokenBufferPos
private

◆ tokenBufferSize

const int glslang::HlslTokenStream::tokenBufferSize = 2
staticprivate

◆ tokenPosition

TVector<int> glslang::HlslTokenStream::tokenPosition
private

◆ tokenStreamStack

TVector<const TVector<HlslToken>*> glslang::HlslTokenStream::tokenStreamStack
private

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