Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
sarah.grebing
ProofScriptParser
Commits
ef3ebf59
Commit
ef3ebf59
authored
May 22, 2018
by
Alexander Weigl
Browse files
Using clause removed from match expression
parent
b56fc44e
Changes
2
Show whitespace changes
Inline
Side-by-side
lang/src/main/java/edu/kit/iti/formal/psdbg/parser/ASTTraversal.java
View file @
ef3ebf59
...
...
@@ -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
;
}
...
...
lang/src/main/java/edu/kit/iti/formal/psdbg/parser/TransformAst.java
View file @
ef3ebf59
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment