I want to generate some C++ code with recursive struct definitions (structs in structs) and I want them to be indented properly. However I cannot simply print out some blanks like @{' '*ind_lvl} because val.trim() is called in line 251 in ribosome.py.
How can I do that? Is this possible with Ribosome?
I want to generate some C++ code with recursive struct definitions (structs in structs) and I want them to be indented properly. However I cannot simply print out some blanks like
@{' '*ind_lvl}
becauseval.trim()
is called in line 251 in ribosome.py. How can I do that? Is this possible with Ribosome?