Adding a static method to get a token for the line.