001    /* This file was generated by SableCC (http://www.sablecc.org/). */
002    
003    package org.jdmp.core.script.jdmp.node;
004    
005    import org.jdmp.core.script.jdmp.analysis.*;
006    
007    @SuppressWarnings("nls")
008    public final class TPlus extends Token
009    {
010        public TPlus()
011        {
012            super.setText("+");
013        }
014    
015        public TPlus(int line, int pos)
016        {
017            super.setText("+");
018            setLine(line);
019            setPos(pos);
020        }
021    
022        @Override
023        public Object clone()
024        {
025          return new TPlus(getLine(), getPos());
026        }
027    
028        public void apply(Switch sw)
029        {
030            ((Analysis) sw).caseTPlus(this);
031        }
032    
033        @Override
034        public void setText(@SuppressWarnings("unused") String text)
035        {
036            throw new RuntimeException("Cannot change TPlus text.");
037        }
038    }