AjScript.Interpreter.Lexer.SkipToEndOfComment C# (CSharp) 메소드

SkipToEndOfComment() 개인적인 메소드

private SkipToEndOfComment ( ) : void
리턴 void
        private void SkipToEndOfComment()
        {
            char? nch;

            nch = this.NextChar();

            while (nch.HasValue)
            {
                while (nch.Value != '*')
                    nch = this.NextChar();

                char? nch2 = this.NextChar();

                if (nch2.HasValue && nch2 == '/')
                    return;

                nch = nch2;
            }
        }