private function processTables()
{
if (Lexer::TOKEN_LBRANK === $this->lexer->getNextToken()->getType()) {
$this->processArrayOfTables();
} else {
$this->processTable();
}
$finalTokenType = $this->lexer->getToken()->getType();
switch ($finalTokenType) {
case Lexer::TOKEN_NEWLINE:
$this->currentLine++;
break;
case Lexer::TOKEN_HASH:
$this->processComment();
break;
case Lexer::TOKEN_EOF:
break;
default:
throw new ParseException('Syntax error: expected new line or EOF after table/array of tables value', $this->currentLine, $this->lexer->getCurrentToken()->getValue());
}
}