예제 #1
0
파일: jsparser.cs 프로젝트: nuxleus/ajaxmin
 private bool TokenInList(JSToken[] tokens, RecoveryTokenException exc)
 {
     return (-1 != IndexOfToken(tokens, exc._token));
 }
예제 #2
0
파일: jsparser.cs 프로젝트: nuxleus/ajaxmin
 //---------------------------------------------------------------------------------------
 // IndexOfToken
 //
 //  check whether the recovery token is a good one for the caller
 //---------------------------------------------------------------------------------------
 private int IndexOfToken(JSToken[] tokens, RecoveryTokenException exc)
 {
     return IndexOfToken(tokens, exc._token);
 }