Commit ab33559a authored by Bechir Zalila's avatar Bechir Zalila

* (ocarina-analyzer-aadl_ba.ad?): Semantic analyzer for the behavior

        annex

        * (ocarina-analyzer.adb): Activate the semantic analyser for BA

	(By Yossra Rekik)
parent aaeb2b93
This diff is collapsed.
------------------------------------------------------------------------------
-- --
-- OCARINA COMPONENTS --
-- --
-- O C A R I N A . A N A L Y Z E R . A A D L _ B A --
-- --
-- S p e c --
-- --
-- Copyright (C) 2016 ESA & ISAE. --
-- --
-- Ocarina is free software; you can redistribute it and/or modify under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. Ocarina is distributed in the hope that it will be useful, but --
-- WITHOUT ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- Ocarina is maintained by the TASTE project --
-- (taste-users@lists.tuxfamily.org) --
-- --
------------------------------------------------------------------------------
package Ocarina.Analyzer.AADL_BA is
procedure Init;
procedure Reset;
function Analyze_Model (Root : Node_Id) return Boolean;
-- Proceed to BA analysis
end Ocarina.Analyzer.AADL_BA;
......@@ -37,6 +37,7 @@ with GNAT.Table;
with Ocarina.Analyzer.AADL;
with Ocarina.Analyzer.REAL;
with Ocarina.Analyzer.AADL_EMA;
with Ocarina.Analyzer.AADL_BA;
package body Ocarina.Analyzer is
......@@ -76,6 +77,7 @@ package body Ocarina.Analyzer is
Ocarina.Analyzer.AADL.Init;
Ocarina.Analyzer.REAL.Init;
Ocarina.Analyzer.AADL_EMA.Init;
Ocarina.Analyzer.AADL_BA.Init;
end Init_Analyzers;
---------------------
......@@ -88,6 +90,7 @@ package body Ocarina.Analyzer is
Ocarina.Analyzer.AADL.Reset;
Ocarina.Analyzer.REAL.Reset;
Ocarina.Analyzer.AADL_EMA.Reset;
Ocarina.Analyzer.AADL_BA.Reset;
end Reset_Analyzers;
-----------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment