static <V> Type of(final int code, final String name) {
			record SimpleType(int code, String name) implements Type {
				SimpleType {
					requireNonNull(name);
				}
			}

			return new SimpleType(code, name);
		}
Create a new token type with the given {@code code} and {@code name}.

@param code the code of the created token type
@param name the name of the created token type
@return a new token type
@throws NullPointerException if the given {@code name} is {@code null}
jenetics.ext/src/main/java/io/jenetics/ext/internal/parser/Token.java