Modules | Files | Inheritance Tree | Inheritance Graph | Name Index | Config
module Synopsis::Formatter::HTML::FormatStrategy
class BaseAST
Files: Synopsis/Formatter/HTML/FormatStrategy.py
BaseAST-inheritance Scopes/Synopsis/Formatter/HTML/FormatStrategy/DetailAST.html Scopes/Synopsis/Formatter/HTML/FormatStrategy/SummaryAST.html Scopes/Synopsis/Formatter/HTML/FormatStrategy/Strategy.html

Base class for SummaryAST and DetailAST.

The two classes SummaryAST and DetailAST are actually very similar in operation, and so most of their methods are defined here. Both of them print out the definition of the declarations, including type, parameters, etc. Some things such as exception specifications are only printed out in the detailed version.


Operations Summary:
 formatParameters(self, parameters)
Returns formatted string for the given parameter list [Source]
 formatDeclaration(self, decl)
The default is to return no type and just the declarations name for the name [Source]
 formatForward(self, decl) [Source]
 formatGroup(self, decl) [Source]
 formatScope(self, decl)
Scopes have their own pages, so return a reference to it [Source]
 formatModule(self, decl) [Source]
 formatMetaModule(self, decl) [Source]
 formatClass(self, decl) [Source]
 formatTypedef(self, decl)
(typedef type, typedef name) [Source]
 formatEnumerator(self, decl)
This is only called by formatEnum [Source]
 formatEnum(self, decl)
(enum name, list of enumerator names) [Source]
 formatVariable(self, decl) [Source]
 formatConst(self, decl)
(const type, const name = const value) [Source]
 formatFunction(self, decl)
(return type, func + params + formatFunctionExceptions) [Source]
 formatOperation(self, decl) [Source]
 formatParameter(self, parameter)
Returns one string for the given parameter [Source]

Operations Inherited from Strategy
__init__, formatModifiers