package tools.vitruv.dsls.reactions.generator;

import org.eclipse.xtext.xbase.impl.XBlockExpressionImpl
import org.eclipse.xtend2.lib.StringConcatenationClient

class SimpleTextXBlockExpression extends XBlockExpressionImpl {
	private val StringConcatenationClient text;
	
	public new(StringConcatenationClient text) {
		this.text = text;
	} 
	
	public def StringConcatenationClient getText() {
		return text;
	}
}

package tools.vitruv.dsls.reactions.generator;

import org.eclipse.xtext.xbase.impl.XBlockExpressionImpl
import org.eclipse.xtend2.lib.StringConcatenationClient

/**
 * @deprecated Instantiate a correct {@link XExpression} instead
 */
@Deprecated
class SimpleTextXBlockExpression extends XBlockExpressionImpl {
	private val StringConcatenationClient text;
	
	public new(StringConcatenationClient text) {
		this.text = text;
	} 
	
	public def StringConcatenationClient getText() {
		return text;
	}
}
