1 /*******************************************************************************
2 * Copyright (c) 2007, 2010 Association for Decentralized Information Management
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * VTT Technical Research Centre of Finland - initial API and implementation
11 *******************************************************************************/
12 /* This file was generated by SableCC (http://www.sablecc.org/). */
14 package org.simantics.spreadsheet.common.expression.node;
16 @SuppressWarnings("nls")
17 public abstract class Token extends Node
23 public String getText()
28 public void setText(@SuppressWarnings("hiding") String text)
38 public void setLine(@SuppressWarnings("hiding") int line)
48 public void setPos(@SuppressWarnings("hiding") int pos)
54 public String toString()
56 return this.text + " ";
60 void removeChild(@SuppressWarnings("unused") Node child)
62 throw new RuntimeException("Not a child.");
66 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
68 throw new RuntimeException("Not a child.");