36 #ifndef HLSLTOKENSTREAM_H_ 37 #define HLSLTOKENSTREAM_H_ 96 #endif // HLSLTOKENSTREAM_H_ void popTokenStream()
Definition: hlslTokenStream.cpp:92
void pushPreToken(const HlslToken &)
Definition: hlslTokenStream.cpp:40
virtual ~HlslTokenStream()
Definition: hlslTokenStream.h:47
TVector< int > tokenPosition
Definition: hlslTokenStream.h:69
TVector< const TVector< HlslToken > * > tokenStreamStack
Definition: hlslTokenStream.h:68
HlslToken popTokenBuffer()
Definition: hlslTokenStream.cpp:59
glslang::TBuiltInVariable mapSemantic(const char *)
Definition: hlslScanContext.cpp:445
glslang::TBuiltInVariable mapSemantic(const char *upperCase)
Definition: hlslTokenStream.h:55
TBuiltInVariable
Definition: BaseTypes.h:135
HlslTokenStream(HlslScanContext &scanner)
Definition: hlslTokenStream.h:45
HlslTokenStream & operator=(const HlslTokenStream &)
void pushTokenStream(const TVector< HlslToken > *tokens)
Definition: hlslTokenStream.cpp:74
bool acceptTokenClass(EHlslTokenClass)
Definition: hlslTokenStream.cpp:140
HlslToken preTokenStack[tokenBufferSize]
Definition: hlslTokenStream.h:79
int preTokenStackSize
Definition: hlslTokenStream.h:80
HlslToken token
Definition: hlslTokenStream.h:61
EHlslTokenClass peek() const
Definition: hlslTokenStream.cpp:126
void pushTokenBuffer(const HlslToken &)
Definition: hlslTokenStream.cpp:53
HlslToken popPreToken()
Definition: hlslTokenStream.cpp:46
TVector< HlslToken > currentTokenStack
Definition: hlslTokenStream.h:70
void advanceToken()
Definition: hlslTokenStream.cpp:101
void recedeToken()
Definition: hlslTokenStream.cpp:119
Definition: hlslTokenStream.h:43
Definition: hlslScanContext.h:56
HlslToken tokenBuffer[tokenBufferSize]
Definition: hlslTokenStream.h:88
EHlslTokenClass
Definition: hlslTokens.h:42
HlslScanContext & scanner
Definition: hlslTokenStream.h:67
Definition: hlslScanContext.h:74
static const int tokenBufferSize
Definition: hlslTokenStream.h:73
int tokenBufferPos
Definition: hlslTokenStream.h:89
bool peekTokenClass(EHlslTokenClass) const
Definition: hlslTokenStream.cpp:133