TPackage.java :  » Parser » sablecc » org » sablecc » sablecc » node » Java Open Source

Java Open Source » Parser » sablecc 
sablecc » org » sablecc » sablecc » node » TPackage.java
/* This file was generated by SableCC (http://www.sablecc.org/). */

package org.sablecc.sablecc.node;

import org.sablecc.sablecc.analysis.*;

public final class TPackage extends Token
{
  public TPackage()
  {
    super.setText("Package");
  }

  public TPackage(int line, int pos)
  {
    super.setText("Package");
    setLine(line);
    setPos(pos);
  }

  public Object clone()
  {
    return new TPackage(getLine(), getPos());
  }

  public void apply(Switch sw)
  {
    ((Analysis) sw).caseTPackage(this);
  }

  public void setText(String text)
  {
    throw new RuntimeException("Cannot change TPackage text.");
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.