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

            setId();
        }