package diffast-langs-cpp-parsing

  1. Overview
  2. Docs

Module Name.SpecSource

Sourcetype access_spec =
  1. | Aprivate
  2. | Aprotected
  3. | Apublic
  4. | Amacro of Common.ident
Sourceval access_spec_to_string : access_spec -> Common.ident
Sourcetype param_spec =
  1. | Pclass
  2. | Ptypename
  3. | PclassPack
  4. | PtypenamePack
  5. | Pconcept of string * Common.ident
Sourceval param_spec_to_string : param_spec -> string
Sourceval param_spec_is_concept : param_spec -> bool
Sourceclass base_spec : ?access_spec:access_spec option option -> ?is_virtual:bool option -> ?is_pack_expansion: bool option -> string -> object ... end
Sourceclass class_spec : ?base_specs:base_spec list option -> ?alt_base_specs_list:base_spec list list option -> string -> object ... end
Sourceclass enum_base : ?macro_name:Common.name option -> TypeSpec.t list -> object ... end
Sourceclass enum_spec : ?enum_base:enum_base option option -> Common.ident -> object ... end
Sourceclass mem_spec : access_spec option -> Type.t_ -> object ... end
Sourcetype kind =
  1. | Namespace of unit -> unit
  2. | UsingDecl
  3. | UsingEnumDecl
  4. | Template of kind
  5. | TypeParam of param_spec
  6. | Param of Type.t_
  7. | Class of class_spec
  8. | Struct of class_spec
  9. | Union of class_spec
  10. | Enum of enum_spec
  11. | EnumClass of enum_spec
  12. | EnumStruct of enum_spec
  13. | EnumMacro of Common.ident * enum_spec
  14. | Type
  15. | Function of Type.t_
  16. | FParam of Type.t_
  17. | Member of mem_spec
  18. | Variable of Type.t_
  19. | Enumerator of Type.t_
  20. | MacroObj
  21. | MacroFun
  22. | IdMacroFun
  23. | Label
Sourceval kind_to_string : kind -> string
Sourceval type_of_kind : kind -> Type.t_
Sourceval make_templ : kind -> kind
Sourceval make_typaram : param_spec -> kind
Sourceval make_param : Type.t -> kind
Sourceval make_function : Type.t -> kind
Sourceval make_fparam : Type.t -> kind
Sourceval make_variable : Type.t -> kind
Sourceval make_enumerator : Type.t -> kind
Sourceval make_member : access_spec option -> Type.t -> kind
Sourceclass c : ?bid_opt:BID.t option option -> ?prefix:string option -> ?is_local: bool option -> ?section_info_opt:pp_if_section_info option option -> Astloc.t -> int -> Common.ident -> kind -> object ... end
OCaml

Innovation. Community. Security.