Example #1
0
void Skeleton::visitEFloatSTE(EFloatSTE *efloatste)
{
  /* Code For EFloatSTE Goes Here */

  visitDouble(efloatste->double_);

}
Example #2
0
void Skeleton::visitEFloat(EFloat *efloat)
{
  /* Code For EFloat Goes Here */

  visitDouble(efloat->double_);

}
Example #3
0
void visitConstant(Constant _p_)
{
  switch(_p_->kind)
  {
  case is_Efloat:
    /* Code for Efloat Goes Here */
    visitDouble(_p_->u.efloat_.double_);
    break;  case is_Echar:
    /* Code for Echar Goes Here */
    visitChar(_p_->u.echar_.char_);
    break;  case is_Eunsigned:
    /* Code for Eunsigned Goes Here */
    visitUnsigned(_p_->u.eunsigned_.unsigned_);
    break;  case is_Elong:
    /* Code for Elong Goes Here */
    visitLong(_p_->u.elong_.long_);
    break;  case is_Eunsignlong:
    /* Code for Eunsignlong Goes Here */
    visitUnsignedLong(_p_->u.eunsignlong_.unsignedlong_);
    break;  case is_Ehexadec:
    /* Code for Ehexadec Goes Here */
    visitHexadecimal(_p_->u.ehexadec_.hexadecimal_);
    break;  case is_Ehexaunsign:
    /* Code for Ehexaunsign Goes Here */
    visitHexUnsigned(_p_->u.ehexaunsign_.hexunsigned_);
    break;  case is_Ehexalong:
    /* Code for Ehexalong Goes Here */
    visitHexLong(_p_->u.ehexalong_.hexlong_);
    break;  case is_Ehexaunslong:
    /* Code for Ehexaunslong Goes Here */
    visitHexUnsLong(_p_->u.ehexaunslong_.hexunslong_);
    break;  case is_Eoctal:
    /* Code for Eoctal Goes Here */
    visitOctal(_p_->u.eoctal_.octal_);
    break;  case is_Eoctalunsign:
    /* Code for Eoctalunsign Goes Here */
    visitOctalUnsigned(_p_->u.eoctalunsign_.octalunsigned_);
    break;  case is_Eoctallong:
    /* Code for Eoctallong Goes Here */
    visitOctalLong(_p_->u.eoctallong_.octallong_);
    break;  case is_Eoctalunslong:
    /* Code for Eoctalunslong Goes Here */
    visitOctalUnsLong(_p_->u.eoctalunslong_.octalunslong_);
    break;  case is_Ecdouble:
    /* Code for Ecdouble Goes Here */
    visitCDouble(_p_->u.ecdouble_.cdouble_);
    break;  case is_Ecfloat:
    /* Code for Ecfloat Goes Here */
    visitCFloat(_p_->u.ecfloat_.cfloat_);
    break;  case is_Eclongdouble:
    /* Code for Eclongdouble Goes Here */
    visitCLongDouble(_p_->u.eclongdouble_.clongdouble_);
    break;  case is_Eint:
    /* Code for Eint Goes Here */
    visitInteger(_p_->u.eint_.integer_);
    break;
  default:
    fprintf(stderr, "Error: bad kind field when printing Constant!\n");
    exit(1);
  }
}