getNextChar() public method

public getNextChar ( ) : char
return char
        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);
            }
        }
Example #2
0
File: tok.cs Project: ydunk/masters
 void skipWhite()
 {
     while (Char.IsWhiteSpace(io.getNextChar()))
     {
         io.ReadChar();
     }
 }