Commit ef3ebf59 authored by Alexander Weigl's avatar Alexander Weigl

Using clause removed from match expression

parent b56fc44e
......@@ -95,7 +95,6 @@ public interface ASTTraversal<T> extends Visitor<T> {
@Override
default T visit(MatchExpression match) {
match.getPattern().accept(this);
//match.getSignature().accept(this);
return null;
}
......
......@@ -363,11 +363,6 @@ public class TransformAst implements ScriptLanguageVisitor<Object> {
e.setParent(match);
match.setDerivableTerm(e);
} else {
/*if (ctx.argList() != null) {
Signature signature = (Signature) ctx.argList().accept(this);
match.setSignature(signature);
signature.setParent(match);
}*/
Expression<ParserRuleContext> e = (Expression<ParserRuleContext>) ctx.pattern.accept(this);
match.setPattern(e);
e.setParent(match);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment