Aspect.jadd 424 Bytes
Newer Older
Johannes Mey's avatar
Johannes Mey committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
aspect Aspect {

  public static final String ASTNode.aspectIndent = "  ";

  public String Program.generateAspect() {
    StringBuilder sb = new StringBuilder();
    generateAspect(sb);
    return sb.toString();
  }

  public void Program.generateAspect(StringBuilder sb) {

    sb.append("aspect ROS2RAG {\n");

    // TODO generate getters and setters for ROS2RAG terminals (and attributes?)

    sb.append("}\n");
  }
}