Code::is_body reduction

This commit is contained in:
2024-12-02 00:18:54 -05:00
parent 007bfa0cb0
commit 5cd69e1742
4 changed files with 11 additions and 271 deletions

View File

@ -354,15 +354,6 @@ CodeBody gen_ast_inlines()
char const* code_impl_tmpl = stringize(
\n
inline
bool <typename>::is_body()
{
if ( ast == nullptr )
{
return rcast(AST*, ast)->is_body();
}
return false;
}
inline
bool <typename>::is_equal( Code other )
{
if ( ast == nullptr || other.ast == nullptr )