Changeset 3945abe
- Timestamp:
- Jul 14, 2021, 4:07:43 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- ccb6fd8
- Parents:
- b238618
- Location:
- src/AST
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Fwd.hpp
rb238618 r3945abe 117 117 class TupleType; 118 118 class TypeofType; 119 class VTableType; 119 120 class VarArgsType; 120 121 class ZeroType; -
src/AST/Pass.hpp
rb238618 r3945abe 213 213 const ast::Type * visit( const ast::TupleType * ) override final; 214 214 const ast::Type * visit( const ast::TypeofType * ) override final; 215 const ast::Type * visit( const ast::VTableType * ) override final; 215 216 const ast::Type * visit( const ast::VarArgsType * ) override final; 216 217 const ast::Type * visit( const ast::ZeroType * ) override final; -
src/AST/Pass.impl.hpp
rb238618 r3945abe 1873 1873 1874 1874 //-------------------------------------------------------------------------- 1875 // VTableType 1876 template< typename core_t > 1877 const ast::Type * ast::Pass< core_t >::visit( const ast::VTableType * node ) { 1878 VISIT_START( node ); 1879 1880 VISIT( 1881 maybe_accept( node, &VTableType::base ); 1882 ) 1883 1884 VISIT_END( Type, node ); 1885 } 1886 1887 //-------------------------------------------------------------------------- 1875 1888 // VarArgsType 1876 1889 template< typename core_t > -
src/AST/Print.cpp
rb238618 r3945abe 1416 1416 } 1417 1417 1418 virtual const ast::Type * visit( const ast::VTableType * node ) override final { 1419 preprint( node ); 1420 os << "vtable for "; 1421 safe_print( node->base ); 1422 1423 return node; 1424 } 1425 1418 1426 virtual const ast::Type * visit( const ast::VarArgsType * node ) override final { 1419 1427 preprint( node ); -
src/AST/Visitor.hpp
rb238618 r3945abe 105 105 virtual const ast::Type * visit( const ast::TupleType * ) = 0; 106 106 virtual const ast::Type * visit( const ast::TypeofType * ) = 0; 107 virtual const ast::Type * visit( const ast::VTableType * ) = 0; 107 108 virtual const ast::Type * visit( const ast::VarArgsType * ) = 0; 108 109 virtual const ast::Type * visit( const ast::ZeroType * ) = 0;
Note: See TracChangeset
for help on using the changeset viewer.