Skip to content
Snippets Groups Projects
Commit d97f8380 authored by BAZIZI Zakaria's avatar BAZIZI Zakaria
Browse files

testing pulling

parent cb610ce4
No related branches found
No related tags found
No related merge requests found
......@@ -648,12 +648,10 @@ public class Sc2sa extends DepthFirstAdapter
SaInst op2 = null ;
SaInst op3 = null ;
node.getSi().apply(this);
node.getExp().apply(this);
op1 = (SaExp) this.returnValue ;
node.getAlors().apply(this);
op2 = (SaInst) this.returnValue ;
node.getBloc().apply(this);
op3 = (SaInst) this.returnValue ;
op2 = (SaInst) this.returnValue ;
this.returnValue = new SaInstSi(op1,op2,op3);
}
......@@ -671,32 +669,18 @@ public class Sc2sa extends DepthFirstAdapter
@Override
public void caseASisinonIns(ASisinonIns node)
{
inASisinonIns(node);
if(node.getSi() != null)
{
node.getSi().apply(this);
}
if(node.getExp() != null)
{
SaExp op1 = null ;
SaInst op2 = null ;
SaInst op3 = null ;
node.getExp().apply(this);
}
if(node.getAlors() != null)
{
node.getAlors().apply(this);
}
if(node.getAlor() != null)
{
op1 = (SaExp) this.returnValue ;
node.getAlor().apply(this);
}
if(node.getSinon() != null)
{
node.getSinon().apply(this);
}
if(node.getSino() != null)
{
op2 = (SaInst) this.returnValue ;
node.getSino().apply(this);
}
outASisinonIns(node);
op3 = (SaInst) this.returnValue;
this.returnValue = new SaInstSi(op1,op2,op3);
}
public void inAReturnIns(AReturnIns node)
......@@ -1054,7 +1038,6 @@ public class Sc2sa extends DepthFirstAdapter
defaultOut(node);
}
@Override
public void caseATypeType(ATypeType node)
{
inATypeType(node);
......@@ -1075,7 +1058,6 @@ public class Sc2sa extends DepthFirstAdapter
defaultOut(node);
}
@Override
public void caseAType(AType node)
{
inAType(node);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment