Skip to content
Snippets Groups Projects
Commit a82ae42f authored by Etienne Kneuss's avatar Etienne Kneuss
Browse files

LetTuple definition in the extractor

parent ebadfbce
No related branches found
No related tags found
No related merge requests found
...@@ -73,6 +73,7 @@ object Extractors { ...@@ -73,6 +73,7 @@ object Extractors {
case ArraySelect(t1, t2) => Some((t1, t2, ArraySelect)) case ArraySelect(t1, t2) => Some((t1, t2, ArraySelect))
case Concat(t1,t2) => Some((t1,t2,Concat)) case Concat(t1,t2) => Some((t1,t2,Concat))
case ListAt(t1,t2) => Some((t1,t2,ListAt)) case ListAt(t1,t2) => Some((t1,t2,ListAt))
case LetTuple(binders, e, body) => Some((e, body, (e: Expr, b: Expr) => LetTuple(binders, e, body)))
case wh@While(t1, t2) => Some((t1,t2, (t1, t2) => While(t1, t2).setInvariant(wh.invariant).setPosInfo(wh))) case wh@While(t1, t2) => Some((t1,t2, (t1, t2) => While(t1, t2).setInvariant(wh.invariant).setPosInfo(wh)))
case ex: BinaryExtractable => ex.extract case ex: BinaryExtractable => ex.extract
case _ => None case _ => None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment