code: public static Token newSymbol(int type, int startLine, int startColumn) {
          return new Token(type, Types.getText(type), startLine, startColumn);
      }
docs: Creates a token that represents a symbol, using a library for the text.