The information and context that a FeatureProcessor may operate in.

interface FeatureProcessorInput {
    dataflow: DataflowInformation;
    filepath: undefined | string;
    normalizedRAst: NormalizedAst<ParentInformation, RNode<ParentInformation>>;
    parsedRAst: Document;
}

Hierarchy (view full)

Hierarchy-Diagram

UML class diagram of FeatureProcessorInput

Properties

The dataflow information for the given input

filepath: undefined | string

The filepath that the document originated from (if present, may be undefined if the input was provided as text). This can be relative to the common root directory of requests.

The R AST, after the normalization step

parsedRAst: Document

The XML Document representing the parsed (non-normalized) R AST