Search in sources :

Example 21 with AgreeProgram

use of com.rockwellcollins.atc.agree.analysis.ast.AgreeProgram in project AGREE by loonwerks.

the class TcgLinkerFactory method wrapVerificationResult.

// Routines for actually building the verification results...
private void wrapVerificationResult(ComponentInstance si, CompositeAnalysisResult wrapper) {
    AgreeProgram agreeProgram = new AgreeASTBuilder().getAgreeProgram(si, monolithicAnalysis);
    Program program;
    program = LustreAstBuilder.getAssumeGuaranteeLustreProgram(agreeProgram);
    wrapper.addChild(createVerification("Contract Test Cases", si, program, agreeProgram));
}
Also used : Program(jkind.lustre.Program) AgreeProgram(com.rockwellcollins.atc.agree.analysis.ast.AgreeProgram) AgreeASTBuilder(com.rockwellcollins.atc.agree.analysis.ast.AgreeASTBuilder) AgreeProgram(com.rockwellcollins.atc.agree.analysis.ast.AgreeProgram)

Aggregations

AgreeProgram (com.rockwellcollins.atc.agree.analysis.ast.AgreeProgram)21 Program (jkind.lustre.Program)15 AgreeASTBuilder (com.rockwellcollins.atc.agree.analysis.ast.AgreeASTBuilder)11 AgreeException (com.rockwellcollins.atc.agree.analysis.AgreeException)10 Node (jkind.lustre.Node)10 AgreeNode (com.rockwellcollins.atc.agree.analysis.ast.AgreeNode)9 ArrayList (java.util.ArrayList)9 EphemeralImplementationUtil (com.rockwellcollins.atc.agree.analysis.EphemeralImplementationUtil)5 TypeDef (jkind.lustre.TypeDef)5 ProgramBuilder (jkind.lustre.builders.ProgramBuilder)5 IStatus (org.eclipse.core.runtime.IStatus)5 Status (org.eclipse.core.runtime.Status)5 ComponentImplementation (org.osate.aadl2.ComponentImplementation)5 SystemInstance (org.osate.aadl2.instance.SystemInstance)5 AgreeStatement (com.rockwellcollins.atc.agree.analysis.ast.AgreeStatement)4 AnalysisResult (jkind.api.results.AnalysisResult)4 CompositeAnalysisResult (jkind.api.results.CompositeAnalysisResult)4 IHandlerService (org.eclipse.ui.handlers.IHandlerService)4 Pair (org.eclipse.xtext.util.Pair)4 ComponentType (org.osate.aadl2.ComponentType)4