1 package org.simantics.scl.compiler.elaboration.expressions;
3 import org.simantics.scl.compiler.elaboration.contexts.SimplificationContext;
4 import org.simantics.scl.compiler.elaboration.contexts.TranslationContext;
5 import org.simantics.scl.compiler.internal.elaboration.utils.ExpressionDecorator;
7 public class EPlaceholder extends DecoratingExpression {
8 public EPlaceholder(long loc, Expression expression) {
9 super(loc, expression);
13 public void accept(ExpressionVisitor visitor) {
18 public Expression accept(ExpressionTransformer transformer) {
19 return transformer.transform(this);
23 public Expression simplify(SimplificationContext context) {
24 return expression.simplify(context);
28 public Expression resolve(TranslationContext context) {
29 return expression.resolve(context);
33 public Expression resolveAsPattern(TranslationContext context) {
34 return expression.resolveAsPattern(context);
38 public Expression decorate(ExpressionDecorator decorator) {
39 return expression.decorate(decorator);