00001 package edu.ksu.cis.bandera.specification.predicate.node;
00002
00003
00004
00005 import edu.ksu.cis.bandera.specification.predicate.analysis.*;
00006
00007 public final class TShiftLeft extends Token
00008 {
00009 public TShiftLeft()
00010 {
00011 super.setText("<<");
00012 }
00013 public TShiftLeft(int line, int pos)
00014 {
00015 super.setText("<<");
00016 setLine(line);
00017 setPos(pos);
00018 }
00019 public void apply(Switch sw)
00020 {
00021 ((Analysis) sw).caseTShiftLeft(this);
00022 }
00023 public Object clone()
00024 {
00025 return new TShiftLeft(getLine(), getPos());
00026 }
00027 public void setText(String text)
00028 {
00029 throw new RuntimeException("Cannot change TShiftLeft text.");
00030 }
00031 }