MCPcopy Create free account
hub / github.com/Distrotech/reportlab / ceval

Method ceval

tools/pythonpoint/stdparser.py:226–239  ·  view source on GitHub ↗
(self,tag,args,name)

Source from the content-addressed store, hash-verified

224 return v
225
226 def ceval(self,tag,args,name):
227 if args.has_key(name):
228 v = args[name]
229 else:
230 if self.attributes.has_key(tag):
231 v = self.attributes[tag][name]
232 else:
233 return None
234
235 # handle named colors (names from reportlab.lib.colors)
236 if name in ('color', 'stroke', 'fill'):
237 v = str(pythonpoint.checkColor(v))
238
239 return eval(v)
240
241 def getPresentation(self):
242 return self._curPres

Callers 13

start_slideMethod · 0.95
start_frameMethod · 0.95
pack_slideMethod · 0.95
start_imageMethod · 0.95
start_tableMethod · 0.95
start_fixedimageMethod · 0.95
start_rectangleMethod · 0.95
start_roundrectMethod · 0.95
start_lineMethod · 0.95
start_ellipseMethod · 0.95
start_polygonMethod · 0.95
start_stringMethod · 0.95

Calls 1

has_keyMethod · 0.45

Tested by

no test coverage detected