MCPcopy Index your code
hub / github.com/datacamp/pythonwhat / parse_internal

Method parse_internal

pythonwhat/State.py:247–253  ·  view source on GitHub ↗
(self, code)

Source from the content-addressed store, hash-verified

245 return res
246
247 def parse_internal(self, code):
248 try:
249 return self.ast_dispatcher.parse(code)
250 except Exception as e:
251 self.report(
252 "Something went wrong when parsing the solution code: %s" % str(e)
253 )
254
255 def parse(self, text):
256 if self.debug:

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected