FunctionTypeSymbols

struct FunctionTypeSymbols : Codable, Equatable

A struct embedded inside a FormattingManagerService struct used as a nested layer within a model used to decode Formatting JSON data.

The struct models the JSON object mapped to the function_type_symbols key in the Formatting JSON data.

The parameters key string values are used to format the function type symbol of node types when displaying functionName messages in the console.

Note

Note 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.

The struct uses a custom semantic naming system to name properties associated with key value pairs and their position in the JSON. This system was developed as an aid to correctly map each key to its position in the struct.

  • kA

    A string mapped to the initialiser key in the Formatting JSON data.

    Declaration

    Swift

    let kA: String
  • kB

    A string mapped to the custom_function key in the Formatting JSON data.

    Declaration

    Swift

    let kB: String
  • kC

    A string mapped to the system_method_override key in the Formatting JSON data.

    Declaration

    Swift

    let kC: String
  • kD

    A string mapped to the action_method key in the Formatting JSON data.

    Declaration

    Swift

    let kD: String
  • kE

    A string mapped to the delegate_method key in the Formatting JSON data.

    Declaration

    Swift

    let kE: String
  • kF

    A string mapped to the datasource_method key in the Formatting JSON data.

    Declaration

    Swift

    let kF: String
  • kG

    A string mapped to the computed_variable key in the Formatting JSON data.

    Declaration

    Swift

    let kG: String
  • kH

    A string mapped to the protocol_extension_method key in the Formatting JSON data.

    Declaration

    Swift

    let kH: String
  • An enum that conforms to the CodingKey protocol for storing the key strings used to decode kCOb from the JSON data. .

    See more

    Declaration

    Swift

    enum CodingKeys : String, CodingKey