String::is_equal added (bad last commit)
This commit is contained in:
1 parent
f61c1c560d
commit
9e88cb8724
6 files changed
+302
-7
No files matched your search
@@ -368,6 +368,15 @@ CodeBody gen_ast_inlines()
|
||||
return { rcast(AST*, ast)->duplicate() };
|
||||
}
|
||||
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 )
|
||||
|
||||
Reference in new issue
Block a user