scrall 0.11.0__py3-none-any.whl → 0.12.0__py3-none-any.whl

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/__init__.py CHANGED
@@ -1 +1 @@
1
- version = "0.11.0"
1
+ version = "0.12.0"
scrall/parse/visitor.py CHANGED
@@ -46,7 +46,7 @@ Qualified_Name_a = namedtuple('Qualified_Name_a', 'iset cname aname')
46
46
  Flow_Output_a = namedtuple('Flow_Output_a', 'name exp_type')
47
47
  PATH_a = namedtuple('PATH_a', 'hops')
48
48
  INST_a = namedtuple('INST_a', 'components')
49
- INST_PROJ_a = namedtuple('INST_PROJ_a', 'iset projection')
49
+ INST_PROJ_a = namedtuple('INST_PROJ_a', 'iset projection op_chain')
50
50
  TEXPR_a = namedtuple('TEXPR_a', 'table hexpr selection projection')
51
51
  R_a = namedtuple('R_a', 'rnum')
52
52
  IN_a = namedtuple('IN_a', 'name')
@@ -1455,10 +1455,11 @@ class ScrallVisitor(PTNodeVisitor):
1455
1455
  iset = children.results.get('instance_set')
1456
1456
  if iset:
1457
1457
  p = children.results.get('projection')
1458
- result = INST_PROJ_a(iset=iset[0], projection=None if not p else p[0])
1458
+ o = children.results.get('op_chain')
1459
+ op_chain = None if not o else o[0]
1460
+ result = INST_PROJ_a(iset=iset[0], projection=None if not p else p[0], op_chain=op_chain)
1459
1461
  _logger.info(f" > {result}")
1460
1462
  return result
1461
- # TODO: include opchain if supplied
1462
1463
 
1463
1464
  result = children[:]
1464
1465
  _logger.info(f" > {result}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scrall
3
- Version: 0.11.0
3
+ Version: 0.12.0
4
4
  Summary: Starr's Concise Relational Action Language - For Shlaer-Mellor Executable UML
5
5
  Author-email: Leon Starr <leon_starr@modelint.com>
6
6
  License: MIT License
@@ -1,14 +1,14 @@
1
- scrall/__init__.py,sha256=Zlq30UhOiC7zQJvZcBhTgE3ZcYH1hpT6kjFn1fJiOL4,18
1
+ scrall/__init__.py,sha256=2v__VIL9u6ld--pEYwwedXsMCx05XIy6YCD1uio7Tl0,18
2
2
  scrall/__main__.py,sha256=H5szTQUuBTrnCngyUv3EFj5eQyPY4j0NKf1q8DgK6E8,2187
3
3
  scrall/exceptions.py,sha256=QU4mKLs7_ddGIznhh2HUpjb_PdPlxWZMMY_g0ELenSs,1764
4
4
  scrall/log.conf,sha256=tERYKbCp9TgdAVTby6A7gUpnjurJKcX1tyAzG3ATORI,933
5
5
  scrall/parse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  scrall/parse/parser.py,sha256=k4SeWMtNzAUtwU_e15frvSL1D5G3RBU_jmLegZbIBnY,5221
7
7
  scrall/parse/scrall.peg,sha256=KT2jTK1wTYn6afcXXaKvFgghtbwzQ7wntNPA3cGwSPY,7904
8
- scrall/parse/visitor.py,sha256=wC9qIADxep_24NM90eFyMvCmKLUoitdfqff7HHNjDvM,58515
9
- scrall-0.11.0.dist-info/licenses/LICENSE,sha256=kL0xVrwl2i3Pk9mQXAVAPANCTaLGGOsoXgvqW7TBs20,1072
10
- scrall-0.11.0.dist-info/METADATA,sha256=YctIFwtG6wxzB94LUPNoYmgNpXHc1RbOyi3pW-N_2IA,7209
11
- scrall-0.11.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
- scrall-0.11.0.dist-info/entry_points.txt,sha256=2fHG6VXtqSTEZXadsBe7XCFaLm4t3V1pFuqzgWWjBgA,48
13
- scrall-0.11.0.dist-info/top_level.txt,sha256=SWvpMyNNJlrMWpSsK5RUL40ivQxQpKPbL86VrvNIUAE,7
14
- scrall-0.11.0.dist-info/RECORD,,
8
+ scrall/parse/visitor.py,sha256=Tn_WCFw9_aS3slJXWhWouYuC4EekeXruHx9kUpr81_E,58591
9
+ scrall-0.12.0.dist-info/licenses/LICENSE,sha256=kL0xVrwl2i3Pk9mQXAVAPANCTaLGGOsoXgvqW7TBs20,1072
10
+ scrall-0.12.0.dist-info/METADATA,sha256=gYK0WFhEWX2WbKBkC648Lpi5x5UF3IR_rndXSDW6EII,7209
11
+ scrall-0.12.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
+ scrall-0.12.0.dist-info/entry_points.txt,sha256=2fHG6VXtqSTEZXadsBe7XCFaLm4t3V1pFuqzgWWjBgA,48
13
+ scrall-0.12.0.dist-info/top_level.txt,sha256=SWvpMyNNJlrMWpSsK5RUL40ivQxQpKPbL86VrvNIUAE,7
14
+ scrall-0.12.0.dist-info/RECORD,,