code: static TypeTag typetag(TokenKind token) {
          switch (token) {
          case BYTE:
              return TypeTag.BYTE;
          case CHAR:
              return TypeTag.CHAR;
          case SHORT:
              return TypeTag.SHORT;
          case INT:
              return TypeTag.INT;
          case LONG:
              return TypeTag.LONG;
          case FLOAT:
              return TypeTag.FLOAT;
          case DOUBLE:
              return TypeTag.DOUBLE;
          case BOOLEAN:
              return TypeTag.BOOLEAN;
          default:
              return TypeTag.NONE;
          }
      }
docs: Return type tag of basic type represented by token,
  NONE if token is not a basic type identifier.