Example #1
0
 /// <summary>
 /// Place a stored token on an output and remove it from <see cref="StoredTokens"/>
 /// </summary>
 /// <returns>True if token was placed otherwise false</returns>
 protected void PlaceToken(IPlace output, IToken token)
 {
     output.Add(token);
     StoredTokens.Remove(token);
 }