Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
2024_compilation_Bazizi_Zaynoune
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BAZIZI Zakaria
2024_compilation_Bazizi_Zaynoune
Commits
d97f8380
Commit
d97f8380
authored
1 year ago
by
BAZIZI Zakaria
Browse files
Options
Downloads
Patches
Plain Diff
testing pulling
parent
cb610ce4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sa/Sc2sa.java
+15
-33
15 additions, 33 deletions
src/sa/Sc2sa.java
with
15 additions
and
33 deletions
src/sa/Sc2sa.java
+
15
−
33
View file @
d97f8380
...
...
@@ -648,12 +648,10 @@ public class Sc2sa extends DepthFirstAdapter
SaInst
op2
=
null
;
SaInst
op3
=
null
;
node
.
get
Si
().
apply
(
this
);
node
.
get
Exp
().
apply
(
this
);
op1
=
(
SaExp
)
this
.
returnValue
;
node
.
getAlors
().
apply
(
this
);
op2
=
(
SaInst
)
this
.
returnValue
;
node
.
getBloc
().
apply
(
this
);
op
3
=
(
SaInst
)
this
.
returnValue
;
op
2
=
(
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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment