MCPcopy Create free account
hub / github.com/Singular/Singular / evaluateVariable

Method evaluateVariable

Singular/dyn_modules/openmath/context.py:54–58  ·  view source on GitHub ↗
(self, omv)

Source from the content-addressed store, hash-verified

52 #TODO log this, report it
53 return oms
54 def evaluateVariable(self, omv):
55 try:
56 return self[omv.name]
57 except OutOfScopeError:
58 return omv
59 def evaluateApplication(self, app):
60 efunc = self.evaluate(app.func)
61 eargs = [self.evaluate(a) for a in app.args]

Callers 3

evaluateMethod · 0.95
tester.pyFile · 0.80
objects.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected