Search Results for

    Show / Hide Table of Contents

    Class DefaultAnalyses

    Manages a collection of default control-flow graph analyses, which are used when no analysis is explicitly added to a graph.

    Inheritance
    object
    DefaultAnalyses
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Flame.Compiler.Analysis
    Assembly: Flame.Compiler.dll
    Syntax
    public static class DefaultAnalyses

    Methods

    | Edit this page View Source

    Register<T>(IFlowGraphAnalysis<T>)

    Registers a default analysis for a particular type of analysis result.

    Declaration
    public static void Register<T>(IFlowGraphAnalysis<T> analysis)
    Parameters
    Type Name Description
    IFlowGraphAnalysis<T> analysis

    The analysis to register.

    Type Parameters
    Name Description
    T

    The type of result produced by the analysis.

    | Edit this page View Source

    Register<T>(Func<FlowGraph, IFlowGraphAnalysis<T>>)

    Registers a function that creates a default analysis for a particular type of analysis result.

    Declaration
    public static void Register<T>(Func<FlowGraph, IFlowGraphAnalysis<T>> createAnalysis)
    Parameters
    Type Name Description
    Func<FlowGraph, IFlowGraphAnalysis<T>> createAnalysis

    A function that creates an analysis based on a control-flow graph.

    Type Parameters
    Name Description
    T

    The type of result produced by the analysis.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX