Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
2024_compilation_bauquin
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
BAUQUIN Niels
2024_compilation_bauquin
Commits
bf675260
Commit
bf675260
authored
1 year ago
by
BAUQUIN Niels
Browse files
Options
Downloads
Patches
Plain Diff
dfg
parent
30863632
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/ts/Ts.java
+11
-0
11 additions, 0 deletions
src/ts/Ts.java
src/ts/TsItemVarSimple.java
+6
-6
6 additions, 6 deletions
src/ts/TsItemVarSimple.java
src/ts/TsItemVarTab.java
+6
-6
6 additions, 6 deletions
src/ts/TsItemVarTab.java
with
23 additions
and
12 deletions
src/ts/Ts.java
+
11
−
0
View file @
bf675260
...
...
@@ -23,6 +23,11 @@ public class Ts
public
TsItemVar
addVar
(
String
identif
,
Type
type
)
{
for
(
String
id
:
variables
.
keySet
())
{
if
(
id
==
identif
&&
variables
.
get
(
id
).
isParam
)
{
return
null
;
}
}
TsItemVar
item
=
new
TsItemVarSimple
(
identif
,
type
);
item
.
portee
=
this
;
item
.
adresse
=
this
.
adrVarCourante
;
...
...
@@ -34,6 +39,11 @@ public class Ts
public
TsItemVar
addParam
(
String
identif
,
Type
type
)
{
for
(
String
id
:
variables
.
keySet
())
{
if
(
id
==
identif
&&
variables
.
get
(
id
).
isParam
)
{
return
null
;
}
}
TsItemVar
item
=
new
TsItemVarSimple
(
identif
,
type
);
item
.
portee
=
this
;
item
.
adresse
=
this
.
adrArgCourante
;
...
...
@@ -45,6 +55,7 @@ public class Ts
public
TsItemVar
addTab
(
String
identif
,
Type
type
,
int
taille
)
{
//Verifier qu'on est en global
TsItemVar
item
=
new
TsItemVarTab
(
identif
,
type
,
taille
);
item
.
portee
=
this
;
item
.
adresse
=
this
.
adrVarCourante
;
...
...
This diff is collapsed.
Click to expand it.
src/ts/TsItemVarSimple.java
+
6
−
6
View file @
bf675260
This diff is collapsed.
Click to expand it.
src/ts/TsItemVarTab.java
+
6
−
6
View file @
bf675260
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