예제 #1
0
파일: Match.cs 프로젝트: kenkendk/SMEIL
 /// <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));
 }