Exporter |
NaturalDocs::Constants |
Constants that are used throughout the script. All are exported by default.
NaturalDocs:: | Constants that are used throughout the script. |
Assumptions | |
Virtual Types | These are only groups of constants, but should be treated like typedefs or enums. |
MenuEntryType | The types of entries that can appear in the menu. |
FileStatus | What happened to a file since Natural Docs’ last execution. |
Flags | These constants can be combined with each other. |
Menu Entry Flags | The various flags that can apply to a menu entry. |
Support Functions | |
IsClassHierarchyReference | Returns whether the passed ReferenceType belongs to NaturalDocs::ClassHierarchy. |
The types of entries that can appear in the menu.
PreviousMenuState.nd depends on these values all being able to fit into a UInt8, i.e. <= 255.
The various flags that can apply to a menu entry. You cannot mix flags of different types, since they may overlap.
MENU_FILE_NOAUTOTITLE | Whether the file is auto-titled or not. |
MENU_GROUP_UPDATETITLES | The group should have its auto-titles regenerated. |
MENU_GROUP_UPDATESTRUCTURE | The group should be checked for structural changes, such as being removed or being split into subgroups. |
MENU_GROUP_UPDATEORDER | The group should be resorted. |
MENU_GROUP_HASENDOFORIGINAL | Whether the group contains a dummy MENU_ENDOFORIGINAL entry. |
MENU_GROUP_ISINDEXGROUP | Whether the group is used primarily for MENU_INDEX entries. MENU_TEXT entries are tolerated. |
MENU_GROUP_UNSORTED | The group’s contents are not sorted. |
MENU_GROUP_FILESSORTED | The group’s files are sorted alphabetically. |
MENU_GROUP_FILESANDGROUPSSORTED | The group’s files and sub-groups are sorted alphabetically. |
MENU_GROUP_EVERYTHINGSORTED | All entries in the group are sorted alphabetically. |
sub IsClassHierarchyReference #( reference )
Returns whether the passed ReferenceType belongs to NaturalDocs::ClassHierarchy.
Returns whether the passed ReferenceType belongs to NaturalDocs::ClassHierarchy.
sub IsClassHierarchyReference #( reference )