Source code: com/port80/graph/dot/parser/ASTUnit.java
1 /* Generated By:JJTree: Do not edit this line. ASTUnit.java */
2
3 //
4 // Copyright(c) 2002, Chris Leung
5 //
6
7 package com.port80.graph.dot.parser;
8
9 public class ASTUnit extends SimpleNode {
10
11 public ASTUnit(int id) {
12 super(id);
13 }
14 public ASTUnit(DotParser p, int id) {
15 super(p, id);
16 }
17 /** Accept the visitor. **/
18 public Object jjtAccept(DotParserVisitor visitor, Object data) {
19 return visitor.visit(this, data);
20 }
21
22 ////////////////////////////////////////////////////////////////////////
23
24 private int graphType = 0;
25
26 ////////////////////////////////////////////////////////////////////////
27
28 public void init(int type, String name) {
29 this.graphType = type;
30 this.name = name;
31 }
32
33 public int getGraphType() {
34 return graphType;
35 }
36
37 ////////////////////////////////////////////////////////////////////////
38
39 }