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 ANoopCommand extends PCommand 9 { 10 ANoopCommand()11 public ANoopCommand() 12 { 13 // Constructor 14 } 15 16 @Override clone()17 public Object clone() 18 { 19 return new ANoopCommand(); 20 } 21 apply(Switch sw)22 public void apply(Switch sw) 23 { 24 ((Analysis) sw).caseANoopCommand(this); 25 } 26 27 @Override toString()28 public String toString() 29 { 30 return ""; 31 } 32 33 @Override removeChild(@uppressWarnings"unused") Node child)34 void removeChild(@SuppressWarnings("unused") Node child) 35 { 36 // Remove child 37 throw new RuntimeException("Not a child."); 38 } 39 40 @Override replaceChild(@uppressWarnings"unused") Node oldChild, @SuppressWarnings("unused") Node newChild)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