예제 #1
0
 private IEnumerable <Atom> ReadList(IEnumerator <Lexem> state, TokenLexem finalToken)
 {
     state.MoveNext();
     while (!finalToken.Equals(state.Current))
     {
         yield return(ReadAtom(state));
     }
 }
예제 #2
0
파일: TokenLexem.cs 프로젝트: aman7/naggum
 protected bool Equals(TokenLexem other)
 {
     return base.Equals(other) && TokenKind == other.TokenKind;
 }
예제 #3
0
파일: TokenLexem.cs 프로젝트: aman7/naggum
 protected bool Equals(TokenLexem other)
 {
     return(base.Equals(other) && TokenKind == other.TokenKind);
 }