1 package org.glassbox.dotparser;
2
3 public class ASTcompass_pt extends SimpleNode {
4 private String _orientation;
5 public ASTcompass_pt(int id) {
6 super(id);
7 }
8
9 public ASTcompass_pt(DOTParser p, int id) {
10 super(p, id);
11 }
12
13 protected void setOrientation(String orientation) {
14 _orientation = orientation;
15 }
16
17 public String getOrientation() {
18 return _orientation;
19 }
20
21 public String toString() {
22 return "compass_pt: "+_orientation;
23 }
24
25 /*** Accept the visitor. **/
26 public Object jjtAccept(DOTParserVisitor visitor, Object data) {
27 return visitor.visit(this, data);
28 }
29 }