SPeCS Packages Documentation
    Preparing search index...

    Data contained in this node type.

    interface Data {
        __lara_flow__function_node: {
            cfgEntryNode: string | undefined;
            functionName: string;
            version: "1";
        };
        id: string;
        parent?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    __lara_flow__function_node: {
        cfgEntryNode: string | undefined;
        functionName: string;
        version: "1";
    }

    Type Declaration

    • cfgEntryNode: string | undefined

      The initial node of the function's CFG. This is the entry point of the function.

    • functionName: string

      The name of the function. This name must be unique in the graph, so it should be mangled if the use case permits overloading.

      The field BaseNode.Data.parent is not used so as to give the developer more flexibility in the decision of what constitutes a parent-child relationship. If desired that the ControlFlowNode is a direct child of its FunctionNode, one may iterate over the graph's ControlFlowNodes and set BaseNode.Data.parent to the value of this field.

    • version: "1"
    id: string

    The unique identifier of this node.

    parent?: string

    The parent node of this node, if any.