Skip to content
← Back

src/syntax/trees/statements/let.ghul

1
namespace Syntax.Trees.Statements is
2
use Source;
3
4
class LET(location: LOCATION, want_dispose: bool, variables: Variables.LIST): Statement is
5
expects_semicolon: bool => true;
6
7
super(location);
8
9
init(..) is
10
if want_dispose then
11
variables.mark_want_dispose();
12
fi
13
si
14
15
accept(visitor: Visitor) is
16
visitor.visit(self);
17
si
18
19
walk(visitor: Visitor) is
20
if !visitor.pre(self) then
21
variables.walk(visitor);
22
fi
23
24
accept(visitor);
25
si
26
si
27
si