KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > soot > jimple > parser > node > Token


1 /* This file was generated by SableCC (http://www.sablecc.org/). */
2
3 package soot.jimple.parser.node;
4
5 public abstract class Token extends Node
6 {
7     private String JavaDoc text;
8     private int line;
9     private int pos;
10
11     public String JavaDoc getText()
12     {
13         return text;
14     }
15
16     public void setText(String JavaDoc text)
17     {
18         this.text = text;
19     }
20
21     public int getLine()
22     {
23         return line;
24     }
25
26     public void setLine(int line)
27     {
28         this.line = line;
29     }
30
31     public int getPos()
32     {
33         return pos;
34     }
35
36     public void setPos(int pos)
37     {
38         this.pos = pos;
39     }
40
41     public String JavaDoc toString()
42     {
43         return text + " ";
44     }
45
46     void removeChild(Node child)
47     {
48     }
49
50     void replaceChild(Node oldChild, Node newChild)
51     {
52     }
53 }
54
Popular Tags