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