KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sablecc > sablecc > launcher > syntax3 > node > TLongName


1 /* This file was generated by SableCC (http://www.sablecc.org/). */
2
3 package org.sablecc.sablecc.launcher.syntax3.node;
4
5 import org.sablecc.sablecc.launcher.syntax3.analysis.*;
6
7 @SuppressWarnings JavaDoc("nls")
8 public final class TLongName extends Token
9 {
10     public TLongName(String JavaDoc text)
11     {
12         setText(text);
13     }
14
15     public TLongName(String JavaDoc text, int line, int pos)
16     {
17         setText(text);
18         setLine(line);
19         setPos(pos);
20     }
21
22     @Override JavaDoc
23     public Object JavaDoc clone()
24     {
25       return new TLongName(getText(), getLine(), getPos());
26     }
27
28     public void apply(Switch sw)
29     {
30         ((Analysis) sw).caseTLongName(this);
31     }
32 }
33
Popular Tags