Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Print.cpp

    ref1da0e2 re874605  
    401401        }
    402402
     403        virtual const ast::DeclWithType * visit( const ast::InlineValueDecl * node ) override final {
     404                os << "inline ";
     405                if ( ! node->name.empty() ) os << node->name;
     406
     407                return node;
     408        }
     409
    403410        virtual const ast::Decl * visit( const ast::UnionDecl * node ) override final {
    404411                print(node);
     
    899906                postprint( node );
    900907
     908                return node;
     909        }
     910
     911        virtual const ast::Expr * visit( const ast::QualifiedNameExpr * node ) override final {
     912                os << "QualifiedNameExpr: " << std::endl;
     913                os << ++indent << "Type: ";
     914                safe_print( node->type_decl );
     915                os << std::endl;
     916                os <<  indent << "Name: " << node->name  << std::endl;
     917                --indent;
     918                postprint( node );
    901919                return node;
    902920        }
Note: See TracChangeset for help on using the changeset viewer.