mirror of
https://github.com/Ed94/gencpp.git
synced 2025-07-04 04:41:02 -07:00
Code::is_valid rection
This commit is contained in:
@ -133,6 +133,12 @@ bool is_equal( Code self, Code other )
|
||||
return is_equal( self.ast, other.ast );
|
||||
}
|
||||
|
||||
inline
|
||||
bool is_valid(Code self)
|
||||
{
|
||||
return self.ast != nullptr && self.ast->Type != CodeT::Invalid;
|
||||
}
|
||||
|
||||
inline
|
||||
Code& Code::operator ++()
|
||||
{
|
||||
|
Reference in New Issue
Block a user