Skip to content
Snippets Groups Projects
Commit b4714a00 authored by BAUQUIN Niels's avatar BAUQUIN Niels
Browse files

fsdgf

parent 78a444d9
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ public class Sc2sa extends DepthFirstAdapter
@Override
public void caseStart(Start node) {
inStart(node);
node.getPProg().apply(this);
outStart(node);
}
......@@ -542,6 +543,13 @@ public class Sc2sa extends DepthFirstAdapter
@Override
public void caseAListedecvarLdecvar(AListedecvarLdecvar node) {
inAListedecvarLdecvar(node);
SaDecVar tete = null;
SaLDecVar queue = null;
node.getDecvar().apply(this);
tete = (SaDecVar) this.returnValue;
node.getLdecvar2().apply(this);
queue = (SaLDecVar) this.returnValue;
this.returnValue = new SaLDecVar(tete, queue);
outAListedecvarLdecvar(node);
}
......@@ -555,6 +563,14 @@ public class Sc2sa extends DepthFirstAdapter
@Override
public void caseAListedecvar2Ldecvar2(AListedecvar2Ldecvar2 node) {
inAListedecvar2Ldecvar2(node);
SaDecVar tete = null;
SaLDecVar queue = null;
node.getVirg().apply(this);
node.getDecvar().apply(this);
tete = (SaDecVar) this.returnValue;
node.getLdecvar2().apply(this);
queue = (SaLDecVar) this.returnValue;
this.returnValue = new SaLDecVar(tete, queue);
outAListedecvar2Ldecvar2(node);
}
......@@ -568,6 +584,13 @@ public class Sc2sa extends DepthFirstAdapter
@Override
public void caseAListedecfoncLdecfonc(AListedecfoncLdecfonc node) {
inAListedecfoncLdecfonc(node);
SaDecFonc tete = null;
SaLDecFonc queue = null;
node.getDecfonc().apply(this);
tete = (SaDecFonc) this.returnValue;
node.getLdecfonc().apply(this);
queue = (SaLDecFonc) this.returnValue;
this.returnValue = new SaLDecFonc(tete, queue);
outAListedecfoncLdecfonc(node);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment