Skip to content
Snippets Groups Projects
Commit 0b17bfb9 authored by Michael Leuschel's avatar Michael Leuschel
Browse files

add more standard ProB DEFINITIONS


like VISB_JSON_FILE

Signed-off-by: default avatarMichael Leuschel <leuschel@uni-duesseldorf.de>
parent ccee43ad
No related branches found
No related tags found
No related merge requests found
......@@ -81,9 +81,12 @@ public class DefinitionsEliminator extends DepthFirstAdapter {
if (e instanceof AExpressionDefinitionDefinition) {
String name = ((AExpressionDefinitionDefinition) e).getName()
.getText().toString();
if (name.startsWith("ASSERT_LTL") || name.startsWith("scope_")
if (name.startsWith("ASSERT_LTL")
|| name.startsWith("scope_")
|| name.startsWith("SET_PREF_")
|| name.startsWith("ANIMATION_FUNCTION"))
|| name.equals("VISB_JSON_FILE")
|| name.startsWith("ANIMATION_FUNCTION")
|| name.startsWith("ANIMATION_IMG"))
continue;
}
e.apply(this);
......@@ -100,6 +103,9 @@ public class DefinitionsEliminator extends DepthFirstAdapter {
if (name.startsWith("ASSERT_LTL")
|| name.startsWith("scope_")
|| name.startsWith("SET_PREF_")
|| name.equals("VISB_JSON_FILE")
|| name.startsWith("ANIMATION_FUNCTION")
|| name.startsWith("ANIMATION_IMG")
|| StandardMadules
.isKeywordInModuleExternalFunctions(name)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment