Skip to content

Commit bee0751

Browse files
authored
energy analysis
1 parent 10dab5c commit bee0751

31 files changed

Lines changed: 452 additions & 101 deletions

AJManifest.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Main-Class: AgileUMLJavaAnalysis
2+
3+
4+
5+

ASTBasicTerm.class

-385 Bytes
Binary file not shown.

ASTBasicTerm.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2598,15 +2598,15 @@ public String toKM3()
25982598
expression =
25992599
BasicExpression.newValueBasicExpression(value,typ);
26002600

2601-
System.out.println(">> Expression of " + this + " ==> " + expression);
2601+
// System.out.println(">> Expression of " + this + " ==> " + expression);
26022602

26032603
if (typ != null)
2604-
{ System.out.println(">>> Type of " + value + " is " + typ);
2604+
{ // System.out.println(">>> Type of " + value + " is " + typ);
26052605
// expression.setType(new Type(typ, null));
26062606
}
26072607

26082608
if (tag.equals("integerLiteral"))
2609-
{ System.out.println(">>> Type of " + value + " is integer");
2609+
{ // System.out.println(">>> Type of " + value + " is integer");
26102610

26112611
value = Expression.removeUnderscores(value);
26122612

@@ -2624,7 +2624,7 @@ public String toKM3()
26242624
}
26252625
}
26262626
else if (tag.equals("floatLiteral"))
2627-
{ System.out.println(">>> Type of " + value + " is double");
2627+
{ // System.out.println(">>> Type of " + value + " is double");
26282628

26292629
value = Expression.removeUnderscores(value);
26302630

@@ -2655,15 +2655,15 @@ else if (tag.equals("floatLiteral"))
26552655
}
26562656
else if (tag.equals("literal") && value.endsWith("\"") &&
26572657
value.startsWith("\""))
2658-
{ System.out.println(">>> Type of " + value + " is String");
2658+
{ // System.out.println(">>> Type of " + value + " is String");
26592659
expression.setType(new Type("String", null));
26602660

26612661
ASTTerm.setType(this,"String");
26622662
ASTTerm.setType(value,"String");
26632663
}
26642664
else if (tag.equals("literal") && value.endsWith("\'") &&
26652665
value.startsWith("\'"))
2666-
{ System.out.println(">>> Type of " + value + " is String");
2666+
{ // System.out.println(">>> Type of " + value + " is String");
26672667
value = "\"" + value.substring(1,value.length()-1) + "\"";
26682668
expression.setType(new Type("String", null));
26692669
ASTTerm.setType(this,"String");
@@ -2672,7 +2672,7 @@ else if (tag.equals("literal") && value.endsWith("\'") &&
26722672
else if (tag.equals("literal") &&
26732673
(value.equals("true") || value.equals("false"))
26742674
)
2675-
{ System.out.println(">>> Type of " + value + " is String");
2675+
{ // System.out.println(">>> Type of " + value + " is String");
26762676
expression.setType(new Type("boolean", null));
26772677
ASTTerm.setType(this,"boolean");
26782678
ASTTerm.setType(value,"boolean");

ASTCompositeTerm.class

-3.21 KB
Binary file not shown.

0 commit comments

Comments
 (0)