Implemented expect() and nextToken() in parser