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