Optional
cfgOnly if the FileAnalysisRequestMessage contained a cfg: true
this will contain the ControlFlowInformation of the file.
The id that links a request with its responses, it is up to the calling client to make sure it is unique. However, the client does not have to pass the id if it does not need to link the request with its response. The id is always undefined if the message is unprompted (e.g., with hello) or the id unknown.
See the SteppingSlicer and StepResults for details on the results.
The at this time unknown type
Answer for a successful FileAnalysisRequestMessage. It contains the results of the analysis in JSON format (guided by FileAnalysisRequestMessage#format).
The
idMap
of the normalization step (see NormalizedAst) is not serialized as it would essentially repeat the complete normalized AST, you have to re-create it yourself if you require it.Note
The serialization of maps and sets is controlled by the jsonReplacer as part of sendMessage.
See
FileAnalysisResponseMessageNQuads