KickJava   Java API By Example, From Geeks To Geeks.

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


1 /* This file was generated by SableCC (http://www.sablecc.org/). */
2
3 package soot.jimple.parser.node;
4
5 import soot.jimple.parser.analysis.*;
6
7 public final class TReturn extends Token
8 {
9     public TReturn()
10     {
11         super.setText("return");
12     }
13
14     public TReturn(int line, int pos)
15     {
16         super.setText("return");
17         setLine(line);
18         setPos(pos);
19     }
20
21     public Object JavaDoc clone()
22     {
23       return new TReturn(getLine(), getPos());
24     }
25
26     public void apply(Switch sw)
27     {
28         ((Analysis) sw).caseTReturn(this);
29     }
30
31     public void setText(String JavaDoc text)
32     {
33         throw new RuntimeException JavaDoc("Cannot change TReturn text.");
34     }
35 }
36
Popular Tags