line |
true |
false |
branch |
49
|
82 |
0 |
Stash (HV* sv, bool policy = INCREMENT) : Hash(sv, policy) { _validate(); } |
52
|
3496 |
0 |
*this = gv_stashpvn(package.data(), package.length(), flags); |
|
3496 |
0 |
*this = gv_stashpvn(package.data(), package.length(), flags); |
120
|
0 |
0 |
string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); } |
|
0 |
0 |
string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); } |
|
0 |
0 |
string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); } |
|
0 |
0 |
string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); } |
|
0 |
0 |
string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); } |
|
0 |
0 |
string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); } |
|
0 |
0 |
string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); } |
|
0 |
0 |
string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); } |
|
0 |
0 |
string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); } |
|
0 |
0 |
string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); } |
|
0 |
0 |
string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); } |
|
0 |
0 |
string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); } |
167
|
138 |
0 |
void mark_as_loaded (const string_view& source) const { mark_as_loaded(Stash(source, GV_ADD)); } |
170
|
1288 |
0 |
void inherit (const string_view& parent) { inherit(Stash(parent, GV_ADD)); } |
205
|
0 |
3578 |
if (!sv) return; |
206
|
3578 |
0 |
if (HvNAME(sv)) return; |
|
3578 |
0 |
if (HvNAME(sv)) return; |
|
0 |
3578 |
if (HvNAME(sv)) return; |
|
3578 |
0 |
if (HvNAME(sv)) return; |
|
0 |
3578 |
if (HvNAME(sv)) return; |
|
3578 |
0 |
if (HvNAME(sv)) return; |
207
|
0 |
0 |
if (is_undef()) return reset(); |
209
|
0 |
0 |
throw std::invalid_argument("SV is not a Stash or Stash reference"); |