private void checkThatItsTheEndOfTheLine()
{
if (lookAheadType(1) == Token.TokenType.EOF) {
match(Token.TokenType.EOF);
}
else if(lookAheadType(1) == Token.TokenType.NEW_LINE) {
match(Token.TokenType.NEW_LINE);
} else {
throw new Error("Can't understand the words at the end of this line", Error.ErrorType.SYNTAX, lookAhead(1).LineNr, lookAhead(1).LinePosition);
}
}