• 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 TElseIf extends Token
9 {
TElseIf(String text)10     public TElseIf(String text)
11     {
12         setText(text);
13     }
14 
TElseIf(String text, int line, int pos)15     public TElseIf(String text, int line, int pos)
16     {
17         setText(text);
18         setLine(line);
19         setPos(pos);
20     }
21 
22     @Override
clone()23     public Object clone()
24     {
25       return new TElseIf(getText(), getLine(), getPos());
26     }
27 
apply(Switch sw)28     public void apply(Switch sw)
29     {
30         ((Analysis) sw).caseTElseIf(this);
31     }
32 }
33