]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/expressions/EPlaceholder.java
(refs #7498) Bugfixing implementation of skeleton refs
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / elaboration / expressions / EPlaceholder.java
1 package org.simantics.scl.compiler.elaboration.expressions;
2
3 import org.simantics.scl.compiler.elaboration.contexts.SimplificationContext;
4 import org.simantics.scl.compiler.elaboration.contexts.TranslationContext;
5
6 public class EPlaceholder extends DecoratingExpression {
7     public EPlaceholder(long loc, Expression expression) {
8         super(loc, expression);
9     }
10
11     @Override
12     public void accept(ExpressionVisitor visitor) {
13         visitor.visit(this);
14     }
15     
16     @Override
17     public Expression accept(ExpressionTransformer transformer) {
18         return transformer.transform(this);
19     }
20
21     @Override
22     public Expression simplify(SimplificationContext context) {
23         return expression.simplify(context);
24     }
25
26     @Override
27     public Expression resolve(TranslationContext context) {
28         return expression.resolve(context);
29     }
30     
31     @Override
32     public Expression resolveAsPattern(TranslationContext context) {
33         return expression.resolveAsPattern(context);
34     }
35 }