net.ripe.db.whois.common.generated.AggrBndryParserVal Maven / Gradle / Ivy
//#############################################
//## file: AggrBndryParser.java
//## Generated by Byacc/j
//#############################################
package net.ripe.db.whois.common.generated;
/**
* BYACC/J Semantic Value for parser: AggrBndryParser
* This class provides some of the functionality
* of the yacc/C 'union' directive
*/
public class AggrBndryParserVal
{
/**
* integer value of this 'union'
*/
public int ival;
/**
* double value of this 'union'
*/
public double dval;
/**
* string value of this 'union'
*/
public String sval;
/**
* object value of this 'union'
*/
public Object obj;
//#############################################
//## C O N S T R U C T O R S
//#############################################
/**
* Initialize me without a value
*/
public AggrBndryParserVal()
{
}
/**
* Initialize me as an int
*/
public AggrBndryParserVal(int val)
{
ival=val;
}
/**
* Initialize me as a double
*/
public AggrBndryParserVal(double val)
{
dval=val;
}
/**
* Initialize me as a string
*/
public AggrBndryParserVal(String val)
{
sval=val;
}
/**
* Initialize me as an Object
*/
public AggrBndryParserVal(Object val)
{
obj=val;
}
}//end class
//#############################################
//## E N D O F F I L E
//#############################################