parent
779d5cf57a
commit
1aeaa2a644
6 changed files with 33 additions and 5 deletions
|
|
@ -44,6 +44,8 @@ const int sectionIndicatorsSize = sizeof(sectionIndicators) / sizeof(*sectionInd
|
|||
const char *simpleCommands[] = {
|
||||
// the first line are escaped chars, except \~, which is a language ID command.
|
||||
"n", "$", "@", "\\", "&", "~", "<", ">", "#", "%", "\"", ".", "::",
|
||||
// Member groups, which we currently ignore.
|
||||
"{", "}",
|
||||
"endcond",
|
||||
"callgraph", "callergraph", "showinitializer", "hideinitializer", "internal",
|
||||
"nosubgrouping", "public", "publicsection", "private", "privatesection",
|
||||
|
|
|
|||
|
|
@ -238,7 +238,7 @@ private:
|
|||
* Method for Adding a Simple Command
|
||||
* Format: @command
|
||||
* Plain commands, such as newline etc, they contain no other data
|
||||
* \n \\ \@ \& \$ \# \< \> \%
|
||||
* \n \\ \@ \& \$ \# \< \> \% \{ \}
|
||||
*/
|
||||
void addSimpleCommand(const std::string &theCommand, DoxygenEntityList &doxyList);
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -5053,8 +5053,11 @@ public:
|
|||
Printv(f_shadow, tab4, symname, variable_annotation, " = property(", module, ".", getname, NIL);
|
||||
if (assignable)
|
||||
Printv(f_shadow, ", ", module, ".", setname, NIL);
|
||||
if (have_docstring(n))
|
||||
Printv(f_shadow, ", doc=", docstring(n, AUTODOC_VAR, tab4), NIL);
|
||||
if (have_docstring(n)) {
|
||||
String *s = docstring(n, AUTODOC_VAR, tab4);
|
||||
if (Len(s))
|
||||
Printv(f_shadow, ", doc=", s, NIL);
|
||||
}
|
||||
Printv(f_shadow, ")\n", NIL);
|
||||
Delete(variable_annotation);
|
||||
Delete(mname);
|
||||
|
|
@ -5121,8 +5124,11 @@ public:
|
|||
Printv(f_shadow, tab4, symname, " = property(", module, ".", getname, NIL);
|
||||
if (assignable)
|
||||
Printv(f_shadow, ", ", module, ".", setname, NIL);
|
||||
if (have_docstring(n))
|
||||
Printv(f_shadow, ", doc=", docstring(n, AUTODOC_VAR, tab4), NIL);
|
||||
if (have_docstring(n)) {
|
||||
String *s = docstring(n, AUTODOC_VAR, tab4);
|
||||
if (Len(s))
|
||||
Printv(f_shadow, ", doc=", s, NIL);
|
||||
}
|
||||
Printv(f_shadow, ")\n", NIL);
|
||||
}
|
||||
String *getter = Getattr(n, "pybuiltin:getter");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue