Beispiel #1
0
 public void RemoveVariable(Edge sender)
 {
     if (VariableList.Contains(sender))
     {
         VariableList.Remove(sender);
     }
 }
Beispiel #2
0
        internal WMatchClause GetMatchClause()
        {
            var newMatchClause = new WMatchClause();

            foreach (var path in PathList)
            {
                if (path.EdgeVariable is GremlinFreeEdgeTableVariable && VariableList.Contains(path.EdgeVariable))
                {
                    newMatchClause.Paths.Add(path.ToMatchPath());
                }
            }
            return(newMatchClause.Paths.Count == 0 ? null : newMatchClause);
        }