code: def resolve(self, lineno):
          
          if not self.defined:
              error(lineno, "Undeclared label '%s'" % self.name)
  
          if isinstance(self.value, Expr):
              return self.value.eval()
  
          return self.value
docs: Evaluates label value. Exits with error (unresolved) if value is none