/**
 *  Specialized version of Symbol that has the constructors our JLex expects,
 *  and defines the symbol kind values. It uses the line number to supply both
 *  the left and right "character positions" of each token.
 */

package code.loop.parser;

/**
 *  Description of the Class
 *
 *@author     jimeng
 *@since    July 24, 2003
 */
class Token extends java_cup.runtime.Symbol implements TokKinds {
    /**
     *  Constructor for the Token object
     *
     *@param  sym      Description of the Parameter
     *@param  charPos  Description of the Parameter
     */
    Token(int sym, int charPos) {
        super(sym, charPos, charPos);
    }


    /**
     *  Constructor for the Token object
     *
     *@param  sym      Description of the Parameter
     *@param  charPos  Description of the Parameter
     *@param  value    Description of the Parameter
     */
    Token(int sym, int charPos, Object value) {
        super(sym, charPos, charPos, value);
    }

}
