Show / Hide Table of Contents

    Interface IFlowGraphAnalysis<T>

    An analysis on a flow graph.

    Namespace: Flame.Compiler.Analysis
    Assembly: Flame.Compiler.dll
    Syntax
    public interface IFlowGraphAnalysis<T>
    Type Parameters
    Name Description
    T

    The type of the analysis' result.

    Methods

    | Improve this Doc View Source

    Analyze(FlowGraph)

    Analyzes a flow graph from scratch.

    Declaration
    T Analyze(FlowGraph graph)
    Parameters
    Type Name Description
    FlowGraph graph

    The flow graph to analyze.

    Returns
    Type Description
    T

    The analysis' output.

    | Improve this Doc View Source

    AnalyzeWithUpdates(FlowGraph, T, IReadOnlyList<FlowGraphUpdate>)

    Analyzes a flow graph based on the flow graph, the previous result, and a list of updates that were applied to the graph since the previous result.

    Declaration
    T AnalyzeWithUpdates(FlowGraph graph, T previousResult, IReadOnlyList<FlowGraphUpdate> updates)
    Parameters
    Type Name Description
    FlowGraph graph

    The current version of the flow graph to analyze.

    T previousResult

    A previous result produced by this analysis.

    System.Collections.Generic.IReadOnlyList<FlowGraphUpdate> updates

    A list of updates that were applied to the flow graph since the previous result was computed.

    Returns
    Type Description
    T

    The analysis' output, which must be equal to a call to Analyze.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX