Skip to content
← Back

src/syntax/trees/definitions/definition.ghul

1
namespace Syntax.Trees.Definitions is
2
use Source
3
4
class Definition: Trees.Node abstract is
5
without_pragmas: Definition => self
6
7
// The `///` doc comment directly above this declaration, set by
8
// ATTACH_DOC_COMMENTS after parsing.
9
doc: string? public
10
11
init(location: LOCATION) is
12
super.init(location)
13
si
14
15
accept(visitor: Visitor) is
16
visitor.visit(self)
17
si
18
si
19
si