Uses of Interface
dev.civl.mc.model.IF.statement.Statement
Packages that use Statement
Package
Description
Module analysis provides a list of analyzers for static/runtime analyzing of a program.
Module kripke provides the definition of various
transitions and the enabler and state manager of CIVL.
Module model defines a static model, i.e., the control flow graph, representation of a CIVL-C program.
Submodule model.location defines a location in the control flow graph of CIVL.
Submodule model.statement defines a statement of a CIVL-C program.
Module semantics implements the semantics of CIVL-C.
-
Uses of Statement in dev.civl.mc.analysis.IF
Methods in dev.civl.mc.analysis.IF with parameters of type StatementModifier and TypeMethodDescriptionstatic voidAnalysis.staticAnalysis(Statement statement, List<CodeAnalyzer> analyzers) performs static analysis on the given statement to decide if any code analysis provided by the specified code analyzers is needed.voidCodeAnalyzer.staticAnalysis(Statement statement) Static analysis of the given statement. -
Uses of Statement in dev.civl.mc.kripke.IF
Methods in dev.civl.mc.kripke.IF with parameters of type Statement -
Uses of Statement in dev.civl.mc.model.IF
Methods in dev.civl.mc.model.IF that return StatementModifier and TypeMethodDescriptionModelFactory.atomicEnter(Location loc) Generate an atomic enter statementModelFactory.atomicExit(Location loc) Generate an atomic exit statementFragment.uniqueFinalStatement()Precondition: finalStatements().size() == 1Methods in dev.civl.mc.model.IF that return types with arguments of type StatementMethods in dev.civl.mc.model.IF with parameters of type StatementModifier and TypeMethodDescriptionvoidModelFactory.addAnonStatement(Statement statment) Add the given statement to the anonymous fragment.voidFragment.addFinalStatement(Statement statement) Add a statement to the final statement setvoidFragment.addNewStatement(Statement statement) Add a new statement to the fragment, which will be considered the subsequent statement of the current final statements.svoidCIVLFunction.addStatement(Statement statement) Method parameters in dev.civl.mc.model.IF with type arguments of type StatementModifier and TypeMethodDescriptionvoidFragment.addFinalStatementSet(Set<Statement> stmtSet) Add a set of statements to the final statement setvoidFragment.setFinalStatements(Set<Statement> statements) Update the last statement of this fragmentvoidCIVLFunction.setStatements(Set<Statement> statements) -
Uses of Statement in dev.civl.mc.model.IF.location
Methods in dev.civl.mc.model.IF.location that return StatementModifier and TypeMethodDescriptionLocation.getIncoming(int i) Location.getOutgoing(int i) Location.getSoleOutgoing()Returns the sole outgoing statement from this location.Methods in dev.civl.mc.model.IF.location that return types with arguments of type StatementMethods in dev.civl.mc.model.IF.location with parameters of type StatementModifier and TypeMethodDescriptionvoidLocation.addIncoming(Statement statement) voidLocation.addOutgoing(Statement statement) voidLocation.removeIncoming(Statement statement) Remove a certain incoming statementvoidLocation.removeOutgoing(Statement statement) Remove a certain outgoing statement -
Uses of Statement in dev.civl.mc.model.IF.statement
Subinterfaces of Statement in dev.civl.mc.model.IF.statementModifier and TypeInterfaceDescriptioninterfaceAn assignment statement.interfaceinterfaceA function call or spawn.interfaceThis represents the first part of a $parfor construct, i.e., spawning processes according the specified domain.interfaceUpdates the loop variables with the next element of a domain.interfaceinterfaceA statement for dynamic allocation of objects.interfaceMarker interface for a noop statement.interfaceinterfaceA return statement.interfaceMethods in dev.civl.mc.model.IF.statement that return StatementModifier and TypeMethodDescriptionStatement.replaceWith(ConditionalExpression oldExpression, Expression newExpression) Return a new statement by copying this statement and modifying it as well as its guard by replacing a certain conditional expression with a expression, used when translating away conditional expression WITHOUT introducing temporary variables. -
Uses of Statement in dev.civl.mc.semantics.IF
Methods in dev.civl.mc.semantics.IF that return StatementModifier and TypeMethodDescriptionTransition.statement()The statement that this transition is to execute, which should be atomic, deterministic, and enabled in the context of the path condition.Methods in dev.civl.mc.semantics.IF with parameters of type StatementModifier and TypeMethodDescriptionstatic dev.civl.mc.semantics.common.NoopTransitionSemantics.newNoopTransition(int pid, dev.civl.sarl.IF.expr.BooleanExpression assumption, Statement statement, boolean symplifyState) Create a newNoopTransitionwhose statement will not be executed.static TransitionSemantics.newTransition(int pid, dev.civl.sarl.IF.expr.BooleanExpression clause, Statement statement) Creates a new regularTransitionwhose statement will be executed by executor.static TransitionSemantics.newTransition(int pid, dev.civl.sarl.IF.expr.BooleanExpression clause, Statement statement, boolean simplifyState) Creates a new regularTransitionwhose statement will be executed by executor.SymbolicAnalyzer.statementEvaluation(State preState, State postState, int pid, Statement statement)