package com.ashardalon.pratt.tokens; /** * Represents a simple parsing token. * * @author EVE * * @param * The key type of this token. Represents the type of the token. * * @param * The value type of this token. Represents any additional data for the * token. * */ public interface Token { /** * Get the key for this token. * * @return The key for this token */ K getKey(); /** * Get the value for this token. * * @return The value for this token. */ V getValue(); }