titus.inspector.defs.extaction

titus.inspector.defs.extaction(args0, node, items)[source]

Action for pfainspector extensions (depend on specific commands).

Parameters:
  • args0 (titus.inspector.parser.Extract) – abstract syntax tree representation of the object to extract (word before opening square bracket)
  • node (Pythonized JSON) – JSON node from which to extract subobjects
  • items ((integer, titus.inspector.parser.FilePath)) – extraction path (everything between square brakets, possibly still open)
Return type:

Pythonized JSON

Returns:

result of extracting subobjects