MCPcopy Index your code
hub / github.com/webpy/webpy / parse

Method parse

web/db.py:1597–1601  ·  view source on GitHub ↗

Parses the given text and returns a parse tree.

(self, text)

Source from the content-addressed store, hash-verified

1595 self.text = ""
1596
1597 def parse(self, text):
1598 """Parses the given text and returns a parse tree."""
1599 self.reset()
1600 self.text = text
1601 return self.parse_all()
1602
1603 def parse_all(self):
1604 while True:

Callers 2

fFunction · 0.95
safeevalMethod · 0.45

Calls 2

resetMethod · 0.95
parse_allMethod · 0.95

Tested by

no test coverage detected