Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Technique de compilation - TP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
lucien.noel
Technique de compilation - TP
Commits
335d7408
Commit
335d7408
authored
2 years ago
by
lucien.noel
Browse files
Options
Downloads
Patches
Plain Diff
jai rennomé les class entier et booleen pour que ça respecte les normes java
parent
983aae76
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
ArbreAbstrait/Booleen.java
+7
-0
7 additions, 0 deletions
ArbreAbstrait/Booleen.java
ArbreAbstrait/Entier.java
+5
-0
5 additions, 0 deletions
ArbreAbstrait/Entier.java
hepial.cup
+2
-2
2 additions, 2 deletions
hepial.cup
with
14 additions
and
2 deletions
ArbreAbstrait/
b
ooleen.java
→
ArbreAbstrait/
B
ooleen.java
+
7
−
0
View file @
335d7408
public
class
b
ooleen
extends
Ttype
{
public
b
ooleen
()
{
public
class
B
ooleen
extends
Ttype
{
public
B
ooleen
()
{
super
(
"booleen"
);
}
...
...
This diff is collapsed.
Click to expand it.
ArbreAbstrait/
e
ntier.java
→
ArbreAbstrait/
E
ntier.java
+
5
−
0
View file @
335d7408
public
class
e
ntier
extends
Ttype
{
public
e
ntier
()
{
public
class
E
ntier
extends
Ttype
{
public
E
ntier
()
{
super
(
"entier"
);
}
}
This diff is collapsed.
Click to expand it.
hepial.cup
+
2
−
2
View file @
335d7408
...
...
@@ -78,8 +78,8 @@ l_ident ::= IDENT:id {: ArrayList<Idf> liste = new ArrayList<Idf>();
RESULT = idl;:};
type ::= TINTEGER {: RESULT = (new
e
ntier());:}
| TBOOLEAN {: RESULT = (new
b
ooleen());:};
type ::= TINTEGER {: RESULT = (new
E
ntier());:}
| TBOOLEAN {: RESULT = (new
B
ooleen());:};
declar_const ::= CONSTANT type:t IDENT:id EQUAL expr:a SEMICOLON {: RESULT = new DeclarationConstant(t ,new Idf(id,"", idleft, idright),a,"",aleft,aright);:};
...
...
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