Appearance
| 1 | namespace Syntax.Trees.Statements is | |
| 2 | ||
| 3 | use Source; | |
| 4 | ||
| 5 | class PRAGMA(location: LOCATION, pragma: Pragmas.PRAGMA, statement: Statement): Statement is | |
| 6 | statement: Statement? public; | |
| 7 | ||
| 8 | super(location); | |
| 9 | ||
| 10 | accept(visitor: Visitor) is | |
| 11 | visitor.visit(self); | |
| 12 | si | |
| 13 | ||
| 14 | walk(visitor: Visitor) is | |
| 15 | if !visitor.pre(self) then | |
| 16 | pragma.walk(visitor); | |
| 17 | ||
| 18 | if let self.statement? then | |
| 19 | statement.walk(visitor); | |
| 20 | fi | |
| 21 | fi | |
| 22 | ||
| 23 | accept(visitor); | |
| 24 | si | |
| 25 | si | |
| 26 | si |