Created an abstract recursive descent parser class