def add_offset_by_terms(self, termsToOffset):

        for ex in self.walk():
            if isinstance(ex, UnnamedAttributeRef):
                offset = termsToOffset[ex.myTerm]
                LOG.debug("adding offset %s to %s", offset, ex)
                ex.position += offset
Add a constant offset to every positional reference in this tree
dataset/ETHPy150Open uwescience/raco/raco/expression/expression.py/Expression.add_offset_by_terms