public void StartTermGroup() { if (Explain) { Console.WriteLine("Starting a new term group"); } itsCurrentGroup = new TermGroup(); itsTermGroupStack.Add(itsCurrentGroup); }
public void EndTermGroup(Query query) { if (Explain) { Console.WriteLine("Ending an term group"); } if (itsCurrentGroup.stackCount > 2) { ReportPattern(query); } if (itsTermGroupStack.Count > 0) { itsTermGroupStack.RemoveAt(itsTermGroupStack.Count - 1); } if (itsTermGroupStack.Count > 0) { itsCurrentGroup = (TermGroup)itsTermGroupStack[itsTermGroupStack.Count - 1]; } }
public void StartBlankNodeGroup() { itsCurrentGroup = new TermGroup(); itsTermGroupStack.Add(itsCurrentGroup); }