10 import match as matchmod |
10 import match as matchmod |
11 from i18n import _ |
11 from i18n import _ |
12 |
12 |
13 elements = { |
13 elements = { |
14 "(": (20, ("group", 1, ")"), ("func", 1, ")")), |
14 "(": (20, ("group", 1, ")"), ("func", 1, ")")), |
15 "-": (19, ("negate", 19), ("minus", 19)), |
15 "-": (5, ("negate", 19), ("minus", 5)), |
16 "::": (17, ("dagrangepre", 17), ("dagrange", 17), |
16 "::": (17, ("dagrangepre", 17), ("dagrange", 17), |
17 ("dagrangepost", 17)), |
17 ("dagrangepost", 17)), |
18 "..": (17, ("dagrangepre", 17), ("dagrange", 17), |
18 "..": (17, ("dagrangepre", 17), ("dagrange", 17), |
19 ("dagrangepost", 17)), |
19 ("dagrangepost", 17)), |
20 ":": (15, ("rangepre", 15), ("range", 15), ("rangepost", 15)), |
20 ":": (15, ("rangepre", 15), ("range", 15), ("rangepost", 15)), |