1 /* This file was generated by SableCC (http://www.sablecc.org/). */
3 package org.simantics.basicexpression.node;
5 @SuppressWarnings("nls")
6 public abstract class Token extends Node
12 public String getText()
17 public void setText(@SuppressWarnings("hiding") String text)
27 public void setLine(@SuppressWarnings("hiding") int line)
37 public void setPos(@SuppressWarnings("hiding") int pos)
43 public String toString()
45 return this.text + " ";
49 void removeChild(@SuppressWarnings("unused") Node child)
51 throw new RuntimeException("Not a child.");
55 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
57 throw new RuntimeException("Not a child.");