예제 #1
0
 public virtual void PopLoop()
 {
     _loopLabels.Pop();
 }
예제 #2
0
 // TODO: Remove
 /// <summary>
 /// Returns a new global node index.
 /// Warning: This method should not be called directly. It is used by the GraphNode constructor.
 /// </summary>
 public int GetNewNodeIndex()
 {
     return(nodeIndexPool.Count > 0 ? nodeIndexPool.Pop() : nextNodeIndex++);
 }