visitFunctionReference method
Visit a SFunctionReference.
Implementation
@override
Object? visitFunctionReference(SFunctionReference node) {
// The actual logic is in visiting the underlying function expression
// (Identifier, SPropertyAccess, SConstructorReference, etc.)
// which should return the Callable/Function object itself.
return node.function.accept<Object?>(this);
}