summaryrefslogtreecommitdiff
path: root/source/slang/reflection.h
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-08-09 10:13:40 -0700
committerTim Foley <tfoley@nvidia.com>2017-08-09 10:23:09 -0700
commit695c2700de54a5fec72ce7214c137a1dc3a02d7b (patch)
tree4f549da8c05be186f12442565389d9f3df44c6d7 /source/slang/reflection.h
parenta728612771cdaed66a0bdbfd25f8f250920f0f11 (diff)
Major naming overhaul:
- `ExpressionSyntaxNode` becomes `Expr` - `StatementSyntaxNode` becomes `Stmt` - `StructSyntaxNode` becomes `StructDecl` - `ProgramSyntaxNode` becomes `ModuleDecl` - `ExpressionType` becomes `Type` - Existing fields names `Type` become `type` - There might be some collateral damage here if there were, e.g., `enum`s named `Type`, but I can live with that for now and fix those up as a I see them
Diffstat (limited to 'source/slang/reflection.h')
-rw-r--r--source/slang/reflection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/reflection.h b/source/slang/reflection.h
index 627ca8382..3eef47c6b 100644
--- a/source/slang/reflection.h
+++ b/source/slang/reflection.h
@@ -24,12 +24,12 @@ String emitReflectionJSON(
//
-SlangTypeKind getReflectionTypeKind(ExpressionType* type);
+SlangTypeKind getReflectionTypeKind(Type* type);
SlangTypeKind getReflectionParameterCategory(TypeLayout* typeLayout);
-UInt getReflectionFieldCount(ExpressionType* type);
-UInt getReflectionFieldByIndex(ExpressionType* type, UInt index);
+UInt getReflectionFieldCount(Type* type);
+UInt getReflectionFieldByIndex(Type* type, UInt index);
UInt getReflectionFieldByIndex(TypeLayout* typeLayout, UInt index);
}