diff options
| author | Sai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com> | 2024-08-07 02:04:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-07 02:04:37 -0400 |
| commit | 2f2ae8c31490ab01ce0d0cc76d5d7fcf1d21efe7 (patch) | |
| tree | 135cb2109f2717dba3a11929c4cdf163b5ad5c50 /source/core/slang-char-encode.cpp | |
| parent | 366c9b4526b4b940c8aafce459d6784211e862bc (diff) | |
More reflection API features. (#4740)
* More reflection API features.
+ Lookup methods and members (by string) on types
+ Fix issue with looking up non-static members through the scope operator '::'
+ `GenericReflection`: Cast a decl to generic to access unspecialized generic parameter names and constraints
+ `GenericReflection`: Use `getGenericContainer()` from function, variable or type to access the 'nearest' generic parent along with specialization info
+ `GenericReflection::getConcreteType` and `GenericReflection::getConcreteIntVal`: to get the concrete type of a param in the context of the reflection object
+ `GenericReflection::getOuterGenericContainer` to go up one level and get the outer generic declarations (if there are more than one enclosing generic scopes)
+ `DeclReflection::getParent`: go to parent declaration.
+ Change `VariableReflection` to be a `DeclRef` rather than a decl (allows us to return properly substituted types for methods, members, and more)
* Fix Falcor issue
Diffstat (limited to 'source/core/slang-char-encode.cpp')
0 files changed, 0 insertions, 0 deletions
