[Parser] Changed the name of the prototype function