Changes in src/AST/Print.cpp [b2ea0cd:acb33f15]
- File:
-
- 1 edited
-
src/AST/Print.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Print.cpp
rb2ea0cd racb33f15 1576 1576 } 1577 1577 1578 virtual const ast::Type * visit( const ast::EnumAttrType * node ) override final {1579 preprint( node );1580 os << "enum attr ";1581 if ( node->attr == ast::EnumAttribute::Label ) {1582 os << "Label ";1583 } else if ( node->attr == ast::EnumAttribute::Value ) {1584 os << "Value ";1585 } else {1586 os << "Posn ";1587 }1588 (*(node->instance)).accept( *this );1589 return node;1590 }1591 1592 1578 virtual const ast::Type * visit( const ast::TraitInstType * node ) override final { 1593 1579 preprint( node );
Note:
See TracChangeset
for help on using the changeset viewer.