MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / EvalExp

Method EvalExp

tests/external/gmock-1.7.0/gtest/scripts/pump.py:622–630  ·  view source on GitHub ↗
(self, exp)

Source from the content-addressed store, hash-verified

620 sys.exit(1)
621
622 def EvalExp(self, exp):
623 try:
624 result = eval(exp.python_exp)
625 except Exception, e:
626 print 'ERROR: caught exception %s: %s' % (e.__class__.__name__, e)
627 print ('ERROR: failed to evaluate meta expression %s at %s' %
628 (exp.python_exp, exp.token.start))
629 sys.exit(1)
630 return result
631
632 def GetRange(self, identifier):
633 for (var, lower, upper) in self.ranges:

Callers 1

RunAtomicCodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected