HLSL: Add basic declaration syntax and AST generation.

This commit is contained in:
John Kessenich
2016-03-12 20:24:24 -07:00
parent e01a9bc8c0
commit 87142c71fb
4 changed files with 335 additions and 14 deletions

View File

@@ -56,6 +56,14 @@ namespace glslang {
bool acceptCompilationUnit();
bool acceptDeclaration();
bool acceptFullySpecifiedType(TType&);
void acceptQualifier(TQualifier&);
bool acceptType(TType&);
bool acceptCompoundStatement();
bool acceptExpression(TIntermTyped*&);
bool acceptArguments(TIntermSequence*&);
bool acceptLiteral(TIntermTyped*&);
bool acceptOperator(TOperator& op);
HlslScanContext& scanContext;
HlslParseContext& parseContext;