The following enumerations are available globally.
An Enum namespace for constants that are used across different entities in the Clarity framework.See more
An enum for storing the general type of the value passed in a print statement.
The enum divides cases into one of the three generic collection types, a single type or none.
The type of value passed to the print statement is indeterminate therefore value element types are either
The general type of a value is all that is required to handle printing elements appropriately to the console (the purpose of the print statement values argument).
PrintValueTypecase is calculated from a message
NodeTypeand not stored on the message itself.
An enum for storing the print type of a message.
The components that are used to build a message string are determined by a combination of the message
NodeType, user settings derived from JSON and any arguments passed to the associated print statement.
PrintTypecontains cases for all possible combinations and none.
PrintTypecase is not stored on the message itself.
An enum for storing the node type state of the message associated with a print number.
Each case is used to specify formatting when displaying the associated message in the console.See more
enum NodeType : Int, Codable, Equatable
An enum for storing the function group state of the message associated with a print number.
Each case is used to specify the formatting of function name node types when displaying the associated message in the console.
Each case is assigned a single character value as an abbreviation of the case name. The values are the same used to specify the
FunctionTypeof a message in the EntityLog JSON although the values are not directly bound.
NoteNote The use of this feature is discretional and does not bind the function referenced in the source code to the group specified by a particular case: any case can be used for any group of function, mapped to signify an alternative group or the single default case
CustomFunccan be used for all functions.
The grouping of functions named in the enum is not intended to be an exhaustive list or the representation of an ideal demarcation.
The purpose of differential formatting according to function group is as an additional visual aid that makes it easier to spot anomalies or unexpected routes in the control flow. It is also designed to help developers gain understanding of the functionality of unfamiliar code.See more
enum FunctionType : String, Codable, Equatable