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

Method parse

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

Source from the content-addressed store, hash-verified

289 return getattr(self, name)(node)
290
291 def parse(self, code):
292 res = asttokens.ASTTokens(code, parse=True)
293 return res, res.tree
294
295 # add methods for retrieving parser outputs --------------------------
296 def _getx(self, Parser, ext_attr, tree):

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected