Struct DeclOpt
pub struct DeclOpt {
pub indentation: u32,
pub is_cpp: bool,
pub show_extended_annotations: bool,
pub include_types: bool,
pub include_locals: bool,
pub desugar: bool,
}Expand description
Configuration options for generated code from debug info.
This structure configures how the debug information (DWARF/PDB) translated into an AST is generated.
Fields§
§indentation: u32§is_cpp: boolPrefer C++ syntax over C syntax.
If true, the output will use C++ features (e.g. bool keyword)
show_extended_annotations: boolEnable extended comments and annotations.
If true, the generated code will include comments containing low-level details such as memory addresses, offsets, type sizes, and original source locations.
include_types: boolInclude full type definitions.
If true, the output will contain the full definition of types (structs, enums, unions).
include_locals: boolEmit a function body listing its local / stack variables
desugar: boolResolve type aliases (sugar).
If true, typedef and type aliases are replaced by their underlying
canonical types (e.g., uint32_t might become unsigned int).