public DFGNode(GingerParser.Invocation invocation) { _adjacencyList = new List <DFGNode>(); _id = Guid.NewGuid(); _invocation = invocation; _parents = new List <DFGNode>(); _type = DFGNodeType.Invocation; }
public DFGNode(DFGNodeType type, string label) { _adjacencyList = new List <DFGNode>(); _id = Guid.NewGuid(); _label = label; _parents = new List <DFGNode>(); _type = type; }
public DFGNode(Variable variable) { _adjacencyList = new List <DFGNode>(); _parents = new List <DFGNode>(); _variable = variable; _type = DFGNodeType.Subexpression; setId(); }