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

Method XMLEncode

Singular/dyn_modules/openmath/objects.py:229–231  ·  view source on GitHub ↗

FIXME: maybe it should also be able to encode as reference

(self, context)

Source from the content-addressed store, hash-verified

227 def evaluate(self, context):
228 return context.evaluate(self.ref)
229 def XMLEncode(self, context):
230 "FIXME: maybe it should also be able to encode as reference"
231 return context.XMLEncodeObject(self.ref)
232
233class OMATTR(object):
234 def __init__(self, *args):

Callers 3

XMLEncodeObjectMethod · 0.80
xmlencodetest.pyFile · 0.80
objects.pyFile · 0.80

Calls 1

XMLEncodeObjectMethod · 0.80

Tested by

no test coverage detected