Exemple #1
0
        protected bool Visit <T>(AlphaNode <T> node)
        {
            _lastNodeVertex = GetSink(node.GetHashCode(), () => "\u03B1", typeof(AlphaNode <>), typeof(T));

            if (_stack.Count > 0 && _stack.Peek().VertexType != typeof(JoinNode <>))
            {
                _edges.Add(new Edge(_stack.Peek(), _lastNodeVertex, _lastNodeVertex.TargetType.Name));
            }

            return(true);
        }
Exemple #2
0
        protected bool Visit <T>(AlphaNode <T> node)
        {
            Append("Alpha<{0}>[{1}]", typeof(T).Name, node.GetHashCode());

            return(true);
        }