-redef class ATypeAtArg
- private init empty_init do end
-
- init init_atypeatarg (
- n_type: nullable AType
- )
- do
- empty_init
- _n_type = n_type.as(not null)
- n_type.parent = self
- end
-
- redef fun replace_child(old_child: ANode, new_child: nullable ANode)
- do
- if _n_type == old_child then
- n_type = new_child.as(AType)
- return
- end
- end
-
- redef fun n_type=(node)
- do
- _n_type = node
- node.parent = self
- end
-
-
- redef fun visit_all(v: Visitor)
- do
- v.enter_visit(_n_type)
- end
-end
-redef class AExprAtArg
- private init empty_init do end
-
- init init_aexpratarg (
- n_expr: nullable AExpr
- )
- do
- empty_init
- _n_expr = n_expr.as(not null)
- n_expr.parent = self
- end
-
- redef fun replace_child(old_child: ANode, new_child: nullable ANode)
- do
- if _n_expr == old_child then
- n_expr = new_child.as(AExpr)
- return
- end
- end
-
- redef fun n_expr=(node)
- do
- _n_expr = node
- node.parent = self
- end
-
-
- redef fun visit_all(v: Visitor)
- do
- v.enter_visit(_n_expr)
- end
-end
-redef class AAtAtArg
- private init empty_init do end
-
- init init_aatatarg (
- n_annotations: nullable AAnnotations
- )
- do
- empty_init
- _n_annotations = n_annotations.as(not null)
- n_annotations.parent = self
- end
-
- redef fun replace_child(old_child: ANode, new_child: nullable ANode)
- do
- if _n_annotations == old_child then
- n_annotations = new_child.as(AAnnotations)
- return
- end
- end
-
- redef fun n_annotations=(node)
- do
- _n_annotations = node
- node.parent = self
- end
-
-
- redef fun visit_all(v: Visitor)
- do
- v.enter_visit(_n_annotations)
- end
-end