| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-08-29 13:54:43 +0200 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-08-29 13:54:43 +0200 |
| commit | 35e6857fb09b006da9f8cc3f59f239f078cc69a1 (patch) | |
| tree | 9c049bc4a16a1202b1dc18ccd79ecfd8557f7dcc /instance-calculator/src/ModelFile.java | |
| parent | f1dfb1eb04a705521238dba64e09bb9ecdea794f (diff) | |
Still working on the implementation.
Diffstat (limited to 'instance-calculator/src/ModelFile.java')
| -rw-r--r-- | instance-calculator/src/ModelFile.java | 36 |
1 files changed, 6 insertions, 30 deletions
diff --git a/instance-calculator/src/ModelFile.java b/instance-calculator/src/ModelFile.java index 7ca0899..691de1a 100644 --- a/instance-calculator/src/ModelFile.java +++ b/instance-calculator/src/ModelFile.java @@ -178,9 +178,7 @@ public class ModelFile return false; } - VHDLEntity.handle_is_port_of(input[1], input[2]); - - return true; + return VHDLEntity.handle_is_port_of(input[1], input[2]); } private static boolean handle_is_architecture_of @@ -193,24 +191,7 @@ public class ModelFile return false; } - VHDLArchitecture.handle_is_architecture_of(input[1], input[2]); - - return true; - } - - private static boolean handle_belongs_to_architecture - ( - final String[] input - ) - { - if (input.length != 3) - { - return false; - } - - VHDLArchitecture.handle_belongs_to_architecture(input[1], input[2]); - - return true; + return VHDLArchitecture.handle_is_architecture_of(input[1], input[2]); } private static boolean handle_belongs_to_architecture @@ -223,9 +204,8 @@ public class ModelFile return false; } - VHDLArchitecture.handle_belongs_to_architecture(input[1], input[2]); - - return true; + return + VHDLArchitecture.handle_belongs_to_architecture(input[1], input[2]); } private static boolean handle_is_component_of @@ -238,9 +218,7 @@ public class ModelFile return false; } - VHDLComponent.handle_is_component_of(input[1], input[2]); - - return true; + return VHDLComponent.handle_is_component_of(input[1], input[2]); } private static boolean handle_port_maps @@ -253,9 +231,7 @@ public class ModelFile return false; } - VHDLComponent.handle_port_maps(input[1], input[2], input[3]); - - return true; + return VHDLComponent.handle_port_maps(input[1], input[2], input[3]); } private ModelFile () {} /* Utility Class */ |


