Let AbstractParser throw NullPointerException on syntax == null
Make ResultImpl package private