Skip to content

Add support for documenting DeclareSynonym uses #174

@gwhitney

Description

@gwhitney

If you write something like

#! @Description This category is defined as the intersection of two others.
DeclareSynonym( "IsMyIntersectionCategory", IsMyFirstCategory and IsMySecondCategory );

no documentation is produced. Looking at the code, this is not surprising; there is no code to recognize DeclareSynonym.

Note that a fix to this would also require a command to set the "type" of a declaration (Func/Filt/Meth/Constr/etc.) since there is no way to infer from a DeclareSynonym the type of the entity being declared, since it is simply the same as whatever it's being made a synonym of.

I have proposed code that adds support for DeclareSynonym, among several changes, which I will post soon.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions