Changes in / [32a2a99:fa463f1]


Ignore:
Location:
src/SynTree
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.cc

    r32a2a99 rfa463f1  
    5656}
    5757
    58 std::ostream & operator<<( std::ostream & out, Declaration * decl ) {
     58std::ostream & operator<<( std::ostream & out, const Declaration * decl ) {
    5959        decl->print( out );
    6060        return out;
  • src/SynTree/Declaration.h

    r32a2a99 rfa463f1  
    279279};
    280280
    281 std::ostream & operator<<( std::ostream & out, Declaration * decl );
     281std::ostream & operator<<( std::ostream & out, const Declaration * decl );
    282282
    283283#endif // DECLARATION_H
  • src/SynTree/Expression.cc

    r32a2a99 rfa463f1  
    541541}
    542542
    543 std::ostream & operator<<( std::ostream & out, Expression * expr ) {
     543std::ostream & operator<<( std::ostream & out, const Expression * expr ) {
    544544        expr->print( out );
    545545        return out;
  • src/SynTree/Expression.h

    r32a2a99 rfa463f1  
    653653};
    654654
    655 std::ostream & operator<<( std::ostream & out, Expression * expr );
     655std::ostream & operator<<( std::ostream & out, const Expression * expr );
    656656
    657657#endif // EXPRESSION_H
  • src/SynTree/Statement.cc

    r32a2a99 rfa463f1  
    387387}
    388388
    389 std::ostream & operator<<( std::ostream & out, Statement * statement ) {
     389std::ostream & operator<<( std::ostream & out, const Statement * statement ) {
    390390        statement->print( out );
    391391        return out;
  • src/SynTree/Statement.h

    r32a2a99 rfa463f1  
    395395
    396396
    397 std::ostream & operator<<( std::ostream & out, Statement * statement );
     397std::ostream & operator<<( std::ostream & out, const Statement * statement );
    398398
    399399#endif // STATEMENT_H
  • src/SynTree/Type.cc

    r32a2a99 rfa463f1  
    8484}
    8585
    86 std::ostream & operator<<( std::ostream & out, Type * type ) {
     86std::ostream & operator<<( std::ostream & out, const Type * type ) {
    8787        type->print( out );
    8888        return out;
  • src/SynTree/Type.h

    r32a2a99 rfa463f1  
    481481}
    482482
    483 std::ostream & operator<<( std::ostream & out, Type * type );
     483std::ostream & operator<<( std::ostream & out, const Type * type );
    484484
    485485#endif // TYPE_H
Note: See TracChangeset for help on using the changeset viewer.