/******************************************************************************* * Copyright (c) 2009-2013 CWI * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * * Jurgen J. Vinju - Jurgen.Vinju@cwi.nl - CWI * * Tijs van der Storm - Tijs.van.der.Storm@cwi.nl * * Paul Klint - Paul.Klint@cwi.nl - CWI * * Arnold Lankamp - Arnold.Lankamp@cwi.nl * * Anastasia Izmaylova - A.Izmaylova@cwi.nl - CWI *******************************************************************************/ package org.rascalmpl.interpreter.result; import org.rascalmpl.interpreter.IEvaluatorContext; import org.rascalmpl.value.IValue; import org.rascalmpl.value.type.Type; public class VoidResult extends Result<VoidResult.Void> { abstract class Void implements IValue {} public VoidResult(Type type, IEvaluatorContext ctx) { super(type, null, ctx); } @Override public boolean isVoid() { return true; } }