Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 706 Bytes

execution.md

File metadata and controls

43 lines (36 loc) · 706 Bytes

execution

serialization

{
  //trees: {
  //  original:
  //    [ "sequence", {}, [
  //      [ "invoke", { "_0": "stamp" }, [] ]
  //    ] ],
  //  "0_0-0": [ "invoke", { "_0": "stamp2" }, [] ]
  //},
  nodes: {
    "0-0": { tree: [ ... ] },
    "0_0-0": {}
  },
  errors: {
  }
  // timers? watches?
}

nodes

{
  nid: "0_0",
  tree: [ "trace", { "_0": "xyz" }, 1, [] ],
  inst: "trace",
  ctime: "20141103.072803.123", // created
  mtime: "20141103.072804.654",  // modified
  parent: null, // no parent
  vars: null, // if set then node has own scope
  // ...
}

parent

When pointing to null, it means the node is a root. Else p contains the nid of its parent.