TComplement.java :  » Science » jmatlab » org » jmatlab » node » Java Open Source

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

package org.jmatlab.node;

import org.jmatlab.analysis.*;

public final class TComplement extends Token
{
    public TComplement()
    {
        super.setText("!");
    }

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

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

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

    public void setText(String text)
    {
        throw new RuntimeException("Cannot change TComplement 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.