package diffast-langs-cpp-parsing

  1. Overview
  2. Docs

Module Pinfo.TypeSpecSource

Sourcetype t =
  1. | Simple of Common.name
  2. | Decltype of string
  3. | Placeholder of PlaceholderType.t
  4. | Char
  5. | Char8_t
  6. | Char16_t
  7. | Char32_t
  8. | Wchar_t
  9. | Bool
  10. | Short
  11. | Int
  12. | Long
  13. | Signed
  14. | Unsigned
  15. | Float
  16. | Double
  17. | Void
  18. | UnsignedInt
  19. | UnsignedLong
  20. | Elaborated of ElaboratedType.t
  21. | Typename of string
  22. | CvQualifier of CvQualifier.t
Sourceval get_cv_qualifier : t -> CvQualifier.t
Sourceval get_ident_opt : t -> Common.name option
Sourceval get_name : t -> Common.name
Sourceval to_string : t -> Common.name
Sourceval is_definite_type : t -> bool
Sourceval is_basic_type : t -> bool
Sourceval is_elaborated_type : t -> bool
Sourceval is_elaborated_type_type : t -> bool
Sourceval is_elaborated_type_enum_class : t -> bool
Sourceval is_typename : t -> bool
Sourceval encode : t list -> string