Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/CFunction
Description
This is a holdover from old semantics, where functions were assumed to be a member of a class. THIS IS NO LONGER THE CASE, and we should forgo continued use of this function (we use it in the few places where this assumption still holds true).
@TODO: SOL-1567, we should never need to explicitly query for a function's class, when functions could belong to a module, interface, other function etc.
| Name | GetMaybeClassScope |
| Type | function |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/SemanticFunction.h |
| Include Path | #include "uLang/Semantics/SemanticFunction.h" |
| Source | /Engine/Source/Runtime/VerseCompiler/Private/uLang/Semantics/SemanticFunction.cpp |
TOptional < const CClass * > GetMaybeClassScope() const