Skip to main content
Rust4PM

Annotations_for_DfgNodeRef

The JSON form of Annotations.
Used as Input

0

functions accept this type(+5 nested)

Used as Output

0

functions return this type

Type Definition

35 nested items
struct— The JSON form of Annotations.
edges*:Vec<((DfgNodeRef, DfgNodeRef), EdgeAnnotation)>— By edge.
nodes*:Vec<(DfgNodeRef, NodeAnnotation)>— By node, as one more line in the node.

Example JSON Value

json
{
  "edges": [
    [
      [
        {
          "kind": "start"
        },
        {
          "kind": "start"
        }
      ],
      {}
    ]
  ],
  "nodes": [
    [
      {
        "kind": "start"
      },
      {}
    ]
  ]
}