• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by SableCC (http://www.sablecc.org/). */
2 
3 package com.google.clearsilver.jsilver.syntax.node;
4 
5 import com.google.clearsilver.jsilver.syntax.analysis.*;
6 
7 @SuppressWarnings("nls")
8 public final class TSet extends Token
9 {
TSet()10     public TSet()
11     {
12         super.setText("set");
13     }
14 
TSet(int line, int pos)15     public TSet(int line, int pos)
16     {
17         super.setText("set");
18         setLine(line);
19         setPos(pos);
20     }
21 
22     @Override
clone()23     public Object clone()
24     {
25       return new TSet(getLine(), getPos());
26     }
27 
apply(Switch sw)28     public void apply(Switch sw)
29     {
30         ((Analysis) sw).caseTSet(this);
31     }
32 
33     @Override
setText(@uppressWarnings"unused") String text)34     public void setText(@SuppressWarnings("unused") String text)
35     {
36         throw new RuntimeException("Cannot change TSet text.");
37     }
38 }
39