Exemple #1
0
    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);
        }
    }
Exemple #2
0
 protected override void handle_result(TypeNumberType result)
 {
     top.value.Add(result);
 }
Exemple #3
0
            protected override void handle_result(TypeNumberType result)
            {
//@@@        Debug.Assert(!have_value);
                have_value = true;
                value      = result;
            }
Exemple #4
0
 protected abstract void handle_result(TypeNumberType result);
Exemple #5
0
 public void setNumberType(TypeNumberType new_value)
 {
     flagHasNumberType = true;
     storeNumberType   = new_value;
 }