scrall 0.8.9__tar.gz → 0.8.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of scrall might be problematic. Click here for more details.
- {scrall-0.8.9/src/scrall.egg-info → scrall-0.8.10}/PKG-INFO +1 -1
- {scrall-0.8.9 → scrall-0.8.10}/pyproject.toml +1 -1
- scrall-0.8.10/src/scrall/__init__.py +1 -0
- {scrall-0.8.9 → scrall-0.8.10}/src/scrall/parse/visitor.py +2 -2
- {scrall-0.8.9 → scrall-0.8.10/src/scrall.egg-info}/PKG-INFO +1 -1
- {scrall-0.8.9 → scrall-0.8.10}/tests/test_delete.py +2 -2
- scrall-0.8.9/src/scrall/__init__.py +0 -1
- {scrall-0.8.9 → scrall-0.8.10}/LICENSE +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/MANIFEST.in +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/README.md +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/setup.cfg +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/src/scrall/__main__.py +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/src/scrall/exceptions.py +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/src/scrall/log.conf +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/src/scrall/parse/__init__.py +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/src/scrall/parse/parser.py +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/src/scrall/parse/scrall.peg +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/src/scrall.egg-info/SOURCES.txt +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/src/scrall.egg-info/dependency_links.txt +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/src/scrall.egg-info/entry_points.txt +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/src/scrall.egg-info/requires.txt +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/src/scrall.egg-info/top_level.txt +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/tests/test_ping_actions.py +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/tests/test_selection.py +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/tests/test_signals.py +0 -0
- {scrall-0.8.9 → scrall-0.8.10}/tests/test_state_actions.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "scrall"
|
|
7
|
-
version = "0.8.
|
|
7
|
+
version = "0.8.10"
|
|
8
8
|
description = "Starr's Concise Relational Action Language - For Shlaer-Mellor Executable UML"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{ name = "Leon Starr", email = "leon_starr@modelint.com" }]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
version = "0.8.10"
|
|
@@ -31,7 +31,7 @@ Execution_Unit_a = namedtuple('Execution_Unit_a', 'statement_set output_token')
|
|
|
31
31
|
Seq_Statement_Set_a = namedtuple('Seq_Statement_Set_a', 'input_tokens statement block')
|
|
32
32
|
Comp_Statement_Set_a = namedtuple('Comp_Statement_Set_a', 'statement block')
|
|
33
33
|
Decision_a = namedtuple('Decision_a', 'input true_result false_result')
|
|
34
|
-
|
|
34
|
+
Delete_Group_a = namedtuple('Delete_Group_a', 'instance_sets')
|
|
35
35
|
Case_a = namedtuple('Case_a', 'enums comp_statement_set')
|
|
36
36
|
Switch_a = namedtuple('Switch_a', 'input_flow cases')
|
|
37
37
|
MATH_a = namedtuple('MATH_a', 'op operands')
|
|
@@ -1099,7 +1099,7 @@ class ScrallVisitor(PTNodeVisitor):
|
|
|
1099
1099
|
|
|
1100
1100
|
_logger.info(f" < {children}")
|
|
1101
1101
|
iset = children.results.get('instance_set')
|
|
1102
|
-
result =
|
|
1102
|
+
result = Delete_Group_a(instance_sets=iset)
|
|
1103
1103
|
_logger.info(f" > {result}")
|
|
1104
1104
|
return result
|
|
1105
1105
|
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
import pytest
|
|
4
4
|
from scrall.parse.parser import ScrallParser
|
|
5
|
-
from scrall.parse.visitor import Execution_Unit_a, N_a, INST_a, PATH_a, R_a, Seq_Statement_Set_a,
|
|
5
|
+
from scrall.parse.visitor import Execution_Unit_a, N_a, INST_a, PATH_a, R_a, Seq_Statement_Set_a, Delete_Group_a
|
|
6
6
|
|
|
7
7
|
actions = [
|
|
8
8
|
("!* siamese, /R1/Cat",
|
|
9
9
|
Execution_Unit_a(statement_set=Seq_Statement_Set_a(
|
|
10
|
-
input_tokens=[], statement=
|
|
10
|
+
input_tokens=[], statement=Delete_Group_a(
|
|
11
11
|
instance_sets=[N_a(name='siamese'),
|
|
12
12
|
INST_a(components=[PATH_a(hops=[R_a(rnum='R1'),
|
|
13
13
|
N_a(name='Cat')])])]), block=None), output_token=None)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
version = "0.8.9"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|