handler.mustache 566 Bytes
Newer Older
1
aspect RagConnectHandler {
René Schöne's avatar
René Schöne committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{#Handlers}}
  {{#InUse}}
  private {{ClassName}} {{rootNodeName}}.{{FieldName}} = {{{Construction}}};
  {{#rootTypeComponents}}
  {{#first}}inh {{ClassName}} ASTNode.{{AttributeName}}();{{/first}}
  eq {{rootNodeName}}.get{{name}}().{{AttributeName}}() = {{FieldName}};
  {{/rootTypeComponents}}
  syn {{ClassName}} {{rootNodeName}}.{{AttributeName}}() = {{FieldName}};
  {{/InUse}}
{{/Handlers}}
  public void {{rootNodeName}}.{{closeMethod}}() {
    {{#Handlers}}
    {{#InUse}}{{FieldName}}.close();{{/InUse}}
    {{/Handlers}}
  }
17
}