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 TDocumentationComment extends Token
009    {
010        public TDocumentationComment(String text)
011        {
012            setText(text);
013        }
014    
015        public TDocumentationComment(String text, int line, int pos)
016        {
017            setText(text);
018            setLine(line);
019            setPos(pos);
020        }
021    
022        @Override
023        public Object clone()
024        {
025          return new TDocumentationComment(getText(), getLine(), getPos());
026        }
027    
028        public void apply(Switch sw)
029        {
030            ((Analysis) sw).caseTDocumentationComment(this);
031        }
032    }