mls-parser 0.0.4__py3-none-any.whl → 0.0.5__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.
- mls_parser/__init__.py +1 -1
- mls_parser/layout.peg +2 -2
- mls_parser/layout_visitor.py +2 -2
- {mls_parser-0.0.4.dist-info → mls_parser-0.0.5.dist-info}/METADATA +1 -1
- mls_parser-0.0.5.dist-info/RECORD +13 -0
- mls_parser-0.0.4.dist-info/RECORD +0 -13
- {mls_parser-0.0.4.dist-info → mls_parser-0.0.5.dist-info}/LICENSE +0 -0
- {mls_parser-0.0.4.dist-info → mls_parser-0.0.5.dist-info}/WHEEL +0 -0
- {mls_parser-0.0.4.dist-info → mls_parser-0.0.5.dist-info}/entry_points.txt +0 -0
- {mls_parser-0.0.4.dist-info → mls_parser-0.0.5.dist-info}/top_level.txt +0 -0
mls_parser/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
version = "0.0.
|
1
|
+
version = "0.0.5"
|
mls_parser/layout.peg
CHANGED
@@ -49,10 +49,10 @@ cname_place = dir? name wrap? bend? notch? csep // Side of connector axis and na
|
|
49
49
|
bend = '.' number // Bend in connector where 1 is at the tstem side increasing to the pstem side
|
50
50
|
|
51
51
|
// Binary connector
|
52
|
-
binary_layout = tstem csep pstem
|
52
|
+
binary_layout = tstem csep pstem ternary_node? (csep paths)? // All layout info for a binary connector
|
53
53
|
tstem = stem_side // one stem in a binary connector (t and p are arbitary names)
|
54
54
|
pstem = stem_side // the opposite stem in a binary connector
|
55
|
-
|
55
|
+
ternary_node = ',' SP+ node_face
|
56
56
|
paths = path (SP+ path)*
|
57
57
|
sname_place = dir wrap // Side of stem axis and number of text lines after wrapping in stem name text block
|
58
58
|
stem_side = (sname_place SP+)? node_face // Either the tstem or pstem layout
|
mls_parser/layout_visitor.py
CHANGED
@@ -281,8 +281,8 @@ class LayoutVisitor(PTNodeVisitor):
|
|
281
281
|
return pstem
|
282
282
|
|
283
283
|
@classmethod
|
284
|
-
def
|
285
|
-
"""
|
284
|
+
def visit_ternary_node(cls, node, children):
|
285
|
+
"""Ternary node face and anchor"""
|
286
286
|
return {node.rule_name: children[0]}
|
287
287
|
|
288
288
|
@classmethod
|
@@ -0,0 +1,13 @@
|
|
1
|
+
mls_parser/__init__.py,sha256=NLbymOiKxxP3U7jEcQQX0yizNeEChdSH8Me9tVL0BaA,18
|
2
|
+
mls_parser/__main__.py,sha256=NkowelWxc7cc6HRmcRRcWMdMShy0nKC4uO4Rm9EuB-g,1877
|
3
|
+
mls_parser/exceptions.py,sha256=hJx2OZPTEFOS4RqZJfH0meqV4ZzH7iBP7O9fXLV_McI,3059
|
4
|
+
mls_parser/layout.peg,sha256=jJFYRSGE6BJZLiyJeTgrLHBNne3HI27zZ7Z9Czfi2OY,6017
|
5
|
+
mls_parser/layout_parser.py,sha256=fahdd8YeyJybJXZzz-lDoMi202Sv5UFJa0oGGmMiYcA,4854
|
6
|
+
mls_parser/layout_visitor.py,sha256=SjoeKKsLbtZ3xYYzgyJhBe4fJgnuRpj-M33AfG8eNoI,17994
|
7
|
+
mls_parser/log.conf,sha256=EL_8Pn8A7gz1IV_AODmgtQdBsOREtmhaoomIuAxMSLk,867
|
8
|
+
mls_parser-0.0.5.dist-info/LICENSE,sha256=kL0xVrwl2i3Pk9mQXAVAPANCTaLGGOsoXgvqW7TBs20,1072
|
9
|
+
mls_parser-0.0.5.dist-info/METADATA,sha256=arTosYQedVVy2qO5_oIkHZ8Ja8XeZPaUGVszfSJVYfw,4032
|
10
|
+
mls_parser-0.0.5.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
11
|
+
mls_parser-0.0.5.dist-info/entry_points.txt,sha256=HsIgu1_OJw84-8oMi7zGKznq7oQgpviMC_HL46vsjVo,49
|
12
|
+
mls_parser-0.0.5.dist-info/top_level.txt,sha256=s_pWxPSrMvumqwFDqPVWrajhZO2giOrZg9acHgn6h8Q,11
|
13
|
+
mls_parser-0.0.5.dist-info/RECORD,,
|
@@ -1,13 +0,0 @@
|
|
1
|
-
mls_parser/__init__.py,sha256=bhi15cb3KVl9tPnATerbyVFoGUNgqJ4lEa48yJbRVCY,18
|
2
|
-
mls_parser/__main__.py,sha256=NkowelWxc7cc6HRmcRRcWMdMShy0nKC4uO4Rm9EuB-g,1877
|
3
|
-
mls_parser/exceptions.py,sha256=hJx2OZPTEFOS4RqZJfH0meqV4ZzH7iBP7O9fXLV_McI,3059
|
4
|
-
mls_parser/layout.peg,sha256=BBAeHYR5hBgThUtCej5FmiphI3DlV_1kGJh4NgvnFLo,6019
|
5
|
-
mls_parser/layout_parser.py,sha256=fahdd8YeyJybJXZzz-lDoMi202Sv5UFJa0oGGmMiYcA,4854
|
6
|
-
mls_parser/layout_visitor.py,sha256=fyqYFn__UfaZWZa2rfBTJfEVscadDT5MXw9TU8bX3_Q,17996
|
7
|
-
mls_parser/log.conf,sha256=EL_8Pn8A7gz1IV_AODmgtQdBsOREtmhaoomIuAxMSLk,867
|
8
|
-
mls_parser-0.0.4.dist-info/LICENSE,sha256=kL0xVrwl2i3Pk9mQXAVAPANCTaLGGOsoXgvqW7TBs20,1072
|
9
|
-
mls_parser-0.0.4.dist-info/METADATA,sha256=-EqHIKUGtxXtzRDagMYi8t0BexNoN_81232GBcY7AIU,4032
|
10
|
-
mls_parser-0.0.4.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
11
|
-
mls_parser-0.0.4.dist-info/entry_points.txt,sha256=HsIgu1_OJw84-8oMi7zGKznq7oQgpviMC_HL46vsjVo,49
|
12
|
-
mls_parser-0.0.4.dist-info/top_level.txt,sha256=s_pWxPSrMvumqwFDqPVWrajhZO2giOrZg9acHgn6h8Q,11
|
13
|
-
mls_parser-0.0.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|