|
@@ -342,6 +342,7 @@ module MetaInfo = struct
|
|
|
| TTypedef
|
|
|
| TAnyField
|
|
|
| TExpr
|
|
|
+ | TTypeParameter
|
|
|
|
|
|
type meta_parameter =
|
|
|
| HasParam of string
|
|
@@ -372,6 +373,7 @@ module MetaInfo = struct
|
|
|
| ClassCode -> ":classCode",("Used to inject platform-native code into a class",[Platforms [Java;Cs]; UsedOn TClass])
|
|
|
| Commutative -> ":commutative",("Declares an abstract operator as commutative",[UsedOn TAbstractField])
|
|
|
| CompilerGenerated -> ":compilerGenerated",("Marks a field as generated by the compiler. Shouldn't be used by the end user",[Platforms [Java;Cs]])
|
|
|
+ | Const -> ":const",("Allows a type parameter to accept expression values",[UsedOn TTypeParameter])
|
|
|
| CoreApi -> ":coreApi",("Identifies this class as a core api class (forces Api check)",[UsedOnEither [TClass;TEnum;TTypedef;TAbstract]])
|
|
|
| CoreType -> ":coreType",("Identifies an abstract as core type so that it requires no implementation",[UsedOn TAbstract])
|
|
|
| CppFileCode -> ":cppFileCode",("Code to be injected into generated cpp file",[Platform Cpp])
|