Can only be sent after you have sent the FileAnalysisRequestMessage. Using the same filetoken as in the FileAnalysisRequestMessage you can slice the respective file given the respective criteria.

interface SliceRequestMessage {
    criterion: SlicingCriteria;
    filetoken: string;
    id: undefined | string;
    noMagicComments?: boolean;
    type: "request-slice";
}

Hierarchy (view full)

Hierarchy-Diagram

UML class diagram of SliceRequestMessage

Properties

criterion: SlicingCriteria

The slicing criteria to use

filetoken: string

The FileAnalysisRequestMessage#filetoken of the file/data to slice

id: undefined | string

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.

noMagicComments?: boolean

Should the magic comments (force-including lines within the slice) be ignord?

type: "request-slice"

The at this time unknown type