ptype_dump.c 717 B

12345678910111213141516171819202122
  1. /*
  2. * ptype_dump.c
  3. */
  4. #include "private.h"
  5. #include "lub/dump.h"
  6. /*--------------------------------------------------------- */
  7. void clish_ptype_dump(clish_ptype_t * this)
  8. {
  9. lub_dump_printf("ptype(%p)\n", this);
  10. lub_dump_indent();
  11. lub_dump_printf("name : %s\n", clish_ptype__get_name(this));
  12. lub_dump_printf("text : %s\n", LUB_DUMP_STR(clish_ptype__get_text(this)));
  13. lub_dump_printf("pattern : %s\n", LUB_DUMP_STR(this->pattern));
  14. lub_dump_printf("method : %s\n",
  15. clish_ptype_method__get_name(this->method));
  16. lub_dump_printf("postprocess: %s\n",
  17. clish_ptype_preprocess__get_name(this->preprocess));
  18. lub_dump_undent();
  19. }
  20. /*--------------------------------------------------------- */