Skip to content
← Back

src/syntax/trees/bodies/innate.ghul

1
namespace Syntax.Trees.Bodies is
2
use Source;
3
4
class INNATE(location: LOCATION, name: Identifiers.Identifier): Body is
5
super(location);
6
7
accept(visitor: Visitor) is
8
visitor.visit(self);
9
si
10
11
walk(visitor: Visitor) is
12
if visitor.pre(self) then
13
name.walk(visitor);
14
fi
15
16
accept(visitor);
17
si
18
si
19
si