public static string stringFromNumberType(TypeNumberType the_enum) { switch (the_enum) { case TypeNumberType.NumberType_Integer: return("Integer"); case TypeNumberType.NumberType_Rational: return("Rational"); default: Debug.Assert(false); return(null); } }
protected override void handle_result(TypeNumberType result) { top.value.Add(result); }
protected override void handle_result(TypeNumberType result) { //@@@ Debug.Assert(!have_value); have_value = true; value = result; }
protected abstract void handle_result(TypeNumberType result);
public void setNumberType(TypeNumberType new_value) { flagHasNumberType = true; storeNumberType = new_value; }