KickJava   Java API By Example, From Geeks To Geeks.

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


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 TMod extends Token
8 {
9     public TMod()
10     {
11         super.setText("%");
12     }
13
14     public TMod(int line, int pos)
15     {
16         super.setText("%");
17         setLine(line);
18         setPos(pos);
19     }
20
21     public Object JavaDoc clone()
22     {
23       return new TMod(getLine(), getPos());
24     }
25
26     public void apply(Switch sw)
27     {
28         ((Analysis) sw).caseTMod(this);
29     }
30
31     public void setText(String JavaDoc text)
32     {
33         throw new RuntimeException JavaDoc("Cannot change TMod text.");
34     }
35 }
36
Popular Tags