Dumper displays the AST to the screen
Public Member functions Summary: | |
constructor | Dumper() [Source] |
void | onlyShow(const std::string& fname) Sets to only show decls with given filename [Source] |
std::string | formatParam(AST::Parameter*) [Source] |
void | visit(const std::vector<AST::Declaration*>&) [Source] |
void | visit(const std::vector<AST::Comment*>&) [Source] |
virtual void | visit_macro(AST::Macro*) [Source] |
virtual void | visit_declaration(AST::Declaration*) [Source] |
virtual void | visit_scope(AST::Scope*) [Source] |
virtual void | visit_namespace(AST::Namespace*) [Source] |
virtual void | visit_forward(AST::Forward*) [Source] |
virtual void | visit_class(AST::Class*) [Source] |
virtual void | visit_function(AST::Function*) [Source] |
virtual void | visit_variable(AST::Variable*) [Source] |
virtual void | visit_typedef(AST::Typedef*) [Source] |
virtual void | visit_enum(AST::Enum*) [Source] |
virtual void | visit_enumerator(AST::Enumerator*) [Source] |
Private Member functions Summary: | |
void | indent() Increases indent [Source] |
void | undent() Decreases indent [Source] |
Private Data members Summary: | |
int | m_indent The indent depth [Source] |
std::string | m_indent_string The indent string [Source] |
std::string | m_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 |