LLC.Scanner.Comment0 C# (CSharp) Method

Comment0() private method

private Comment0 ( ) : bool
return bool
        bool Comment0()
        {
            int level = 1, pos0 = pos, line0 = line, col0 = col, charPos0 = charPos;
            NextCh();
            if (ch == '/') {
            NextCh();
            for(;;) {
                if (ch == 10) {
                    level--;
                    if (level == 0) { oldEols = line - line0; NextCh(); return true; }
                    NextCh();
                } else if (ch == Buffer.EOF) return false;
                else NextCh();
            }
            } else {
            buffer.Pos = pos0; NextCh(); line = line0; col = col0; charPos = charPos0;
            }
            return false;
        }