/Engine/Source/Editor/KismetCompiler/Public/KismetCompilerMisc.h
Helper function that verifies the variable name referenced by the net exists in the associated scope (either the class being compiled or via an object reference on the Self pin), and then creates/registers a term for that variable access.
void ResolveAndRegisterScopedTerm ( [FKismetFunctionContext](API\Editor\KismetCompiler\FKismetFunctionContext) & Context, [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * Net, [TIndirectArray](API\Runtime\Core\Containers\TIndirectArray)< [FBPTerminal](API\Editor\KismetCompiler\FBPTerminal) > & NetArray )