We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95c18a8 commit e5f7d76Copy full SHA for e5f7d76
1 file changed
src/symbols/id_/ref/arrayref.py
@@ -62,10 +62,14 @@ def t(self):
62
return "$" + self._t # Local string variables (and parameters) use '$' (see backend)
63
64
@property
65
- def bounds(self):
+ def bounds(self) -> SymbolBOUNDLIST:
66
return self.parent.children[0]
67
68
@bounds.setter
69
def bounds(self, value: SymbolBOUNDLIST):
70
assert isinstance(value, SymbolBOUNDLIST)
71
self.parent.children = [value]
72
+
73
+ @property
74
+ def is_zero_based(self) -> bool:
75
+ return all(bound.lower == 0 for bound in self.bounds)
0 commit comments