Changes in src/AST/Stmt.hpp [2bb4a01:e0115286]
- File:
-
- 1 edited
-
src/AST/Stmt.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Stmt.hpp
r2bb4a01 re0115286 89 89 90 90 91 //================================================================================================= 92 /// This disgusting and giant piece of boiler-plate is here to solve a cyclic dependency 93 /// remove only if there is a better solution 94 /// The problem is that ast::ptr< ... > uses increment/decrement which won't work well with 95 /// forward declarations 96 inline void increment( const class Stmt * node, Node::ref_type ref ) { node->increment( ref ); } 97 inline void decrement( const class Stmt * node, Node::ref_type ref ) { node->decrement( ref ); } 98 inline void increment( const class CompoundStmt * node, Node::ref_type ref ) { node->increment( ref ); } 99 inline void decrement( const class CompoundStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 100 inline void increment( const class ExprStmt * node, Node::ref_type ref ) { node->increment( ref ); } 101 inline void decrement( const class ExprStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 102 inline void increment( const class AsmStmt * node, Node::ref_type ref ) { node->increment( ref ); } 103 inline void decrement( const class AsmStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 104 inline void increment( const class DirectiveStmt * node, Node::ref_type ref ) { node->increment( ref ); } 105 inline void decrement( const class DirectiveStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 106 inline void increment( const class IfStmt * node, Node::ref_type ref ) { node->increment( ref ); } 107 inline void decrement( const class IfStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 108 inline void increment( const class WhileStmt * node, Node::ref_type ref ) { node->increment( ref ); } 109 inline void decrement( const class WhileStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 110 inline void increment( const class ForStmt * node, Node::ref_type ref ) { node->increment( ref ); } 111 inline void decrement( const class ForStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 112 inline void increment( const class SwitchStmt * node, Node::ref_type ref ) { node->increment( ref ); } 113 inline void decrement( const class SwitchStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 114 inline void increment( const class CaseStmt * node, Node::ref_type ref ) { node->increment( ref ); } 115 inline void decrement( const class CaseStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 116 inline void increment( const class BranchStmt * node, Node::ref_type ref ) { node->increment( ref ); } 117 inline void decrement( const class BranchStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 118 inline void increment( const class ReturnStmt * node, Node::ref_type ref ) { node->increment( ref ); } 119 inline void decrement( const class ReturnStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 120 inline void increment( const class ThrowStmt * node, Node::ref_type ref ) { node->increment( ref ); } 121 inline void decrement( const class ThrowStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 122 inline void increment( const class TryStmt * node, Node::ref_type ref ) { node->increment( ref ); } 123 inline void decrement( const class TryStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 124 inline void increment( const class CatchStmt * node, Node::ref_type ref ) { node->increment( ref ); } 125 inline void decrement( const class CatchStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 126 inline void increment( const class FinallyStmt * node, Node::ref_type ref ) { node->increment( ref ); } 127 inline void decrement( const class FinallyStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 128 inline void increment( const class WaitForStmt * node, Node::ref_type ref ) { node->increment( ref ); } 129 inline void decrement( const class WaitForStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 130 inline void increment( const class WithStmt * node, Node::ref_type ref ) { node->increment( ref ); } 131 inline void decrement( const class WithStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 132 inline void increment( const class DeclStmt * node, Node::ref_type ref ) { node->increment( ref ); } 133 inline void decrement( const class DeclStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 134 inline void increment( const class NullStmt * node, Node::ref_type ref ) { node->increment( ref ); } 135 inline void decrement( const class NullStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 136 inline void increment( const class ImplicitCtorDtorStmt * node, Node::ref_type ref ) { node->increment( ref ); } 137 inline void decrement( const class ImplicitCtorDtorStmt * node, Node::ref_type ref ) { node->decrement( ref ); } 138 91 139 } 92 140
Note:
See TracChangeset
for help on using the changeset viewer.