IronPython.Compiler.Parser.EatNewLine C# (CSharp) Метод

EatNewLine() приватный Метод

Eats a new line token throwing if the next token isn't a new line. Python always tokenizes to have only 1 new line character in a row. But we also craete NLToken's and ignore them except for error reporting purposes. This gives us the same errors as CPython and also matches the behavior of the standard library tokenize module. This function eats any present NL tokens and throws them away.
private EatNewLine ( ) : bool
Результат bool
        private bool EatNewLine() {
            bool res = Eat(TokenKind.NewLine);
            while (MaybeEat(TokenKind.NLToken)) ;
            return res;
        }
Parser