Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Token.java

00001 package edu.ksu.cis.bandera.specification.predicate.node;
00002 
00003 /* This file was generated by SableCC (http://www.sable.mcgill.ca/sablecc/). */
00004 
00005 public abstract class Token extends Node
00006 {
00007     private String text;
00008     private int line;
00009     private int pos;
00010 
00011     public int getLine()
00012     {
00013         return line;
00014     }
00015     public int getPos()
00016     {
00017         return pos;
00018     }
00019     public String getText()
00020     {
00021         return text;
00022     }
00023     void removeChild(Node child)
00024     {
00025     }
00026     void replaceChild(Node oldChild, Node newChild)
00027     {
00028     }
00029     public void setLine(int line)
00030     {
00031         this.line = line;
00032     }
00033     public void setPos(int pos)
00034     {
00035         this.pos = pos;
00036     }
00037     public void setText(String text)
00038     {
00039         this.text = text;
00040     }
00041     public String toString()
00042     {
00043         return text + " ";
00044     }
00045 }

Generated at Thu Feb 7 06:57:39 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001