code: def constant_tuples(self):
          
          return [constant_tuple for tuple_prior in self.tuple_prior_tuples for constant_tuple in
                  tuple_prior[1].constant_tuples] + self.direct_constant_tuples
docs: Returns
          -------
          constants: [(String, Constant)]