Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/thrift
/ set_namespace
Method
set_namespace
compiler/cpp/src/thrift/parse/t_program.h:249–249 ·
view source on GitHub ↗
Scoping and namespacing
Source
from the content-addressed store, hash-verified
247
248
// Scoping and namespacing
249
void set_namespace(std::string name) { namespace_ = name; }
250
251
// Scope accessor
252
t_scope* scope() { return scope_; }
Callers
nothing calls this directly
Calls
5
find
Method · 0.80
pwarning
Function · 0.50
substr
Method · 0.45
end
Method · 0.45
is_valid_namespace
Method · 0.45
Tested by
no test coverage detected