Home | History | Annotate | Download | only in node
      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 ANoopExpression extends PExpression
      9 {
     10 
     11     public ANoopExpression()
     12     {
     13         // Constructor
     14     }
     15 
     16     @Override
     17     public Object clone()
     18     {
     19         return new ANoopExpression();
     20     }
     21 
     22     public void apply(Switch sw)
     23     {
     24         ((Analysis) sw).caseANoopExpression(this);
     25     }
     26 
     27     @Override
     28     public String toString()
     29     {
     30         return "";
     31     }
     32 
     33     @Override
     34     void removeChild(@SuppressWarnings("unused") Node child)
     35     {
     36         // Remove child
     37         throw new RuntimeException("Not a child.");
     38     }
     39 
     40     @Override
     41     void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
     42     {
     43         // Replace child
     44         throw new RuntimeException("Not a child.");
     45     }
     46 }
     47