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

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

private CheckSuiteEofError ( IronPython.Compiler.TokenWithSpan cur ) : void
cur IronPython.Compiler.TokenWithSpan
Результат void
        private void CheckSuiteEofError(TokenWithSpan cur) {
            if (MaybeEat(TokenKind.EndOfFile)) {
                // for interactive parsing we allow the user to continue in this case
                ReportSyntaxError(_lookahead.Token, cur.Span, ErrorCodes.SyntaxError, true);
            }
        }
Parser