standardized function braces in Parser.php