KickJava   Java API By Example, From Geeks To Geeks.

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


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 TAnd extends Token
8 {
9     public TAnd()
10     {
11         super.setText("&");
12     }
13
14     public TAnd(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 TAnd(getLine(), getPos());
24     }
25
26     public void apply(Switch sw)
27     {
28         ((Analysis) sw).caseTAnd(this);
29     }
30
31     public void setText(String JavaDoc text)
32     {
33         throw new RuntimeException JavaDoc("Cannot change TAnd text.");
34     }
35 }
36
Popular Tags