mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Expr: move all classes into zeek::detail
This commit is contained in:
parent
3fa4acc175
commit
cbdb8ee074
34 changed files with 314 additions and 248 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue