Added Function#tokenize(throwErrors) method to create a basic token array