Expr: move all classes into zeek::detail

This commit is contained in:
Tim Wojtulewicz 2020-05-07 15:20:19 -07:00
parent 3fa4acc175
commit cbdb8ee074
34 changed files with 314 additions and 248 deletions

View file

@ -23,7 +23,7 @@ const char* attr_name(attr_tag t)
return attr_names[int(t)];
}
Attr::Attr(attr_tag t, IntrusivePtr<Expr> e)
Attr::Attr(attr_tag t, IntrusivePtr<zeek::detail::Expr> e)
: expr(std::move(e))
{
tag = t;
@ -90,7 +90,7 @@ void Attr::DescribeReST(ODesc* d, bool shorten) const
d->Add("=");
d->SP();
if ( expr->Tag() == EXPR_NAME )
if ( expr->Tag() == zeek::detail::EXPR_NAME )
{
d->Add(":zeek:see:`");
expr->Describe(d);
@ -104,7 +104,7 @@ void Attr::DescribeReST(ODesc* d, bool shorten) const
d->Add("`");
}
else if ( expr->Tag() == EXPR_CONST )
else if ( expr->Tag() == zeek::detail::EXPR_CONST )
{
ODesc dd;
dd.SetQuotes(true);