Example #1
0
 /// <summary>
 /// Gets the first match for the given instance and throws an exception if not found
 /// </summary>
 /// <param name="instance">The instance to look for</param>
 /// <returns>The first match</returns>
 public BNF.Match First(BNF.BNFItem instance)
 {
     return(Flat.First(x => x.Token == instance));
 }