getNextChar() 공개 메소드

public getNextChar ( ) : char
리턴 char
예제 #1
0
        void outerDecl()
        {
            Var e = new Var();

#if DEBUG
            Console.WriteLine("outerDecl token=[" + tok + "]\n");
#endif

            CommentHolder(); /* mark the position in insn stream */

            dataClass(e);
            dataType(e);

            if (io.getNextChar() == '(')
            {
                declFunc(e);
            }
            else
            {
                declOuter(e);
            }
        }
예제 #2
0
파일: tok.cs 프로젝트: ydunk/masters
 void skipWhite()
 {
     while (Char.IsWhiteSpace(io.getNextChar()))
     {
         io.ReadChar();
     }
 }