HLSL: Finish skeletan of the "statement" grammar.

This commit is contained in:
John Kessenich 2016-06-04 11:46:33 -06:00
parent 1cc1a2813e
commit 21472aee75
2 changed files with 163 additions and 32 deletions

View file

@ -73,8 +73,15 @@ namespace glslang {
bool acceptFunctionCall(HlslToken, TIntermTyped*&);
bool acceptArguments(TFunction*, TIntermTyped*&);
bool acceptLiteral(TIntermTyped*&);
bool acceptCompoundStatement(TIntermAggregate*&);
bool acceptCompoundStatement(TIntermNode*&);
bool acceptStatement(TIntermNode*&);
void acceptAttributes();
bool acceptSelectionStatement(TIntermNode*&);
bool acceptSwitchStatement(TIntermNode*&);
bool acceptIterationStatement(TIntermNode*&);
bool acceptJumpStatement(TIntermNode*&);
bool acceptCaseLabel(TIntermNode*&);
bool acceptSemantic();
HlslParseContext& parseContext; // state of parsing and helper functions for building the intermediate