Modules | Files | Inheritance Tree | Inheritance Graph | Name Index | Config
package Synopsis::Parser::C++
class Dumper
Files: Synopsis/Parser/C++/syn/dumper.hh
Dumper-inheritance Scopes/Synopsis/Parser/C++/AST/Visitor.html Scopes/Synopsis/Parser/C++/TypeFormatter.html Scopes/Synopsis/Parser/C++/Types/Visitor.html

Dumper displays the AST to the screen


Public Member functions Summary:
 constructorDumper() [Source]
 voidonlyShow(const std::string& fname)
Sets to only show decls with given filename [Source]
 std::stringformatParam(AST::Parameter*) [Source]
 voidvisit(const std::vector<AST::Declaration*>&) [Source]
 voidvisit(const std::vector<AST::Comment*>&) [Source]
virtual voidvisit_macro(AST::Macro*) [Source]
virtual voidvisit_declaration(AST::Declaration*) [Source]
virtual voidvisit_scope(AST::Scope*) [Source]
virtual voidvisit_namespace(AST::Namespace*) [Source]
virtual voidvisit_forward(AST::Forward*) [Source]
virtual voidvisit_class(AST::Class*) [Source]
virtual voidvisit_function(AST::Function*) [Source]
virtual voidvisit_variable(AST::Variable*) [Source]
virtual voidvisit_typedef(AST::Typedef*) [Source]
virtual voidvisit_enum(AST::Enum*) [Source]
virtual voidvisit_enumerator(AST::Enumerator*) [Source]

Private Member functions Summary:
 voidindent()
Increases indent [Source]
 voidundent()
Decreases indent [Source]

Private Data members Summary:
intm_indent
The indent depth [Source]
std::stringm_indent_string
The indent string [Source]
std::stringm_filename
Only show this filename, if set [Source]

Public Member functions Inherited from AST::Visitor
visit_inheritance, visit_const, visit_operation, visit_parameter

Public Member functions Inherited from TypeFormatter
push_scope, pop_scope, format, visit_type, visit_unknown, visit_modifier, visit_named, visit_base, visit_declared, visit_template_type, visit_parameterized, visit_func_ptr

Protected Member functions Inherited from TypeFormatter
colonate

Protected Data members Inherited from TypeFormatter
m_type, m_scope, m_scope_stack, m_fptr_id

Public Member functions Inherited from Types::Visitor
visit_array, visit_dependent