Swift: rework IfConfigDecl schema

This commit is contained in:
Paolo Tranquilli
2022-09-20 15:10:25 +02:00
parent 43e5abac39
commit 7ae68fcc03
20 changed files with 17 additions and 213 deletions

View File

@@ -299,15 +299,7 @@ EnumCaseDecl:
IfConfigDecl:
_extends: Decl
_children:
clauses: IfConfigClause*
IfConfigClause:
_extends: Locatable
_children:
condition: Expr?
elements: AstNode*
is_active: predicate
_dir: decl
active_elements: AstNode*
ImportDecl:
_extends: Decl