Changes in src/SynTree/Expression.cc [2a4b088:3be261a]
- File:
-
- 1 edited
-
src/SynTree/Expression.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.cc
r2a4b088 r3be261a 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Expression.cc -- 7 // Expression.cc -- 8 8 // 9 9 // Author : Richard C. Bilson … … 422 422 } 423 423 424 AsmExpr::AsmExpr( const AsmExpr & other ) : inout( maybeClone( other.inout ) ), constraint( maybeClone( other.constraint ) ), operand( maybeClone( other.operand ) ) {} 425 426 424 427 void AsmExpr::print( std::ostream &os, int indent ) const { 425 428 os << "Asm Expression: " << std::endl; … … 429 432 } 430 433 434 UntypedValofExpr::UntypedValofExpr( const UntypedValofExpr & other ) : Expression( other ), body ( maybeClone( other.body ) ) {} 435 436 UntypedValofExpr::~UntypedValofExpr() { delete body; } 437 431 438 void UntypedValofExpr::print( std::ostream &os, int indent ) const { 432 439 os << std::string( indent, ' ' ) << "Valof Expression: " << std::endl; … … 434 441 get_body()->print( os, indent + 2 ); 435 442 } 443 444 436 445 437 446 std::ostream & operator<<( std::ostream & out, Expression * expr ) {
Note:
See TracChangeset
for help on using the changeset viewer.