mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Internal Broxygen organization/documentation/polish.
This commit is contained in:
parent
27138b893a
commit
e58865af22
29 changed files with 2461 additions and 3024 deletions
10
src/Type.cc
10
src/Type.cc
|
@ -1146,8 +1146,8 @@ void RecordType::DescribeFieldsReST(ODesc* d, bool func_args) const
|
|||
if ( func_args )
|
||||
continue;
|
||||
|
||||
using broxygen::IdentifierDocument;
|
||||
IdentifierDocument* doc = broxygen_mgr->GetIdentifierDoc(GetName());
|
||||
using broxygen::IdentifierInfo;
|
||||
IdentifierInfo* doc = broxygen_mgr->GetIdentifierInfo(GetName());
|
||||
|
||||
if ( ! doc )
|
||||
{
|
||||
|
@ -1498,8 +1498,8 @@ void EnumType::DescribeReST(ODesc* d, bool roles_only) const
|
|||
else
|
||||
d->Add(fmt(".. bro:enum:: %s %s", it->second, GetName().c_str()));
|
||||
|
||||
using broxygen::IdentifierDocument;
|
||||
IdentifierDocument* doc = broxygen_mgr->GetIdentifierDoc(it->second);
|
||||
using broxygen::IdentifierInfo;
|
||||
IdentifierInfo* doc = broxygen_mgr->GetIdentifierInfo(it->second);
|
||||
|
||||
if ( ! doc )
|
||||
{
|
||||
|
@ -1514,7 +1514,7 @@ void EnumType::DescribeReST(ODesc* d, bool roles_only) const
|
|||
if ( doc->GetDeclaringScript() )
|
||||
enum_from_script = doc->GetDeclaringScript()->Name();
|
||||
|
||||
IdentifierDocument* type_doc = broxygen_mgr->GetIdentifierDoc(GetName());
|
||||
IdentifierInfo* type_doc = broxygen_mgr->GetIdentifierInfo(GetName());
|
||||
|
||||
if ( type_doc && type_doc->GetDeclaringScript() )
|
||||
type_from_script = type_doc->GetDeclaringScript()->Name();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue