Add DeclarationAnnotation

This commit is contained in:
Jason Cobb
2019-12-19 21:45:16 -05:00
parent bc71f61467
commit be14d5f28d
3 changed files with 13 additions and 0 deletions
+4
View File
@@ -82,6 +82,10 @@ struct ScopableAnnotation
ASTNode const* scope = nullptr;
};
struct DeclarationAnnotation: ASTAnnotation, ScopableAnnotation
{
};
struct ImportAnnotation: ASTAnnotation
{
/// The absolute path of the source unit to import.