summaryrefslogtreecommitdiff
path: root/source/slang/syntax.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/syntax.h')
-rw-r--r--source/slang/syntax.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h
index 74eda66a5..5db762f11 100644
--- a/source/slang/syntax.h
+++ b/source/slang/syntax.h
@@ -1084,6 +1084,8 @@ namespace Slang
RequirementDictionary requirementDictionary;
};
+ typedef Dictionary<unsigned int, RefPtr<RefObject>> AttributeArgumentValueDict;
+
// Generate class definition for all syntax classes
#define SYNTAX_FIELD(TYPE, NAME) TYPE NAME;
#define FIELD(TYPE, NAME) TYPE NAME;
@@ -1343,6 +1345,15 @@ namespace Slang
RefPtr<Substitutions> outerSubst);
RefPtr<GenericSubstitution> findInnerMostGenericSubstitution(Substitutions* subst);
+
+ enum class UserDefinedAttributeTargets
+ {
+ None = 0,
+ Struct = 1,
+ Var = 2,
+ Function = 4,
+ All = 7
+ };
} // namespace Slang
#endif